Is there any easy way to sync bundles/settings (like keyboard shortcuts for
commands) across computers with Dropbox?
If not, this would be a great feature to add.
Henry
So, just finished the first draft of my novel. TextMate was the editor
of choice this time, and things went wonderfully. I liked the
find/replace in project, which allowed me to use variables until I
could think of the name for something. :-) (I used a Ruby gem I
modified to convert Markdown to LaTeX and then compiled into PDF. Also
can independently convert the Markdown to epub. :-) I love geekness.
You may not remember that a while back I needed some rather odd text
competions (" => ``TM_SELECTED_TEXT$0"). The only problem is now it
appears everywhere! That is, when I use TM to edit anything, the
single double quote expands out. I don't need it except for Markdown
(.md) files.
Anybody know how? Or, at least point me in the right direction?
TIA.
--
Ben Wilson
"We cannot determine the character or nature of a system within
itself. Efforts to do so will only generate confusion and disorder."
Boyd
Along with my recent experience with the "jumping gutter", I now am getting the left side of my document getting cut off from time to time.
http://cl.ly/2J2b1h1n2Y3x0G121u3P
Manual resizing takes care of it, but its not clear why this is cropping up all of a sudden. I did not notice any of these UI issues before the last update. Was a bug introduced?
cf
Hi,
I am working on the language grammar of my bundle and I am running into
problems for the following case:
Given:
=====
Heading
=====
I want to be able to assign a style to the over and underlines and another
style to the Heading part.
- "Heading" can be any character (but is always on one line).
- The over line is not required and is usually used to indicate the highest
level of a heading (but it can be left out completely).
Characters for the over/under lines can be any non alphabet letter but
usually one of the following is used:
.,-=+~*"'´|
The goal is to at least be able to style the "Heading" text and to include
the "Heading" in the symbol list.
Also this is used at the top scope definition level so that I can chop up
the text into heading sections and text body sections.
I would therefore include repository rules for heading sections and other
repository rules for the text body sections.
Because TextMate can't handle multiline regexes I found this problem to be
unusually hard.
I am also unclear on questions of order within the top level scope
definition.
If two grammar patterns apply to one text section equally which one is used?
e.g. if I have a patterns array in the top level:
patterns = (
rule1 = { name = 'scope1', match = ... };
rule2 = { name = 'scope2', match = ... };
)
and both apply equally to some text is rule1 used and then overwritten by
rule2 so that the text is under scope 'scope2' ?
The help seems to discuss ambiguities like this for theme scope selectors
but not for language grammars.
I am also unclear how you can make a regex backreference from an end pattern
to a capture group in begin pattern or vice versa. (below I assume it is
backslash-1 but I'm not sure).
Also is it possible to define rules for one scope, rules for another and
then say everything else is some third scope without needing to define match
rules?
Here's what I have so far:
{ scopeName = 'source.sphinx.doc';
fileTypes = ( 'rst', 'rest', 'txt' );
patterns = (
{ contentName = 'meta.doctitle.sphinx';
begin = '^((?:=|\-|_|~|`|#|"|\^|\+|\*){3,})$';
end = '^(\1)$';
beginCaptures = { 0 = { name = 'markup.doctitle.overline.sphinx'; }; };
endCaptures = { 0 = { name = 'markup.doctitle.underline.sphinx'; }; };
},
{ name = 'meta.heading.sphinx';
begin = '^([A-Za-z][^\n]+)$';
end = '^(=|\-|_|~|`|#|"|\^|\+|\*{3,})$';
beginCaptures = { 0 = { name = 'markup.heading.sphinx'; }; };
endCaptures = { 0 = { name = 'markup.heading.underline.sphinx'; }; };
},
{ contentName = 'meta.paragraph.restructuredtext';
begin = '^(?!=|-|~|`|#|"|\^|\+|\*)([ \t]*)(?=\S)';
end = '^(?!\1(?=\S))';
},
);
};
meta.heading.sphinx is used for
Heading
---------
and meta.doctitle.sphinx should be used for the over/under line Heading
case.
A meta.paragraph should then capture everything that isn't meta.heading or
meta.doctitle but this has proved problematic to say the least.
I would appreciate it if anyone could share a trick to make this possible or
an answer if this is even possible at the moment or not.
Thank you very much for reading!
Andre
--
View this message in context: http://old.nabble.com/Language-Grammar-Problem-tp30491202p30491202.html
Sent from the textmate users mailing list archive at Nabble.com.
I'm partially blind, and constantly find myself squinting and
straining to see what I'm selecting in the project window (Which is
one of TM's strengths IMO).
I've tried using
http://headfirstproductions.ca/modifying-textmate-drawer-font-size/ ,
but my lack of familiarity with IB and XCode has left me unable to
actually make this work reliably.
I would pay another $20-30 for this one feature alone.
-Chris
--
Christopher Patti - Geek At Large | GTalk: cpatti(a)gmail.com | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar
Hello,
I have looked at the TextMate wiki page and in the GitHub project page
and haven't been able to found this.
Is it there any bundle to provide, at least, syntax highlighting for
the wiki format used by Google Code? In particular, the format
described here:
http://code.google.com/p/support/wiki/WikiSyntax
Thanks!
--
Julio Merino
what is the format to view the archives.
I did download a archive, thinking i could "just open it" in Textmate.
The default of txt was appended and when it did open it was gibberish
encoding.
thank you
while debugging some javascript i have come to see that TexMate has an issue
with the CSS selector, border-width written in Javascript as
style.borderWidth
If i write style.backgroundColor, it will show in color green in Textmate.
I have retained the TextMate default color scheme in preferences/fonts
colors/Mac classic.
when i write style.borderWidth it stays black as if it were a variable.
I would assume the Browser compiler or interpreter engine ? would accept the
Javascript script as is, and that TextMate would not be adding any encoding
to its interpretation of the script while showing style.borderWidth as
invalid.
i am learning javascript from a book and the author is not ordained by thy
holy one and this script works to some degree, yet is off balance, this is
what i am working on.
<!--
/*
<code>
var d1 = document.getElementById("div1");
var d2 = document.getElementById("div2");
d1.onmouseover = function()
{
d1.style.backgroundColor = "00ff00";
d2.style.borderWidth = "7px";
};
d1.onmouseout = function()
{
d1.style.backgroundColor = "#ffffff";
d2.style.borderWidth = "1px";
};
</code>
*/
-->
I have composed this message offline going over the message many times to
see that it is concise and to the point, forgive me if it is long winded and
confusing.
Thank you
A rather annoying behavior has cropped up recently for me in TextMate. Periodically, the gutter will "jump", getting wider and narrower over and over again. Its probably easiest to just show a video:
https://www.me.com/gallery/#100103/iShowU-Capture2
Why is this happening, and how can I stop it?
Thanks,
cf
Hi everyone -
I'm having a weird problem with LaTeX/BibTeX cite key autocompletion.
My bib file is in the appropriate place in the user texmf tree, and
BibTeX finds it when I compile the document... but cite key
autocompletion does not work ("bib file not found" or something like
that). Cite key autocompletion DOES work if I put the same bib file
in the same directory as the TeX file itself.
Thoughts? Any help would be greatly appreciated.
Thanks!
Best, Chris MacMinn
Made a disappointing discovery today.
Wrote documentation with markdown and created a custom preview theme especially for this documentation.
Then tried to print it (to a PDF ofc ^^) and the default theme was used, even though the preview was currently
showing my text with my own theme.
Is this an easy fix? Would be a cool feature!
/ Simon
Hi there!
I have a simple, surely often asked question. Please don´t "RTFM!" me, I really did search and google for that.
So here is my problem: We develop in Perl with textmate. We have two functions in our framework, called "breakpoint" and "debug". Those are marked with yellow background and black font. Unfortunately, the developers who know how to adjust textmate correctly, are all gone (they´re not dead, just quit!). I got a new machine and am trying desperately to set the highlighting of those two words eversince.
During my crusade I also discovered that we have a customized language declaration for Perl under "Bundles/Bundle Editor/Edit Languages/Perl". I put that one on my new machine, but it doesn´t do the trick.
Here are two screenshots which show how it looks on the old machine and the setting ("perl.control") that I suspect being responsible for that:
http://www.dreamway.com/screen1.pnghttp://www.dreamway.com/screen2.png
Thanks for your help!
Hey all,
I am using TextMate to tex a lot of stuff and I love the pdfsync feature with Skim.
Since this afternoon, the sync stopped working :(I reinstalled Skim and TextMate after deleting them (including Lib/App Support stuff and Caches), but I still get an error at the end of the typesetting run:
sh: /var/folders/My/My9skQrnFpON8oDbZaiRXk+++TI/-Tmp-/Skim: No such file or directory
That should be related to the problem, but I can't figure it out. So, any hints or suggestions?
Thanks a lot!
Best regards,
Andreas
Have you tried using enter in prefference to return?
I think this depends on the bundle you're useing but using enter (⌅), which
is fn-return(⏎) on my Macbook Pro will insert a new line with same indenting
as the current line. In the ruby bundle this will also continue comments
and other things.
Cheers,
Sean.
kartik.thapar wrote:
>
> I am new to textmate. I absolutely don't require indentation rules when
> using if/switch/case, etc.
>
> I want a very simple indentation rule which makes the next lines's indent
> same as previous line's indent.
>
> for eg.
>
> sub foo
> { <- 0 indent
> my $str = "string"; <- manual indent
> # <- auto indent (*)
> } <- manual indent
>
> I am looking for auto indent as described above. Any one know how to do
> this?
>
--
View this message in context: http://old.nabble.com/Next-line-indentation-tp30308903p30366710.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Is it normal behaviour that the Web Preview window closes when you switch to
another file in the project? Or is this a known bug?
The preview window can hardly be useful if this behaviour is the expected
behaviour?
I am working on some Sphinx doc files and whenever I switch to a .rst file
to run my build pipeline the preview of the HTML file I am interested in
closes. It would be really awesome if it could stay open somehow so that I
would be able to take advantage of the auto-refresh behaviour. Is there a
setting I can switch on or maybe some other workaround?
Thanks for reading!
André
PS: when searching I found numerous posts mentioning two web previews - I
can only assume that one is meant to be the Show as HTML output Command
option and the other the Show Web Preview Window menu action. Just to be
clear I am talking about the latter.
--
View this message in context: http://old.nabble.com/Show-Web-Preview-window-closes-on-file-change-tp30366…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I did update the Subversion bundle from http://svn.textmate.org/trunk/Bundles/Subversion.tmbundle . The last commit was to remove TM_RUBY. I didn't follow the list about that issue but it seems that inside the command "Update to Newest" ruby code the variable #{ruby} isn't set correctly.
...
ruby -r "$TM_SUPPORT_PATH/lib/shelltokenize.rb" <<END
svn = ENV['TM_SVN'] || "svn"
support = ENV['TM_BUNDLE_SUPPORT']
paths = TextMate.selected_paths_array
# TODO: Ideally, we'd like to use a tooltip for one and not others, but we can't switch from a tooltip
# to dynamic HTML output (or maybe we could double-fork a process?)
# if ((paths.size == 1) and not (File.directory? paths[0]))
# puts %x{#{svn} update #{TextMate.selected_paths_for_shell}}
# else
update = IO.popen("'#{svn}' update #{TextMate.selected_paths_for_shell}", 'r')
format = IO.popen("'#{ruby}' -- '#{support}/format_status.rb'", 'w')
update.each_line { |line| format.puts(line) }
# end
END
...
look at line :
format = IO.popen("'#{ruby}' -- '#{support}/format_status.rb'", 'w')
If I change it to:
format = IO.popen("ruby -- '#{support}/format_status.rb'", 'w')
everything works fine.
Did I miss something?
Thanks a lot in advance,
--Hans
Hi all,
A quick search of both Google and this lists' archive didn't solve this for me so I am wondering if anyone here has an idea.
I use RVM and Textmate. I followed the instructions at:
http://rvm.beginrescueend.com/integration/textmate/
(including moving the builder.rb in /Applications/TextMate.app/Contents/SharedSupport/Support/lib/)
However, I still get "env: ruby: No such file or directory" from Textmate. Using env from the command line works fine:
mbpatrick:~ patrick$ /usr/bin/env ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]
mbpatrick:~ patrick$ sudo ln -s /usr/bin/env /usr/local/bin/env
Password:
mbpatrick:~ patrick$ /usr/local/bin/env ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]
And my textmate_ruby script works fine:
mbpatrick:~ patrick$ /Users/patrick/.rvm/bin/textmate_ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]
mbpatrick:~ patrick$
My shell variables in Textmate:
TM_RUBY /Users/patrick/.rvm/bin/textmate_ruby
PATH /usr/bin:/bin:/usr/sbin:/sbin
I've quit Textmate and restarted, quit shells and restarted, I've tried putting /Users/patrick/.rvm/bin in my PATH (in TextMate), I've tried putting /Users/patrick/.rvm/rubies/ruby-1.8.6-p399/bin/ in my PATH (in Textmate), I updated Textmate and all it's bundles to the newest versions, nothing seems to work.
I am curious why TextMate is using env at all given that TM_RUBY is set...
Anyone have any ideas? Would appreciate any help.
Patrick
Dear all,
I've just updated the GetBundles Bundle and the script which runs once a day to cache and provide all information. The problem was that github did change its URLs and API again. Maybe for the future to avoid such instances we could maintain a list of all github hosted bundles in a github repository ( only an idea :) .
@Shawn Parker
I was able to install your WordPress bundle by using GetBundles version 1.4 :)
All the best,
--Hans
Hello:
Is there a way for me to configure my computer so that using "Quick Look" with a TextMate-associated file actually does a "quick look"?
I have some of my source files types associated with TextMate, say "*.asm", and they show up with the TextMate icon, but when I try "Quick Look," all I get is the file information.
Thank you,
dZ.
So, one shortcut I use frequently in HTML is 'ctrl+shift+w'. However,
recently it has started giving me the expected p tag, as well as a large
body of css that I once copied to the clipboard and, i assume, then hit some
other crazy combination of keys to copy it to the 'ctrl+shift+w command'.
Any ideas how to fix this??
Thanks!
--
Zac Parker
zac(a)zacparker.com
http://www.zacparker.com
Hi,
After upgrading to Snow Leoperd, the shortcut Shift-Cmd- Left (or
Right) Arrow, that would select a part of the line, stopped working.
How can I fix this?
I want to be able to execute a multi-line SQL statement by placing the cursor anywhere in the statement OR immediately following the ending statement semi-colon. With the grammar fragment below everything seems to work fine except for the case where two statements are on consecutive lines:
select 1;
select 2;
In this case, both statements are executed because it looks like a single consecutive scope. I have tried various things, but I can't seem to find the right regular expression magic to only execute the statement to the left of the semi-colon.
{ name = 'meta.statement.pgsql';
begin = '(?i)^(abort|alter|analyze|begin....)';
end = ';\s*';
beginCaptures = { 0 = { name = 'keyword.other.pgsql'; }; };
patterns = (
{ include = '#dollar_quotes'; },
{ include = '#comments'; },
{ include = '#strings'; },
{ include = '#keywords'; },
{ include = '#misc'; },
);
},
Thanks for any help or suggestions.
John DeSoi, Ph.D.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello
I recently discover that in the latest build of textmate when I have my latex project and insert TODO element
after invokikng control shift T it presents mi a TODO window with nothing shown.
on single file with latex everything is working.
I am using in my project one main document file and several others tex files included in main.
Anyone can confirm this strange behaviour?
Regards
Sebastian Szwarc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
iEYEARECAAYFAkz0FQkACgkQrcTqu+KxYfeKeQCgxqhB9n3zwtSqpfd+lrlr97po
SPgAoJ51yu6Hb37PzUMelfxthZ6qZ1Mp
=0F6H
-----END PGP SIGNATURE-----
On Sun, Nov 28, 2010 at 8:19 PM, Stephen Bannasch
<stephen.bannasch(a)deanbrook.org> wrote:
> I often end up with a large number of untitled files that I sequence through
> when I am done working. Some I save but many I just review and close. It
> would be great to have a keyboard shortcut for the "Don't Save" option in
> dialogs like this:
>
> Do you want to save the changes you made in
> the document "untitled 25"?"
>
> "Don't Save" "Cance;" "Save"
>
> Very occasionally I have also lost access to the mouse while having many
> windows open. These windows consist of some that need to be saved and some
> that should just be discarded. When I do not have access to the mouse I have
> to save EVERY window in order to complete an orderly Quit of Textmate. A
> keyboard shortcut for "Don't Save" would be particularly useful here.
Textmate follows the OS X standard, you have two options,
First command-d will select Don't Save, this works in most OS X apps.
The other option may require that you have keyboard navigation turned
on (in they system preferences), in this case dialog buttons
surrounded by a blue ring are selected when you hit space, for my
installation TM defaults to having 'Don't Save' as the secondary
default (there's probably a better name).
HTH
Peter
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
I often end up with a large number of untitled files that I sequence through when I am done working. Some I save but many I
just review and close. It would be great to have a keyboard shortcut for the "Don't Save" option in dialogs like this:
Do you want to save the changes you made in
the document "untitled 25"?"
"Don't Save" "Cance;" "Save"
Very occasionally I have also lost access to the mouse while having many windows open. These windows consist of some that need
to be saved and some that should just be discarded. When I do not have access to the mouse I have to save EVERY window in order
to complete an orderly Quit of Textmate. A keyboard shortcut for "Don't Save" would be particularly useful here.
Hi,
I noticed that the font in the output window has been changed. The font
family used to be Monaco but at some point in the last week or so it became
Luxi Mono. I am not sure if it's because of the 2 TextMate updates or not,
as I don't run stuff to the output window everyday.
After some googling I realized that it could be set by changing your output
theme. This is not without some effort and I thought I would throw this out
and see if anyone else is seeing the same thing...
Thanks all!
The scanf function in the C bundle of textmate does not appear to be working. I find myself unable to feed any input to any program that i write.
Arun Vijayshankar
Since the last update a few days ago, I cant create new files from within TM
by right click on folder. It allows me to input into the dialog box and
select type, but clocks and just disappears. many times I have to force
quit.
This is happening on two machines, both snow leopard , and latest build of
TM.
Please, any ideas? I have completely removed and reinstalled several times.
--
View this message in context: http://old.nabble.com/Clocks-when-creating-new-file-tp30239160p30239160.html
Sent from the textmate users mailing list archive at Nabble.com.
I've got a code base that's been created in created using the whitesmith indented brace style.
Does anybody have a sets of ident rules that handle it. I'm new to textmate and still groping around
Thanks,
Gary
I hardly use the project drawer. I always us ctrl-t to search for the file name I want. It's far faster when you know what you are looking for.
Josh Powell
Hi,
This is what I get when updating or installing a bundle hosted on GitHub.
11/22/2010 23:35:41 TextMate[GetBundles]
Installing “Ruby”
11/22/2010 23:35:42 TextMate[GetBundles]
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
Installing/updating bundles from the official repo works fine.
Here is the result of "Check Requirements":
“svn” client found in: /usr/bin/svn svn, version 1.6.5 (r38866)
“TM_SVN” set to:
“unzip” found in: /usr/bin/unzip
“tar” found in: /usr/bin/tar
“ruby”: ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
“ping textmate.org”:
PING textmate.org (178.79.137.125): 56 data bytes 64 bytes from
178.79.137.125: icmp_seq=0 ttl=55 time=27.026 ms
“ping github”:
PING github.com (207.97.227.239): 56 data bytes 64 bytes from 207.97.227.239:
icmp_seq=0 ttl=54 time=107.941 ms
OS X 10.6.5 (Intel)
Ideas welcome, thanks.
--
FredB
Hi all,
when writing tex files, all the sections marked with \section{} are shown in that kind of "pop up menu" on the bottom right of the TM window.
Is there a way to mark certain lines in a Plain Text file, so that they will be shown in the same way?
Thanks in advance
--
Christian
-It's better to be a pirate than to join the Navy.-
John Sculley and John A. Byrne, 1987
Definitely the theme for the weekend...found another missing key binding.
In a project, when you right-click in the project drawer, there is the option to create a new folder. Up until now, this has the shortcut Command-Control-G listed next to it. This would only work if you initially right-clicked, then pressed the shortcut, but it appears that this binding has been a victim of the recent update as well.
Any way to get it back through editing the key bindings file? Or another solution?
Thanks,
+dru
Hi All,
I'm a new user trying to figure out a good pipeline for R/Latek/Sweave.
Works great for me, except it crashes TextMate after rendering the PDF!
Lots of information below and attached. It seems like a TextMate problem
(and I've sent off a bug report) but thought someone here might have some
insight.
Any thoughts?
Thanks!Alex
PS: I noticed a spam ad for payday loans on the wiki, so I deleted it. If
any of you guys need payday loans, I apologize!
*Reproduce:*
- Install TextMate,R,Latek,R/Latek/Sweave bundles
- Use TextMate to render Example.Rnw (below).
- TextMate does an admirable job, producing the correct PDF.
- After this, the PDF window shows a spinning cursor in the top-right, and
crashes after ~10s.
Both TextMate and the PDF window respond normally during this time. Crash
occurs even if I close the PDF window!
*Attached for diagnostics:*
Crash log:
Crash Report.txt
Sample of TextMate process from just before executing Example.Rnw until
after the crash:
Exited process_6469.FdDN5T.sample
Console Errors
11/19/10 2:24:40 PM defaults[6774] The domain/default pair of
(com.macromates.textmate.webpreview, SelectedTheme) does not exist
11/19/10 2:25:09 PM com.apple.launchd.peruser.1987805519[4483]
([0x0-0x94094].com.macromates.textmate[6629])
Job appears to have crashed: Segmentation fault
*Example .Rnw file from the Sweave manual*
from:
http://cran.r-project.org/web/packages/pgfSweave/vignettes/pgfSweave.pdf
\documentclass[a4paper]{article}
\title{Sweave Example 1}
\author{Friedrich Leisch}
\begin{document}
\maketitle
In this example we embed parts of the examples from the
\texttt{kruskal.test} help page into a \LaTeX{} document:
<<>>=
data(airquality)
kruskal.test(Ozone ~ Month, data = airquality)
@
which shows that the location parameter of the Ozone distribution varies
significantly from month to month. Finally we include a boxplot of the data:
\begin{center}
<<fig=TRUE ,echo=FALSE >>=
boxplot(Ozone ~ Month, data = airquality)
@
\end{center}
\end{document}
*>> note: delete library(ctest) from the original example to run.*
*My installation (all of this as of 10.11.19)*
- Installed: "R version 2.12.0 (2010-10-15)"
- MacTex basic from
http://mirror.unl.edu/ctan/systems/mac/mactex/mactex-basic.pkg.zip
- TexMate from : http://download.macromates.com/TextMate_1.5.10.zip
- Installed R,Latex,and Sweave bundles as per:
http://www.r-bloggers.com/setting-up-textmate-to-use-r/, ie.,
mkdir -p /Library/Application\ Support/TextMate/Bundles
cd /Library/Application\ Support/TextMate/Bundles
svn co http://svn.textmate.org/trunk/Bundles/R.tmbundle
svn co http://svn.textmate.org/trunk/Bundles/Latex.tmbundle
svn co http://svn.textmate.org/trunk/Bundles/SWeave.tmbundle
- Got around the Sweave.sty problem by
mkdir -p ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
ln -s /Library/Frameworks/R.framework/Resources/share/texmf Sweave
... as per somewhere.
---
Alex Vaughan
HHMI, Janelia Farm Research Center
Dept. of Biology, Stanford University
Email :: avaughan(a)stanford.edu
Phone :: 510 717 6010
---
If you have a file that starts like
%!TEX TS-program = /usr/bin/env TEXINPUTS=./Macros:./Figures::
pdflatex
You get an error when you compile. The offending line in texMate.py is
stat = os.system('type '+engine+' > /dev/null')
which doesn't seem particularly useful anyway, but could easily be fixed
(and I have in my copy!) by doing something like:
stat = os.system('type '+ engine.split()[0] +' > /dev/null')
A more meta question is whether this hack is a good idea, since it defeats
the kpsewhich checks in files included in ./Macros. I use it mostly because
the other place to put all this would be in a TM project, making it hard to
collaborate with TeXShop users. Does anybody have a better idea?
^L
--
Louis Theran
Research Assistant Professor
Math Department, Temple University
http://math.temple.edu/~theran/
+1.215.204.3974
Hi,
I have configured Textmate to display the results of my Groovy scripts as a
tooltip (as opposed to displaying them in a separate popup window). The
problem I have as that I need to first save the script before I can run it
and view the results as a tooltip (otherwise the results of the saved script
gets returned). Is there a way to configure Textmate so I can display the
results as a tooltip without having to first save my script?
Thanks,
Jeff
Sorry for the off-topic.
But the unsubscribe and change password options up at
http://lists.macromates.com/listinfo/textmate do not work. They say that a
confirmation mail has been sent, but it never arrives. I cannot for the
life of me remember my password, so I'm stuck.
Any help is appreciated.
Chris G.
On 19 November 2010 03:14, <textmate-request(a)lists.macromates.com> wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: How to Handle Odd Quotes (Ben Wilson)
> 2. My dearest wish for TextMate, present or future :) -
> resizable project window fonts (Chris Patti)
> 3. setMark and swapWithMark (Bastien Dejean)
> 4. Re: ppc? (Tony Dew)
> 5. Re: 1.5.10 (1616) Ruby command-R broken again (Peter Wilkins)
> 6. Perl regexp highlighting errors (Karel B?lek)
> 7. Re: Crashing more then usual? (Luke Daley)
> 8. Re: Crashing more then usual? (Joshua Kehn)
> 9. Systematic Help Menu Crash (Bastien Dejean)
> 10. Re: My dearest wish for TextMate, present or future :) -
> resizable project window fonts (Dave Baldwin)
> 11. Re: Turning on comments after update (Karel B?lek)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 18 Nov 2010 12:10:33 -0500
> From: Ben Wilson <dausha(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: How to Handle Odd Quotes
> Message-ID:
> <AANLkTin_o-6tJKPJy95uZRbazsn2WzyfDptbjvAkaZ-A(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks. I'll give that a go.
>
> I did get something to work; but I expect it to be messy. I added a
> snippet that turns a single double quote (one double quote) and
> expands to ``". This is working with my novel writing.
>
> I'm writing in Markdown...but I wrote a Ruby gem that provides rake
> commands that converts the Markdown into LaTeX, then compiles using
> pdflatex. I'm in NaNoWriMo, and agumenting my rake tasks as
> appropriate, and will later improve the gem then create a bundle that
> implements those tasks. I'm happy in the terminal world (CLI and vim);
> though TextMate is a close 2d.
>
> I have to say, though, when I occasionally switch to vim, I'm reminded
> why it's been my preferred editor for a decade. This is not a
> detraction to TextMate. They say to become an expert you need to spend
> 10,000+ hours practicing/using. Assuming 1/2 my professional time was
> in vim, that's just about 10,000 hours; but then I have countless
> weekends pounding away. So, I'll say I have around 15,000 hours in
> vim, and probably 200 in TextMate. And, I know it's not fair to
> compare with that much of a skill discrepancy.
>
> On Mon, Nov 15, 2010 at 11:57 AM, Justin Catterall
> <100621.1(a)masonsmusic.co.uk> wrote:
> >
> > On 11 Nov 2010, at 18:37, Ben Wilson wrote:
> >
> >> Thanks. I started by turning off the "Auto-Pair characters" in
> >> Preferences. I'm writing a novel and am using ``dialog" to demark
> >> dialog. So, I guess the next thing is a snippet...
> >
> > You're not writing it in LaTeX are you? That uses the same quoting
> method,
> > though I do have to hit ` twice to get ``'' and the cursor between.
> >
> > You might want to create your own bundle and dig those quotes out of
> either
> > the LaTeX or TeX bundles and add them to yours.
> >
> > Looking further, it your document type is LaTeX and you hit Ctrl+` that
> > wraps a selection in double quotes. Some interesting stuff in there.
> >
> > --
> > Justin C, by the sea.
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
>
>
>
> --
> Ben Wilson
> "We cannot determine the character or nature of a system within
> itself. Efforts to do so will only generate confusion and disorder."
> Boyd
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 18 Nov 2010 14:24:20 -0500
> From: Chris Patti <cpatti(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] My dearest wish for TextMate, present or future :) -
> resizable project window fonts
> Message-ID:
> <AANLkTim3eLdNJCpXkinW1u3m8PY39-Joctkn+Pi4dxCP(a)mail.gmail.com<AANLkTim3eLdNJCpXkinW1u3m8PY39-Joctkn%2BPi4dxCP(a)mail.gmail.com>
> >
> Content-Type: text/plain; charset=UTF-8
>
> I'm partially blind, and constantly find myself squinting and
> straining to see what I'm selecting in the project window (Which is
> one of TM's strengths IMO).
>
> I've tried using
> http://headfirstproductions.ca/modifying-textmate-drawer-font-size/ ,
> but my lack of familiarity with IB and XCode has left me unable to
> actually make this work reliably.
>
> I would pay another $20-30 for this one feature alone.
>
> -Chris
>
> --
> Christopher Patti - Geek At Large | GTalk: cpatti(a)gmail.com | AIM:
> chrisfeohpatti | P: (260) 54PATTI
> "Technology challenges art, art inspires technology." - John Lasseter,
> Pixar
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 18 Nov 2010 22:36:08 +0100
> From: Bastien Dejean <eschyle(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] setMark and swapWithMark
> Message-ID: <D3CE2D46-C698-4006-9FD4-1DA5DBBC8B61(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> TextEdit responds successfully to the aforementioned cocoa text commands
> but TextMate (1623) doesn't.
>
> Thanks.
>
> ------------------------------
>
> Message: 4
> Date: Fri, 19 Nov 2010 00:16:47 +0000 (UTC)
> From: Tony Dew <tdew(a)supergraphics.ca>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: ppc?
> Message-ID: <loom.20101119T011600-873(a)post.gmane.org>
> Content-Type: text/plain; charset=us-ascii
>
> Michael Sheets <mummer@...> writes:
>
> > Sorry we had the intel only build up for about 30 minutes by accident,
> re-downloading from the website will
> > give you the proper universal build:
> >
> > http://download.macromates.com/
>
> Yes, a download and reinstall seems to have fixed the issue. Thanks!
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 18 Nov 2010 20:55:39 -0500
> From: Peter Wilkins <pwilkins.mit(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: 1.5.10 (1616) Ruby command-R broken again
> Message-ID:
> <AANLkTi=ONfvS=0wWS3cZ6mfK0zZQHxQpR6ROoH7kxMze(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> My apologies. I'm unable to reproduce the problem. (The problem I
> experienced is a repeat of ticket
> FAB08510<http://ticket.macromates.com/show?ticket_id=FAB08510>
> .)
>
> /peter
>
> On Tue, Nov 16, 2010 at 10:55 AM, Allan Odgaard <mailinglist(a)textmate.org
> >wrote:
>
> > On 16 Nov 2010, at 16:51, Peter Wilkins wrote:
> >
> > > Upon upgrading to 1.5.10 (1616) my command-R short-cut is broken again.
> >
> > How is it broken? What happens when you press it?
> >
>
Hi there -
Have discovered a bug in the project drawer:
If you are editing a file within a subfolder of a project and you "save as" to another subfolder, then MissingDrawer behaves as if the file has been renamed... (the original file is hidden and the new file is displayed in the original folder (as well as the real folder).
The only way to remedy this is by closing and reopening this project.
(Happens with and without Missing Drawer, originally reported as missing drawer bug https://github.com/jezdez/textmate-missingdrawer/issues/issue/28)
PS - is there an online issue tracker/bug reporter for TextMate?
thanks
Tim
Tim Diggins
http://red56.co.uk
I will add to the latest chain of messages with key binding problems
after last update.
I was constantly using cmd + / for commenting/uncommenting in code.
However, on Czech Mac keyboard, / is under shift on the same key as
"ú" and "[", so I had to use cmd-shift-ú.
Now, it just jumps into help menu for some reason.
I would change the key binding in System Preferences - however, I
can't find toggling comments in any menu!
This is very frustrating, since I love the commenting/uncommenting
feature and I can't find any way to use it. And I guess all Czech
users have it the same.
(the czech layout on PCs is here -
http://en.wikipedia.org/wiki/File:Keyboard_layout_Czech.svg - but as
always, macs have it a bit different. the ú-/-[ key is next to P.)
Karel Bílek
Especially when I'm working with Groovy / Grails Server Pages TextMate seems to crash almost regularly. Sometimes I can catch it because I'll notice it has lost syntax highlighting after a certain point, so I can do further editing in VIM.
I'm not getting anything in my console logs in relation to TM.
Regards,
-Josh
____________________________________
Joshua Kehn | Josh.Kehn(a)gmail.com
http://joshuakehn.com
I understand that parsing perl must be pain in ***, but I got some
errors in perl highlighting.
When I write
if ($a =~/ /)
to check, wether there is a space in a word, what happens is that
everything after the second / is treated like a regexp (so, the whole
script becomes green).
When I write the same thing as
if ($a =~ /\ /)
everything work as expected.
I discovered a similar problem with perl bundle some months ago: when I write
$something = $a/$b + $c/$d;
the /$b + $c/ part is highlighted as a regexp, too. Writing a space
between the first / and $ makes it go away.
And the last thing - when I write
for my $file (<data/directory/*>)
to iterate trough all the files in "data/directory/", the /directory/
is, again, highlighted as a regexp.
Best regards,
Karel Bílek
Upon upgrading to 1.5.10 (1616) my command-R short-cut is broken again.
Yes, I know, I know. It is marked "changed" in the release notes, the
interactive dylib is nowhere on my machine and the interactive disabled
shell variable is set to "true". It worked properly before I upgraded and
now it is broken again.
I've read the forum threads and as near as I can tell, what is happening
should be impossible. Anyone have any suggestions?
Thank you for your help,
Peter
Is the latest (cutting edge) version of textmate intended to run on a
PPC? After updating it today, textmate gives me a "You cannot open the
application "TextMate" because it is not supported on this
architecture" message on my PowerPC G5 (3.1) when I try to open it.
Kyle Johnson
So, don't know the technical phrase for typing one set of quotes and
getting the other. " becomes "".
But, I'd like to type two graves (``) and have it become (``"), and
turn off the " to "". I'll even accept one ` to become ``".
--
Ben Wilson
"We cannot determine the character or nature of a system within
itself. Efforts to do so will only generate confusion and disorder."
Boyd
This is nothing to do with the recent update.
I use Gnu screen a fair bit to avoid having terminals open all over my
screen. I have found that from within a screen session, if I type
``mate some_file.txt'' TextMate gets launched (if not already running)
or brought to focus with a new window, but the file is not opened and
the command failes with ``mate: failed to establish a connection with
TextMate.''
The initial call to TM is working because TM activated. Any ideas how
to make the next step work?
--
Justin C, by the sea.
I use Typinator to, among other things, insert national characters
when I type (I use an US keyboard). This no longer works in Textmate
1616 and 1622. The expansion string is highlighted, but not replaced.
Actually, some expansions still work, but most have stopped working. I
can see no pattern in this, an expansion that works is .:), one that
doesn't is ./=. Very strange ...
--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
Shure thing:)
Here is the code I am running in java. (File name Test2.java)
import javax.swing.*;
public class Test2
{
public static void main(String[]args)
{
JOptionPane.showMessageDialog(null, "æøåasdfg");
}
}
The message I get is the one in the image in attachement 1
Same problem if I use æøå in methodnames like this.
I added some code to Test2.
import javax.swing.*;
public class Test2
{
public static void main(String[]args)
{
String tekst = æøå("Type some:");
JOptionPane.showMessageDialog(null, tekst);
}
private static String æøå(String h)
{
String t = JOptionPane.showInputDialog(null, h);
return t;
}
}
Then I get the errors in attachment 2.
So, I cant use "æøå", and I live in Norway, so it is a problem for me:)
It appears to work in HTML coding.
Best regards
Andreas
On 15.11.10 21.27, "Allan Odgaard" <mailinglist(a)textmate.org> wrote:
> On 15 Nov 2010, at 13:46, AB wrote:
>
>> I tried re-open it with encoding.
>> I coding direct in textmate, I am now using any extra programs.
>> All I know it worked with the same file yesterday, and not today. Exactly
>> the same file, and program, only different is the update that happened
>> today.
>
> Can you be more specific about how you are running this thing?
>
> I.e. provide a step-by-step way for us to try and recreate your problem.
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
Hi all,
I just updated textmate, and it seems the system is not picking up the
PYTHONPATH.
in my .profile I have the PYTHONPATH listed as ...
export
PYTHONPATH=/usr/local/lib:/Users/lisagandy/infolab_projects/NewsAtSevenShared:/Users/lisagandy/infolab_projects/
when I run the python shell and type sys.path I get ...
['',
'/Library/Python/2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.6-universal.egg',
'/Library/Python/2.6/site-packages/restclient-0.9.10-py2.6.egg',
'/Library/Python/2.6/site-packages/httplib2-0.6.0-py2.6.egg',
'/Library/Python/2.6/site-packages/tweetstream-0.3.3-py2.6.egg',
'/Library/Python/2.6/site-packages/anyjson-0.2.3-py2.6.egg',
'/usr/local/lib', '/Users/lisagandy/infolab_projects/NewsAtSevenShared',
'/Users/lisagandy/infolab_projects',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/Library/Python/2.6/site-packages/PIL',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']
If you look closely in there the paths from my PYTHONPATH settings in
.profile are there
when I try to import folders within the PYTHONPATH everything works great...
Now in textmate when I run sys.path I get
['/Users/lisagandy/infolab_projects/ccu/ccu_gen',
'/Library/Python/2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.6-universal.egg',
'/Library/Python/2.6/site-packages/restclient-0.9.10-py2.6.egg',
'/Library/Python/2.6/site-packages/httplib2-0.6.0-py2.6.egg',
'/Library/Python/2.6/site-packages/tweetstream-0.3.3-py2.6.egg',
'/Library/Python/2.6/site-packages/anyjson-0.2.3-py2.6.egg',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/Library/Python/2.6/site-packages/PIL',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']
none of the paths I have set in PYTHONPATH are there and instead I have this
path...
/Users/lisagandy/infolab_projects/ccu/ccu_gen...
which I do not want (and am searching like crazy on the system right now to
see where this durn path is even listed)
I am running Mac OSX and am looking in my home directory for any where else
python path could be set besides .profile, and don't see anything! here's
the listing... any ideas????
-rw------- 1 lisagandy staff 3 Aug 22 2008 .CFUserTextEncoding
-rw-r--r-- 1 lisagandy staff 24580 Nov 15 15:10 .DS_Store
drwx------ 11160 lisagandy staff 379440 Nov 15 15:10 .Trash
-rw------- 1 lisagandy staff 169 May 6 2010 .Xauthority
drwxr-xr-x 2 lisagandy staff 68 Aug 29 2008 .Xcode
drwxr-x--x 3 lisagandy staff 102 Apr 1 2010 .adobe
drwxr-xr-x 3 lisagandy staff 102 Mar 4 2009 .allegrocl
drwxr-xr-x 4 lisagandy staff 136 Sep 9 11:05 .argouml
drwxr-xr-x 4 lisagandy staff 136 Dec 4 2009 .avidemux
-rw------- 1 lisagandy staff 10355 Nov 15 23:42 .bash_history
drwx------ 3 lisagandy staff 102 Sep 19 2008 .config
-rw-r--r-- 1 lisagandy staff 3078 Oct 31 16:54
.crash_report_checksum
-rw-r--r-- 1 lisagandy staff 6141 Oct 31 16:54 .crash_report_frames
-rw-r--r-- 1 lisagandy staff 10381 Oct 31 16:54
.crash_report_preview
-rw-r--r-- 1 lisagandy staff 83 Mar 26 2010 .crash_reportrc
drwx------ 3 lisagandy staff 102 Sep 11 2008 .cups
-rw-r--r-- 1 lisagandy staff 350 Feb 9 2009 .eclipse_keyring
drwx------ 10 lisagandy staff 340 Nov 15 10:05 .filezilla
-rwxrwxrwx 1 lisagandy staff 60 Aug 5 18:36 .flexlmrc
drwxr-xr-x 23 lisagandy staff 782 May 6 2010 .fontconfig
-rw------- 1 lisagandy staff 0 Jan 28 2009 .gdb_history
drwxr-xr-x 4 lisagandy staff 136 Oct 20 2009 .gem
drwx------ 2 lisagandy staff 68 Sep 19 2008 .gnome2
-rw-r--r-- 1 lisagandy staff 574 Oct 22 2009 .irb_history
-rw------- 1 lisagandy staff 57 Dec 10 2009 .lesshst
-rw------- 1 lisagandy staff 3 Mar 8 2009 .mysql_history
-rw-r--r-- 1 lisagandy staff 946 Nov 15 23:48 .profile
drwxr-xr-x 5 lisagandy staff 170 Jan 25 2010 .python-eggs
-rw-r--r-- 1 lisagandy staff 12593 May 6 2010 .recently-used.xbel
-rw------- 1 lisagandy staff 1765 Dec 3 2009 .sh_history
drwxr-xr-x 2 lisagandy staff 68 Oct 11 2009 .spss
drwxr-xr-x 34 root staff 1156 May 14 2009 .spumux
-rw------- 1 lisagandy staff 2422 Nov 10 14:13 .sqlite_history
drwx------ 4 lisagandy staff 136 Aug 19 10:45 .ssh
drwxr-xr-x 6 lisagandy staff 204 Aug 26 2008 .subversion
drwx------ 3 lisagandy staff 102 Sep 19 2008 .thumbnails
-rw------- 1 lisagandy staff 10799 Nov 16 00:08 .viminfo
-rw-r--r-- 1 lisagandy staff 8 May 18 2009 .vinevncauth
drwxr-xr-x 4 lisagandy staff 136 Apr 8 2009 .wireshark
drwxr-xr-x 7 lisagandy staff 238 Nov 16 2009 .wireshark-etc
So I'm at my wits end at the moment, and kind of annoyed b/c I'm in the
middle of a big project and do not really want to be debugging textmate
right now. Any suggestions are appreciated!
Thanks!
--
View this message in context:
http://old.nabble.com/Mac-OSX-python-path-issue-tp30226111p30226111.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi I have quickly become quite heavily dependent on RVM's .rvmrc file (
http://rvm.beginrescueend.com/workflow/rvmrc/), which swaps out versions of
Rubies and gems when you are in the containing dir or one of its subdirs.
However, TextMate gets its Ruby version from my ~/.profile where I have: rvm
wrapper ruby-1.9.2-p0 textmate
And then a TextMate shell variable:
TM_RUBY=/Users/josh/.rvm/bin/textmate_ruby
This means that I have to manually change the wrapper for TextMate to be
correct in my current project, and then I have to be very careful not to
open another terminal tab, which feels like a pretty fragile workflow.
Is there a way to have Ruby's command+r and command+shift+e aware of which
Ruby they should be using?
I'm happy to see the update even if there are some issues. I
recommended TextMate to a new Mac User and he told me he didn't want
to install a product that wasn't being actively developed.
--
Brad Rice
bradrice1(a)gmail.com
~
"If I find in myself a desire which no experience in this world can
satisfy, the most probable explanation is that I was made for another
world." - C.S. Lewis
This may be a stupid question but is there a reason that the version
of Support/bin/mate in svn is much much older than the one shipped
with the app?
$ svn update /Users/jay/code/textmate/Support/bin/ # My SVN repo
At revision 11963.
$ /Users/jay/code/textmate/Support/bin/mate -h 2>&1 | head -1
mate r851 (2006-05-03)
$ /Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate
-h 2>&1 | head -1
mate r1577 (2010-11-12)
I can no longer enter the French word fenêtre, -or any ê into a document.
My setup
- MacBook Pro 15" HiRes latest model
- French keyboard
- Systemwide English language with French locales
- latest OS 10.6.5 Build 10H574
to obtain the ê I type
^ the sign
e the letter
so far so good, but this sequence starts a weird command line mode (I don't
know that stuff), I get strange results depending on what I type next :
- tries to execute a shell bash command (I know because it's complaining
that the command passed is invalid)
- backward deletes chars
- jumps to the next line
I tried ¨ - is ok, works
but Ê does not, same issue as ê
My intermediate solution : copy and paste from textEdit
Thomas
Hi!
I love the new update. Except it broke my workflow in a major way:
Reverse indenting a block of text with alt-shift-tab no longer works.
In the latest version the text is replace with a real tab symbol instead.
This is incredibly annoying! Can there at least be an option to change
it back somewhere? I've been looking around but couldn't find anything!
Thanks
/Simon
Hi there -
loving TextMate in general, but really want one feature I've had from several editors in the past (e.g. Scintilla, Eclipse):
For indenting/dedenting, commenting/uncommenting, duplicating, deleting with a selection, I'd like TextMate to work on the full lines rather than the exact selection.
So if you make a selection of several lines starting from the middle of one and finishing in the middle of one, and then do an operation like commenting
http://img.skitch.com/20101105-c3t72pnsp98jp71d6xfkxjwfnq.png
Then the result wouldn't be as currently (that the comment delimiter is placed in the middle of the line, generating syntactically incorrect code)
http://img.skitch.com/20101105-r4u82qkcxr4germwqkcjgp9wa1.png
But instead comment as if I had selected the whole lines.
http://img.skitch.com/20101105-djej4cyhrkkckp2jjq1jeaeu38.png
I'd like indent/dedent, duplicate and delete to work similarly.
Is there a way to make this happen? Can I "decorate' those commands somehow to select the relevant lines first... Or would I just have to rewrite those particular features (for each bundle I want them to happen in? )
(Hoping the screenshots I took make it into the mail).
thanks in advance
Tim
http://red56.co.ukhttp://tim.teamportfolios.com/
tim(a)red56.co.uk
I updated today and now when I edit an html file if I use
command-return I get <br /> instead of moving my cursor to a new line
outside of my tag. I wish it wasn't changed. I can find that command
listed anywhere. Is there a way for me to get it back?
--
Brad Rice
bradrice1(a)gmail.com
~
"If I find in myself a desire which no experience in this world can
satisfy, the most probable explanation is that I was made for another
world." - C.S. Lewis
hi there,
textmate recently asked me to upgrade and i jumped at the chance
because i love this editor. however since the upgrade, a few of the
features that i rely on are no longer there/working as expected. these
are not major things, but not having them has slowed me down and i'm
wondering if there's a way to get them back or to revert to a previous
version where they were still working.
my two biggest gripes are:
1. In the Ruby On Rails bundle: Migrations > Quick Migration used to
generate a new migration file with the timestamp at the start of the
filename. Now it seems to have reverted to the old way of doing it
with sequential version numbers. I'd really like to get the timestamps
back!
eg. "20101110061120_create_a_table.rb" instead of
"001_create_a_table.rb"
2. I used to navigate very quickly between open tabs using the key
combinations Apple+Option+Left Arrow and Apple+Option+Right Arrow. Now
that's been replaced by Apple+Shift+[ and Apple+Shift+].
any help on how i can get these features working as they were before
would be appreciated.
Hi
Anyone having problem with the latest update?
I lost my support for ³æøå², and have no idea how to get it back.
I tried to reopen it with utf-8, and put on the spelling.
I am kinda new with textmate.
Would love some help:)
Best regards
Andreas
Hi,
i just install new revision of textmate.
I read the changelog and don't find anything about the shortcut alt+tab and
alt+shift+tab to change text indent.
Did i missed something ?
In this case, if someone can give me the new shortcut :p
It will be great.
Tks
EDIT : Only alt+shift+tab does not work anymore (alt+tab still working)
--
View this message in context: http://old.nabble.com/REVISION-1616-tp30206017p30206017.html
Sent from the textmate users mailing list archive at Nabble.com.
I've been on the mailing list for a month or so, reading the Digest in Apple Mail.
Almost every post is peppered with question marks, singly or in groups. These are clearly standing in for other (un -decodable?) characters. This makes it very difficult to follow a discussion.
Everyone else seems to know what is being said, so what am I missing?
Sincerely,
Alan Goodwin
Hi there.
After the textmate updates 1.5.10, I experiencing that my old way that I
used to switch between the tabs is not working any more!
The way is: *cmd + shift + →* and *cmd + shift + ←*
And another thing about indentation. I use *alt + tab* to indent the group
of lines, and its working, but *alt + shift + tab* is not working anymore!
Why is that?
--
Терентьев Андрей
+7 926 799-88-43
Hi,
the latest release of Textmate introduce a new Change next/previous file tab key equivalents that is shift command [ and ].
However, to acced the [ on French keyboard, you already have to press shift + option + (
So for exemple, to indent, you have to press cmd + [ that is on the French keyboard cmd + shift + option + (
With this shortcut, i can't indent the text with a key equivalent, and it's very very unpleasant.
We had the same problem with Indent Selection key equivalent cmd + option + [
Is there an option or something to change shortcut or to resolve this problem ?
Ronan
PS : Anyway, thx for this new release !
Hi,
In the vain hope that the new update suggests a reversion to make helpful updates for users rather than a total re-write death march…
I’d like to have a filter box in the bundle window, so as to make the visible items filterable by name as well as kind (command, snippet, etc)
Best, tim
Hi,
Whenever I try and install the 1.5.0 update on snow leopard, I get an error
telling me that the update failed and I need to check the console.
Anybody else having the same problems?
Cheers
Paul Cowan
Cutting-Edge Solutions (Scotland)
http://thesoftwaresimpleton.blogspot.com/
The new build (1616) broke a functionality that used to work and that I'm
using often (keyboard input for Ruby programs). I would like to roll back to
the previous build (build 1589). Is there a repository of older TextMate
versions somewhere? If yes, do you have to uninstall the product altogether
to install an older version (assuming I can get my hands on one)?
Thanks in advance.
Hi everyone,
I see that they have changed the next/previous file tabs to
command-shift-] and command-shift-[
I'd like to change it to what it was before, as I am already used
to it. from what I have read in some blogs I make my changes in
this file:
~/Library/KeyBindings/DefaultKeyBinding.dict
but I don't know what the action name is for next/previous file tabs.
Any help appreciated.
--
View this message in context: http://old.nabble.com/switching-to-next-previous-file-tabs-shortcut-tp30207…
Sent from the textmate users mailing list archive at Nabble.com.
Hello:
My TextMate just announced that a new "Cutting Edge" version 1.5.10 (1616) is available for download. I went to the web site and this is the current version, but I cannot find any information on it, or a changelog.
Of course, I'm very excited about a new version of TextMate, but can someone offer information on what's new in this version?
Thanks,
dZ.
Hello:
I have two project windows opened in TextMate at the same time and I noticed that if I set the tab size in one to say, 4, when I switch to the other window, it automatically changes too.
Is there a way to make the tab size "sticky" per window or per project?
Thanks,
dZ.
same for me
On Sat, Nov 13, 2010 at 12:09 PM, Thomas Traub <tomlettres(a)gmail.com> wrote:
> Same for me
>
>
> On Sat, Nov 13, 2010 at 12:06 PM, Piero D'Ancona <pierodancona(a)gmail.com>wrote:
>
>> Does anyone experience the problem I see here?
>> the shortcut CMD+OPT+B, which should toggle
>> bookmark visibility in the gutter, does not work,
>> and instead an html window briefly appears and
>> then disappears.
>>
>> Piero
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>
>
I'm a Ruby newbie. I'm using TexMate Version 1.5.9 (1510) on Mac OS X
Version 10.6.4. I'm trying to write a small Ruby snippet to get keyboard
input as follows:
puts "What is your name? "
name = gets.chomp
puts "Hello #{name}"
I get the following TextMate error:
*NoMethodError:* private method ‘chomp’ called for nil:NilClass
*at top level*<txmt://open?line=2&url=file:///Users/marcc/Documents/marccTechnical/Ruby/myRubyPrograms/sayhello.rb>
in *sayhello.rb* at line 2
Program exited with code #1 after 0.02 seconds.
I've googled pretty much every piece of information on Ruby keyboard input,
changed that little snippet many times accordingly, but I could never get it
to work.
I realize that this question is not directly related to TextMate, but I'm
hoping somebody can help me.
Thanks in advance,
Marc
Does somebody use the blogging bundle under Ruby 1.9.x ?
I got the error message when I used "fetch post" ("post new blog" has the
similar error message)
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:24:in
`+': can't convert REXML::ParseException into String (TypeError)
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:24:in
`rescue in dialog'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:28:in
`dialog'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:42:in
`call_with_progress'
from /Users/user/Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:575:in
`fetch'
from /tmp/temp_textmate.kZ7CC3:3:in `<main>'
who has some solutions or idea???
--
View this message in context: http://old.nabble.com/-TxMt---trouble-blogging-bundle-under-Ruby-1.9.x-tp30…
Sent from the textmate users mailing list archive at Nabble.com.
I recently started using TM again to work on a Rails project and upgraded
form 1.5.7 to 1.5.9 (1510) on 10.6.4. Now the program is crashing several
times a day. I am working with projects and git scm enabled. Other than that
nothing special or unusual.
I saw a post here talking about a later version than 1510 but I can't seem
to find out how to download that or any other version than the this one. I
am currently running 1.5.7 and that seems to be stable if out of date.
I am not sure what is triggering the problem. It may be related to selecting
files from from the project drawer but I'm not certain and it only started
happening after upgrading to 1.5.9. This was initially happening on 10.5 so
I finally upgraded to 10.6.4 in hopes that it would fix it but it is still
crashing.
Any tips or assistance will be appreciated. This is the only editor that has
gotten me away from emacs. ;-)
-louie
--
View this message in context: http://old.nabble.com/TextMate-1.5.9-crashing-several-times-a-day-tp2940382…
Sent from the textmate users mailing list archive at Nabble.com.
Oops, I clicked the wrong address, please disregard and delete the last email from this address. Thanks
On 2010-11-05, at 7:33 PM, textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: manipulating full lines rather than selection (Tim Diggins)
> 2. Language gramar and end match (Pedro Melo)
> 3. Re: TextMate 1.5.9 crashing several times a day (Charles Turner)
> 4. Re: Starting a background process from a command (Daniel Grady)
> 5. Re: Language gramar and end match (Josh Varner)
> 6. Re: Language gramar and end match (Pedro Melo)
> 7. Re: textmate Digest, Vol 30, Issue 7 (Jonathan Marshall)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 5 Nov 2010 15:17:33 +0000
> From: Tim Diggins <tim(a)red56.co.uk>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: manipulating full lines rather than selection
> Message-ID:
> <AANLkTik=ZnAqYirEAoa9fB1JyBgHi34qw7jm9OorLnHA(a)mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Oh, ok - I can see that use-case. Always interesting how different people
> use software differently.
>
> Thanks for all the responses.
>
> On Fri, Nov 5, 2010 at 3:11 PM, Rob McBroom <mailinglist0(a)skurfer.com>wrote:
>
>> On Nov 5, 2010, at 10:50 AM, Tim Diggins wrote:
>>
>> However the more I think about it, the more I think that the current
>> behaviour with (what you might call sloppy multi-line selection), for
>> indent/dedent and comment/uncomment is not very helpful. Indeed I can't
>> understand what need the current behaviour serves (i.e. should be treated as
>> a bug).
>>
>>
>> I comment selections now and then (usually at the end of a line). I agree
>> that use cases for doing this on multiple-line selections are less common,
>> but even there it can come in handy. CSS is a prime example, since it only
>> has block style commenting.
>>
>> .one {
>> padding: 0em;
>> }
>> .two {
>> padding: 1em;
>> }
>>
>> If I wanted to comment out the ?one? class and selected the first three
>> lines, I would end up breaking the ?two? class.
>>
>> /*.one {
>> padding: 0em;
>> }
>> */.two {
>> padding: 1em;
>> }
>>
>> So I get around this by selecting everything but the newline.
>>
>> --
>>
>> Rob McBroom
>> <http://www.skurfer.com/>
>>
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>
>
>
> --
> ------------------------------------------------------
>
> Tim Diggins
> http://red56.co.uk
> http://tim.teamportfolios.com/
> tim(a)red56.co.uk
>
> 07515 931 642 / +447515931642
>
Hey Jerry,
If you get this before you go, go ahead and send me the data capture program. I want to be compliant and try every possibility. I was thinking I will also try unplugging my cordless phone since that's the only thing I haven't tried yet.
Jonathan Marshall.
On 2010-11-05, at 11:11 AM, textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: manipulating full lines rather than selection (Sven Axelsson)
> 2. Re: manipulating full lines rather than selection (Tim Diggins)
> 3. Re: manipulating full lines rather than selection (Sven Axelsson)
> 4. Re: manipulating full lines rather than selection
> (Hans-J?rg Bibiko)
> 5. Re: manipulating full lines rather than selection (Rob McBroom)
> 6. Re: manipulating full lines rather than selection (Tim Diggins)
> 7. Re: manipulating full lines rather than selection (Gerd Knops)
> 8. Re: manipulating full lines rather than selection (Rob McBroom)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 5 Nov 2010 13:01:36 +0100
> From: Sven Axelsson <sven.axelsson(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: manipulating full lines rather than selection
> Message-ID:
> <AANLkTik10fPRJwyYc7gb78CKrUm4xML1R82rvAZQxXSa(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 5 November 2010 11:30, Tim Diggins <tim(a)red56.co.uk> wrote:
>
>> <snip> ... forcing selection to full lines ...
>>
> Is there a way to make this happen? Can I "decorate' those commands somehow
>> to select the relevant lines first... Or would I just have to rewrite those
>> particular features (for each bundle I want them to happen in? )
>>
>> thanks in advance
>>
>
> The commands could be rewritten, for sure, but wouldn't it be easier to
> teach yourself to select full lines when you need it? I usually make such
> selections by triple-clicking the first line to select it, and then dragging
> which will now continue to select full lines. You can also click and drag in
> the line number gutter to select full lines.
>
> --
> Sven Axelsson
> ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>> ++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
> +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
>
Hi,
I have a small embedded mini-language that allows me to include HTML
and CSS files inline inside the code.
The layout is something like this:
------ 8< -----
@@ filename.html
<div>....</div>
@@ styles.css
... css stuff ...
@@ other.html
... more html...
------ 8< -----
I'm using something like this:
{ name = 'embedded.html';
begin = '^(@@)\s+(.+[.]html?)\s*$';
end = '^@@';
captures = {
1 = { name = 'embedded.marker'; };
2 = { name = 'embedded.filename'; };
};
patterns = ( { include = 'text.html'; } );
},
{ name = 'embedded.css';
begin = '^(@@)\s+(.+[.]css)\s*$';
end = '^@@';
captures = {
1 = { name = 'embedded.marker'; };
2 = { name = 'embedded.filename'; };
};
patterns = ( { include = 'text.css'; } );
},
But the problem is that the "end" rule captures the @@ pair to it
cannot be matched by the next block "begin".
If I add an extra @@ just before the second file, it all works fine.
Is there any trick to get around this?
Thanks,
--
Pedro Melo
http://www.simplicidade.org/
xmpp:melo@simplicidade.org
mailto:melo@simplicidade.org
Thanks a lot for pointing this out, Allan. So now if I write
(matlab -nosplash -nodesktop < in &> out) &>/dev/null &
inside a TM command it's letting the command exit while MATLAB continues running in the background. I'll have to continue fiddling with this later today.
-Daniel
On Nov 4, 2010, at 3:17 PM, textmate-request(a)lists.macromates.com wrote:
> From: Allan Odgaard <mailinglist(a)textmate.org>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Starting a background process from a command
> Message-ID: <AA883E0B-D3FC-47E4-9CDC-1AEE165AE82B(a)textmate.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On 4 Nov 2010, at 14:30, Daniel Grady wrote:
>
>> Hi everyone, I'm trying to write a TM command that will set up some
>> FIFOs, launch a process connected to those, and then the command
>> will exit [...] when I try to implement this inside a TM command,
>> the command doesn't exit until the launched process also exits.
>
> This is because TextMate will wait till your process close stdout/error.
>
> We have a ruby wrapper for this (which catch exceptions), for more
> info: http://wiki.macromates.com/HowTo/RunCommandInBackground
Hi
Objective-C -> Documentation for word / selection
hasn't been working in my SnowLeopard for I don't know how long. Finally I have digging into it and founded (thanks to an old PPC Leopard installation) that the problem is in
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/html_man.sh
where there is an old and stupid reference to a
RMAN_1='/Library/Application Support/Apple/Developer Tools/Plug-ins/DocViewerPlugIn.xcplugin/Contents/Resources/rman'
where currently Apple is not calling .xcplugin those plugins anymore, but, .pbplugin.
Since I don't know how the TextMate update policy is going, I have added an alias
ln -s DocViewerPlugIn.pbplugin DocViewerPlugIn.xcplugin
in
/Library/Application Support/Apple/Developer Tools/Plug-ins/
I hope this will help someone.
- juan falgueras
Hello :)
I have read that the C/C++ grammar "eats" all braces so that it is not
possible to highlight them with the punctuation identifier.
Apparently I have to modify the default grammar to something different, I
tried to remove stuff that contains blocks and other similars, but I can't
make it work...
Can somebody help me ? I just want to be able to change the colors of those
characters:
{}[]()
--
View this message in context: http://old.nabble.com/Looking-for-highlighting-braces%2C-curly-and-brackets…
Sent from the textmate users mailing list archive at Nabble.com.
Have you considered open sourcing textmate? I think there are a lot
of people who would like to add features to this editor.
For example, I'd like to have split windows, to be able to save window
configurations and embed a terminal or ssh session into the window.
David :)
Hello,
I'm working my way through the 20 minute Ruby intro on the Ruby page. As I type Textmate is capitalizing All the keywords and the words at the beginning of each sentence. When I cut and paste code from the webpage it's not capitalized. Also, if I backspace and retype the characters they remain lower case.
Is there a way to limit capitalization to only the keywords I've chosen? I don't care to have every else, elsif, etc., capitalized.
Thanks for the help,
Scott
A man who limits his interests limits his life.
-- Vincent Price
Hi, I'm having trouble getting some of the more complex Git bundle tools to
work. For example, when I try to merge, it does
http://img691.imageshack.us/i/picture3apw.png/
I suspect my problem is with my ruby version, I'm on OSX 10.5.6, and using
rvm to manage my ruby version, with the shell variable TM_RUBY set (this has
resolved all of my previous issues with rvm and textmate)
I followed the Git.tmbundle installation instructions at
http://github.com/jcf/git-tmbundle, installing it in ~/Library/Application\
Support/TextMate/Bundles
I followed these instructions
http://gnuu.org/2009/05/25/getting-gittmbundle-working-with-ruby19/ but the
svn repo had moved, so instead I did
$ svn co http://svn.textmate.org/trunk/Support/
My TM_GIT is set correctly, and simpler commands like Browse Annotated File
are working.
Any help/suggestions would be appreciated.
-Josh
PS - Full text of the error:
/Users/joshuacheek/Library/Application
Support/TextMate/Support/lib/ui.rb:237:in `to_plist': An object in the
argument tree could not be converted (ArgumentError) from
/Users/joshuacheek/Library/Application
Support/TextMate/Support/lib/ui.rb:237:in `request_item' from
/Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/ui.rb:9:in
`request_item_with_force_pick' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../app/controllers/branch_controller.rb:71:in
`merge' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:105:in
`block in call' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:94:in
`with_filters' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:105:in
`call' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:112:in
`call' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:56:in
`dispatch_normal' from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:74:in `dispatch'
from /Users/joshuacheek/Library/Application
Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:96:in `dispatch'
from /tmp/temp_textmate.FkobtG:4:in `'
I'm trying to compile a C++ source file that includes the following file:
#include "public.sdk/source/vst2.x/audioeffectx.h"
When I try to compile, I get the following error:
In file included from
/Users/martin/Desktop/vstsdk2.4/public.sdk/samples/vst2.x/again/source/again.cpp:13:
/Users/martin/Desktop/vstsdk2.4/public.sdk/samples/vst2.x/again/source/again.h:16:51:
error: public.sdk/source/vst2.x/audioeffectx.h: No such file or directory
Looks like g++ can't find the audioeffectx.h. How can I set up TextMate to
tell g++ that it should look in "/Users/martin/Desktop/vstsdk2.4/"?
--
View this message in context: http://old.nabble.com/Setting-C%2B%2B-Include-Paths-tp30037571p30037571.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi everyone, I'm trying to write a TM command that will set up some FIFOs, launch a process connected to those, and then the command will exit, the idea being that other commands can subsequently talk to the running process using the named pipes.
In my case I'm trying to set up communications with MATLAB; I have to use it for work, but I'm no great fan of the interface and spend most of my time writing scripts with TM instead, so this is just trying to take it to the next level. I see that this same thing has been brought up a few times before on the mailing list, and that the approach using named pipes is the usual suggestion. However, when I try to implement this inside a TM command, the command doesn't exit until the launched process also exits.
Inside a testing directory, I have test_script.sh:
pwd
mkfifo in
mkfifo out
nohup bash -s < in &> out &
bashpid=$!
# disown $bashpid
echo $bashpid
echo Done
When I run this script from Terminal, everything works as expected: a new bash gets started up in the background, its parent is launchd, I can pass in commands and read output from the in and out pipes, and it persists even if I close Terminal.
Now if I put the same script inside a TM command and then run the command inside a file (which is saved in the same testing directory), the command hangs until I go pipe 'exit' or something into in and read from out. I would expect the command to immediately exit; does anyone know why it doesn't? Thanks in advance!
-Daniel
I've installed a few perl modules at the command line but they are not
seen in TextMate. What happens is that if I run code (Cmd+r) from
within TextMate that calls a module that I've installed, TextMate
can't find it: Can't locate LaTeX/Driver.pm in @INC...
Investigating this I find that TextMate is calling Perl 5.8.8 whereas,
at the command line, perl -V tells me 5.8.9. So TextMate is calling a
different perl version to the one the modules are installed under.
How do I change which perl version TextMate uses?
I've had a look in the bundle at the Run Script command and that
references ENV["TM_PERL"] but I'm not sure where this is set. Can
anyone help with this?
--
Justin C, by the sea.
¡Tienes un nuevo mensaje en Badoo!
Rafael Vega te dejó un mensaje.
Haz click en este enlace para verlo:
http://us1.badoo.com/01128060996/in/-UDb3FMz9c4/?lang_id=7
Más gente que también te está esperando:
Dani (Medellín, Colombia)
Deissy (Medellín, Colombia)
THe PRiNCeSs (Medellín, Colombia)
http://us1.badoo.com/01128060996/in/-UDb3FMz9c4/?lang_id=7
Si al hacer click sobre el enlace, no funciona, copia y pega la dirección en tu barra del navegador.
Este email es parte del procedimiento para que leas los mensajes de Rafael Vega. Si has recibido este email por equivocación, por favor, ignóralo. Tras un corto periodo de tiempo el mensaje sera eliminado del sistema.
¡Diviértete!
El Equipo de Badoo
Has recibido este email porque un usuario de Badoo te ha dejado un mensaje en Badoo. Este mensaje es automático. Las respuestas a este mensaje no estan controladas y no serán contestadas. Si no quieres recibir más mensajes de Badoo, háznoslo saber:
http://us1.badoo.com/impersonation.phtml?lang_id=7&mail_code=63&email=textm…
Hi Craig,
Thanks! That did the trick.
My version is below. I changed the colors to match TextMate's and I had to
change "meta_diff_header" to "meta_diff_range."
.markup_deleted_diff{ background:#f54; color:white; display:block; }
.markup_inserted_diff{ background:#7f8; display:block; }
.meta_diff_range{ background:#47d; color:#fff; display:block; }
Thanks again!
Arturo
Hi Arturo,
Once you do the output to HTML it looks like there are classes applied to everything that would be easy enough to style. I added the following to the style block in my HTML output and it started to come pretty close to the regular syntax highlighting that I use....
.markup_deleted_diff{ background:red; color:white; display:block; }
.markup_inserted_diff{ background:#0f0; display:block; }
.meta_diff_header{ background:#00f; color:#fff; display:block; }
Obviously you could tweak it however you like. Once I added those I saved it to html and printed from the browser (make sure "print background colors" is enabled).
Hope this helps,
Craig
------------------------------------------------------------------------------
Craig Edmond
Creative Lead/Senior Web Designer
finalsite | web software and services for schools
email: craig.edmond(a)finalsite.com<mailto:craig.edmond@finalsite.com>
Hi,
I would like to share the output of diff with some colleagues in a document
(pdf, html) with syntax highlighting so that it is easy to read.
Syntax highlighting in TextMate for a text file with the output is great,
but I cannot figure out how to export with syntax highlighting (html didn't
work) after an hour or so of research.
Any help would be appreciated.
Arturo
Hi,
I'd like to know if it is possible to do a search and replace on some keys
in all bundles and replace them with something else.
Reason, Swedish keyboard doesn't work very well with TextMate.
Mikael Henriksson
Tel: +46 (0) 730- 393 200
mikael(a)zoolutions.se
Hello,
I'm getting used to ctrl-h to replace backspace (as it's simpler to hit, especially when making caps-lock being ctrl), and it works in many places in OS X, except with TextMate, where it invokes the help. I could not find where to change that shortcut so that it becomes backspace instead of help. Is there a bundle involved?
Thanks,
Alan
Sorry for what seems like a really noob question, but I'm ripping my hair out
on this one.
Was working away on a Rails app when I hit what I thought was
<ctl><opt><shift>D. suddenly every .rb file in all of my apps lost all
color. everything is black and white and I can no longer see the comments,
etc. in different colors.
Screenshot:
http://screencast.com/t/mZxoClq34UJ
thanks in advance
--
View this message in context: http://old.nabble.com/.rb-files-turned-black-and-white-tp30021873p30021873.…
Sent from the textmate users mailing list archive at Nabble.com.
I've just been troubleshooting why so many of my files have hard tabs
in them. Now I see that whenever I create a new file in TextMate, it
defaults to hard tabs. Two questions:
(1) How do I have TextMate automatically assume soft tabs 2 when I
create a new file?
(2) Is there a way to have TextMate convert hard tabs to soft tabs on
save, so I can easily fix this mess?
I think once upon a time I knew that I had to manually set soft tabs
for each new file, but at some point I forgot.
~joe
On 15 Oct 2010, at 17:32, brad tittle wrote:
>> I installed a bundle for Titanium Developer. Every time I use the
>> Ti. trigger I get a popup "failed to load /Users/userdir/.gemrc". I
>> have .gemrc in my directory. My searches haven't been too fruitful
>> for an answer.
>>
>> Does this file need to be permissioned specially? Is there some
>> other magic involved? Or is it related to ruby issues.
>>
>> Ti. actually does bring up the list.
>>
>> The directories referenced in .gemrc do exist.
>I don't know anything about Titanium Developer, nor Ruby, but if that
>error message is verbatim then the error is with a setting somewhere:
>"Failed to load /Users/userdir/.gemrc" should be /Users/[your
>login]/.gemrc. It's probably set in the bundle somewhere. Select
>Bundles->Bundle Editor->Show Bundle Editor menu option and have a
>browser through the bundle.
>If that error is not verbatim, and you substituted your login name for
>'userdir', then I don't know the solution to this.
The error was actually "Failed to load /Users/[userdir]/.gemrc" where
[userdir] is my login.
The error shows up when I do "gem install ..." also.
It is mostly an annoyance right now.
--
Brad Tittle
Tech Support
Hi,
is it correct that curly brackets feature a special behaviour in Textmate? I mean the fact that if I enter a Curly bracket { and hit enter, it will create a newline after the tab. This is not the case with other brackets:
So with curly brackets I get:
{
Cursor
}
With other brackets I get:
(
Cursor)
Note that this is _not_ set in the indentation rules section, to my understanding. I want to mimic the behaviour of Curly brackets for other brackets as well. I know that I can use this trick used in the Snippet: "Special: Return Inside Empty Open/Close Tags" in the HTML bundle to mimic this behaviour, which I am happy to do. I just wanted to know whether I get this correctly, that the special behaviour of curly brackets is unique and built into Textmate.
Thanks a lot,
Stephan
Hello... I feel like there is a super-simple answer to this, but I've spent more than enough time trying to figure this out on my own, so now I get to ask the TM community.
I'm making a simple drag command, and part of the output involved a backtick. I'm using Ruby as the language of choice for the command itself, and it seems to be having trouble with the backtick.
I know that the backtick, on it's own, means to run the string at the command line. But I'm doing something like this:
puts "`"
(Thats double quote, backtick, double quote; in other words, print a backtick, please)
I've actually reduced my command to this simple line in trying to figure out where it's going wrong, and this does not produce any output. As another example, this:
puts "abcd`efgh"
Will output abcd and that's it.
Now, when I open a new ruby document, add those lines, and run it straight from TM, I get every character I would expect.
This would lead me to believe that somehow, in process of writing ruby that gets interpreted as a snippet, the backtick is actually being used as a backtick, not just another string character. Do I need to escape this somehow? I've tried this:
puts "\`"
Which still produces nothing.
Any insight is greatly appreciated. Thanks.
+dru
Hi,
my HTML and PHP bundles use different numbers of characters for indentation via TAB: In HTML it’s 3 chars, in PHP it’s 4 chars.
How can I adjust this to 4 characters both?
Thanks for any tipps!
Tom
I installed a bundle for Titanium Developer. Every time I use the Ti.
trigger I get a popup "failed to load /Users/userdir/.gemrc". I have .gemrc
in my directory. My searches haven't been too fruitful for an answer.
Does this file need to be permissioned specially? Is there some other magic
involved? Or is it related to ruby issues.
Ti. actually does bring up the list.
The directories referenced in .gemrc do exist.
TIA
--
Brad Tittle
Tech Support
My ruby Completion is gone when I try to change the ruby I am using. This is
one of my favorite features of programming ruby with TM. Is there a way to
get this working with the ruby I want to use.
I want to use ruby-1.9, which I have installed using RVM
When I put the following TM variable.. the Completion is gone:
TM_RUBY /Users/Ted/.rvm/bin/textmate_ruby (specifically I get Parse error)
When I remove it.. Completion works again.
Ted
--
View this message in context: http://old.nabble.com/Ruby-completion-not-working-with-another-version-of-R…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all-
I'm writing a macro:
selectBlock:
copySelectionToFindPboard:
findWithOptions:
All I'm doing is getting some text between square brackets, pasting it into the find dialog, and hoping to search with "wrap" enabled.
Trouble is, the findWithOptions: wants to hardwire my find selection:
{
action = findNext;
findInProjectIgnoreCase = 0;
findInProjectRegularExpression = 0;
findString = "[^f100914110843]";
ignoreCase = 0;
regularExpression = 0;
replaceAllScope = document;
wrapAround = 1;
}
I tried removing the findString property, but then I lose the wrapAround for some reason. That is, the property is in the macro text, but wrap doesn't work when the macro is executed.
Any idea what I'm doing wrong here?
Thanks!
Charles
Hi Ben,
Delighted to see another writer who doesn't buy into Microsoft/Open/Neo/Office bloatware.
I'm not a TextMate power user, but I do have some personal snippets that you could have or build on if you create an "Author" Bundle (select sentence, swap this word and next, that sort of thing). I've also got a syllabus template and snippets that I've been hacking together for a while.
Good luck!
jon
______________________________
Still Water--what networks need to thrive.
http://still-water.net/
On Oct 13, 2010, at 3:27 AM, textmate-request(a)lists.macromates.com wrote:
> I'd rather drink the TextMate kool-aide
> and create a Bundle that does what I want. I bought Scrivener (the
> document project tool), but it's not quite my style---I don't like the
> text in RTF, don't like how it manages content under the covers. I
> probably shouldn't care about that, but I did write a novel in LaTeX.
> Published an unwieldy Sci-Fi milieu "mock encyclopedia" in LaTeX, too.
> So, I'm used to under the covers. :-)
>
> Looking at the assorted bundles, I noticed the TODO bundle has some of
> what I want (ability to display output via pop-up screen like word
> counts). But, I'm looking for some sort of tutorial or guide to
> creating a bundle.
Hi all,
I was wondering if it was possible to adjust the font line spacing in
TextMate? i.e. the amount of horizontal whitespace between each line of text
in the editor window.
Cheers,
Diego
Linux user for 10 years. Bought a Mac six months ago. Bought TextMate
5.99 months ago. Wrote a novel (most of a first draft) with Vim in
LaTeX compiling to PDF. Plan to write one during NaNoWriMo using
TextMate; using Markdown that compiles through LaTeX to PDF (and also
compiles to EPUB). First Post here. Enough. Staccato. Typing.
Howdy.
Presently, I've modified Kitabu (github) which gives me a set of rake
tasks that do this just fine. I'd rather drink the TextMate kool-aide
and create a Bundle that does what I want. I bought Scrivener (the
document project tool), but it's not quite my style---I don't like the
text in RTF, don't like how it manages content under the covers. I
probably shouldn't care about that, but I did write a novel in LaTeX.
Published an unwieldy Sci-Fi milieu "mock encyclopedia" in LaTeX, too.
So, I'm used to under the covers. :-)
Looking at the assorted bundles, I noticed the TODO bundle has some of
what I want (ability to display output via pop-up screen like word
counts). But, I'm looking for some sort of tutorial or guide to
creating a bundle. Maybe my googler isn't working and I just couldn't
find it when I went looking.
BTW, stoked that PmWiki is the wiki engine; been using it for six years.
--
Ben Wilson
"We cannot determine the character or nature of a system within
itself. Efforts to do so will only generate confusion and disorder."
Boyd
Hello,
is it possible in Textmate to use autoindet to format programming code?
E.g the code
______________________________________________
with timeout of 86400 seconds
set theList to {"Mac OS:Users:malte:Movies"}
repeat with nItem in theList
set Ordner to nItem
tell application "System Events"
set these_files to (every file of folder Ordner whose name extension is "avi")
end tell
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
set this_file1 to (item 1 of these_files as alias)
tell application "Finder" to set fileName to name of this_file
set this_info to info for this_file
set quelldatei to Ordner & ":" & fileName
tell application "QuickTime Player"
open file quelldatei
end tell
end repeat
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
tell application "Finder" to set fileName to name of this_file
set this_info to info for this_file
set zieldatei to "Mac OS:Users:malte:Movies:mov_version:" & fileName & ".mov"
set quelldatei to Ordner & ":" & fileName
tell application "QuickTime Player"
save window fileName in file zieldatei
close window fileName
end tell
tell application "Finder"
delete file quelldatei
end tell
end repeat
end repeat
say "fertig"
end timeout
is changed by my program to
with timeout of 86400 seconds
set theList to {"Mac OS:Users:malte:Movies"}
repeat with nItem in theList
set Ordner to nItem
tell application "System Events"
set these_files to (every file of folder Ordner whose name extension is "avi")
end tell
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
set this_file1 to (item 1 of these_files as alias)
tell application "Finder" to set fileName to name of this_file
set this_info to info for this_file
set quelldatei to Ordner & ":" & fileName
tell application "QuickTime Player"
open file quelldatei
end tell
end repeat
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
tell application "Finder" to set fileName to name of this_file
set this_info to info for this_file
set zieldatei to "Mac OS:Users:malte:Movies:mov_version:" & fileName & ".mov"
set quelldatei to Ordner & ":" & fileName
tell application "QuickTime Player"
save window fileName in file zieldatei
close window fileName
end tell
tell application "Finder"
delete file quelldatei
end tell
end repeat
end repeat
say "fertig"
end timeout
Is there any way, that Textmate could do this for other languages?
best regards
Malte Christian
Hi gang,
What I'd love is to be able to use a single TextMate project to hold all txt
files opened from the finder.
Is there a way to tell Finder to Open With TextMate and add to an open
project? Or to just add a new tab onto the existing project? Instead of TM
just opening up a new window for each file...
Or is there a way to tell TextMate, through a bundle or some other way, to
receive newly opened files into the currently open project?
Thanks hugely,
Chris
--
View this message in context: http://old.nabble.com/Open-files-from-finder-into-single-project-%28single-…
Sent from the textmate users mailing list archive at Nabble.com.
Hi All,
Apologies if this isn't the right place to post this questions!
I have recently installed textmate on the advice of 'Ruby on Rails Tutorial Learn Rails by Example' : http://railstutorial.org/chapters/beginning#top
I am up to the part where you open a file for the first time using Textmate with: mate Gemfile
This works and opens up the relevant file but all of the code is black - there is no differentiation between comments, variables etc it is just a page of plain text.
I have tried changing the themes but that simply changes the background colour vs the text colour but doesn't help distinguish between the different code elements.
In the tutorial everything is highlighted as per a proper code editor but I just cannot find how to do this - please help!!
I am sure it is something incredibly simple that I am not doing but I've watched some tutorials and searched through the help and on Google but still no luck.
Any help will be very much appreciated!!
Thanks
Matt
The information contained in this e-mail is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise, is not intended to waive privilege or confidentiality. Internet communications are not secure and therefore Conde Nast does not accept legal responsibility for the contents of this message. Any views or opinions expressed are those of the author.
The Conde Nast Publications Ltd (No. 226900), Vogue House, Hanover Square, London W1S 1JU
Hey has anyone experienced problems with textmate running a ruby file
against RVM set to 1.9.2. The "Command R" runs ruby code, but I noticed it
is running 1.8.7 (based on the errors I get when I try to run something
specific to Ruby 1.9, such as the symbol short cut for hashes...)
x={a: 1, b: 2, c: 3}... Does not work
But the ruby 1.8.7 short cut
x={a, 1, b, 2, c, 3}.... Does work.
Is there a preference setting in Textmate that tells it to use which Ruby
interpreter?
Thanks
10/3/10 9:36:02 AM TextMate[5413] This application is trying to draw a very large combo box, 145 points tall. Vertically resizable combo boxes are not supported, but it happens that 10.4 and previous drew something that looked kind of sort of okay. The art in 10.5 does not break up in a way that supports that drawing. To avoid breaking existing apps, NSComboBox in 10.5 will use the 10.4 art for large combo boxes, but it won't exactly match the rest of the system. This application should be revised to stop using large combo boxes. This warning will appear once per app launch.
Hello all,
Two questions:
1. I noticed that in the stock CSS bundle the snippets do not have a 'source' namespace.
this is inconvenient since it means they popup when they're not supposed to and take up abbreviations that I would like to use in other contexts for other snippets.
so - since there are about 40+ of these things, is there an easy way to change the source on all of them at once?
2. I have little to no experience building TM commands but I am wondering if it is possible to pass parameters from snippet expander shortcuts.
perhaps an example would be better:
In CSS bundle using snippet Tab Trigger: 'p' for 'padding', being able to input - for example - 'p20' and get 'padding: 20px;' and then later 'p10' and get 'padding: 10px'
in other words the number is a variable that gets written into the expanded snippet.
this seems like it should be possible but I'm not the man to figure it out.
that's it!
thanks,
bennett
Hello,
I started to use TextMate with an Actionscript 3 Bundle at the office where
i work and since then I'm much more productive and organized with my code,
which is very important.
So I installed also at home, however i cannot get it to work correctly here.
When I open the Bundle Editor, I see the Actionscript 3 Bundle and all the
commands, it seems to be the same at work. But they don't work here at home
(except for some, like shift+return which is a 'function' snippet).
For example there's a 'get' command and it is associated with the 'tab'
trigger. It just doesn't work, however, it worked when I left the field
"Scope Selector" blank in the Bundle Editor settings for the command 'get'.
So I must be missing something there...
Another thing, I use the 'clouds' theme at home and it also doesn't look the
same as it looks at the office.
One thing I miss is that I'm used to use class variables with an "_" before,
and those variables get a different color, which helps a lot. For example: I
have a class with a private var "_xOffset", and the constructor of that
class receives the argument "xOffset", then "_xOffset" (in blue) receives
the value of "xOffset" (in black).
Here at home I can't manage to make the variable with an underline in front
to get the color blue. Even though I installed TextMate, the as3 bundle file
and the clouds theme from the same sources, at home and at the office. What
could I be missing ?
Thanks in advance !
--
Isaac
Hi there,
I am trying to reproduce a table, which I copied the elemnts out of a
pdf-file to create a LaTeX-Table.
Fortunately there is a macro in the LaTeX-Bundle, which creates a table of
selected items automatically.
But my items, when pasted into TextMate aren´t properly formated. There a 3
blocks consisting of 10 rows. The blocks are seperated by an empty line. But
I would like to have the block (name it vector) as a column, and the second
vector as the second column...ending with a 10x3 Matrix
So, how to change this:
a
a
a
b
b
b
c
c
c
Into:
a b c
a b c
a b c
Thank you very much for your help.
--
View this message in context: http://old.nabble.com/Reformatting-several-blocks-of-rows-to-a-table--tp298…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Before I start to write my own, anybody has a Nagios configuration bundle?
Thanks,
--
Pedro Melo
http://www.simplicidade.org/
xmpp:melo@simplicidade.org
mailto:melo@simplicidade.org
On Thu, Sep 23, 2010 at 8:00 AM, <textmate-request(a)lists.macromates.com>wrote:
> On Wed, Sep 22, 2010 at 20:55, minimal design
> <textmate(a)minimaldesign.net> wrote:
> > I've looked through the docs but can't figure it out...
> > I'm trying to add CSS3 stuff to the default CSS bundle, but I don't want
> to
> > touch the original bundle off course so in my own bundle I try something
> > like:
> >
> > { scopeName = 'source.css.mcss'; fileTypes = ( 'css', 'css.erb', 'less');
> > foldingStartMarker = '/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))';
> > foldingStopMarker = '(?<!\*)\*\*/|^\s*\}'; patterns = ( { name =
> > 'meta.selector.css'; begin = '^(?=\s*[:.*#a-zA-Z])'; end = '(?=\{)';
> > patterns = ( { name = 'entity.name.tag.css'; match =
> >
> '\b(article|aside|audio|canvas|command|datalist|details|embed|figcaption|figure|footer|header|hgroup|keygen
> >
> |mark|menu|meter|nav|output|progress|rp|rt|ruby|section|summary|time|video|wbr)\b';
> > }, ); }, { include = "source.css"; } ); }
> > and I get all the new elements highlighted like they're supposed to, but
> > that "cancels out" the standard CSS elements. I thought adding the
> > "source.css" would take care of that but obviously it doesn't... Do I
> have
> > to include the standard elements back into the regex? Is there a better
> way?
> > Thanks for any pointer in the right direction!
>
> Not sure if it'll work but you could try adding your pattern after
> including
> `source.css`, i.e.
> patterns = ( { include = "source.css"; }, ? );
>
> HTH,
> Martin
>
It seems that whatever I put last, it cancels the other one out... From the
DOc, I though that it would inherit if you use the name convention... But
the inheritance doesn't happen within patterns that have the same name? Is
that what the deal is? Or I"m doing it wrong? It seems counterproductive not
to be able to ad on to a rule, so I tend to think I'm doing it wrong, but
I've tried all the option I could think about... Anyone has done this
before? If I have to just have to duplicate and modify the whole default CSS
language, that's fine, but I want to make sure there's no better way
first... Thanks!!
I was wondering if it was possible to use xelatex in place of latex
from within Texmate (using the LateX bundle)?
Would it be as simple as using directives such as:
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
Or doing some other manual edition of the bundle code?
Thanks!
I've looked through the docs but can't figure it out...
I'm trying to add CSS3 stuff to the default CSS bundle, but I don't want to
touch the original bundle off course so in my own bundle I try something
like:
{ scopeName = 'source.css.mcss'; fileTypes = ( 'css', 'css.erb', 'less');
foldingStartMarker = '/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))';
foldingStopMarker = '(?<!\*)\*\*/|^\s*\}'; patterns = ( { name =
'meta.selector.css'; begin = '^(?=\s*[:.*#a-zA-Z])'; end = '(?=\{)';
patterns = ( { name = 'entity.name.tag.css'; match =
'\b(article|aside|audio|canvas|command|datalist|details|embed|figcaption|figure|footer|header|hgroup|keygen
|mark|menu|meter|nav|output|progress|rp|rt|ruby|section|summary|time|video|wbr)\b';
}, ); }, { include = "source.css"; } ); }
and I get all the new elements highlighted like they're supposed to, but
that "cancels out" the standard CSS elements. I thought adding the
"source.css" would take care of that but obviously it doesn't... Do I have
to include the standard elements back into the regex? Is there a better way?
Thanks for any pointer in the right direction!
HI,
I am trying TextMate for my RoR development needs, and I see with
exasperation that, when I am in Ruby on Rails scope, I cannot type lowercase
'a'! Hence, I cannot type :all, or 'class', or any word that contains a
lowercase 'a'!!!
Anyone envcountered anything of this sort? I am on Snow Leopard, TextMate
1.5.8.
Thanks,
AE
Hello,
when I save a file in Textmate it doesn't remember the directory. The
path in the save as dialog is always set to the root directory (/).
Textmate: Version 1.5.9 (Revision 1589)
System: Mac OS X 10.6.4 (10F569)
It might have something to do with NSNavLastRootDirectory as the
following tweets indicate:
http://twitter.com/davybrion/status/21932571235http://twitter.com/scott_to_s/status/21937812511
NSNavLastRootDirectory gets written upon termination of Textmate, but
after restaring it gets set back to the root directory.
Cheers, Stefan
Hi,
I just recently downloaded the Pandoc bundle from GitHub, but have run
into the following error message when I try any of the 'Convert
to...' scripts in the bundle:
/tmp/temp_textmate.U3BOyu: line 12: pandoc: command not found
However, I do indeed have pandoc on my system. I built the pandoc
library from source, but have added the necessary directory to my PATH
variable.
Are there any future modifications that I need to make to shell
variables accessible to TextMate ?
Thanks!
Dan
Any one know how to set up textmate to use the D compiler? There is a
"Build and compile" single file option, but I am not sure where to tell
Texmate, where the D compiler is...
Hi All,
I'm currently just starting to get into TextMate on my Mac, and E-TextEditor
on Windows. One thing I'd like to be able to do is launch the currently
active ruby file in Ruby at the terminal, as opposed the to the default
"RubyMate". I essentially want a command prompt to open and the following
command to be run: /path/to/ruby "/path/to/current/ruby/file". Does anyone
know of a simple command to do this so I can add to my Ruby "bundle". Note,
I want to manually specify the path to my ruby executable in the command. I
don't want to use the Ruby version bundled with TextMate.
Cheers,
Tom
Hi everyone,
I have a small program that detects
errors and outputs their presence in
a file "error.txt" with the following format:
<Error> found in line 84
<Error> found in line 98
<Error> found in line 129
<Error> found in line 300
<Error> found in line 620
<Error> found in line 1000
I was wondering can I build something (macro? command?)
that will help me navigate through this errors, without
me going manually to each line. Like when textmate displays
errors where you can just simply click on a link to jump to
that line number.
Ted.
--
View this message in context: http://old.nabble.com/utility-to-navigate-through-errors.-tp29739203p297392…
Sent from the textmate users mailing list archive at Nabble.com.
Hi, is there any support in TextMate for PHP's Alternate Syntax?
e.g. Regular Syntax:
<?php
if (1 == 1) {
//Output
}
else {
//Output
}
?>
e.g. Alternate Syntax:
<?php
if (1 == 1):
//Output
else:
//Output
endif;
?>
At the moment, I can't find a way to get code-folding working with the
alternate syntax, and I would also like to be able to set TextMate's TAB
auto-complete to use the alternate syntax.
Tim Mackey
Hi everyone,
I want to write regular expression that
allows me to search for things like:
abc (blah blah blah)
dre (blah blah blah)
but that it only does it if the line does not contain
a % sign
this is what I have so far:
\w+\s+\(\w+\)
Any help appreciated,
Ted
--
View this message in context: http://old.nabble.com/Regular-Expression-needed-tp29734413p29734413.html
Sent from the textmate users mailing list archive at Nabble.com.
When I press Option + Escape to use the intelligent auto-complete
functionality of TextMate, the following is dumped to the file I'm currently
editing...
*/tmp/temp_textmate.KzzomC:38:in `<main>': undefined method `to_a' for
"":String (NoMethodError)*
The "KzzomC" string is variable, but the rest is always the same. Does
anyone know how to fix this as it would be really good to be able to get
this functionality working.
Tom
Hello:
I was editing my bundle in the Bundle Editor of TextMate, and I inadvertently hit some key combination that caused my entire bundle to get deleted. The worse part is that I can't seem to be able to restore it!
Where are TextMate's bundle settings stored? I used Time-Machine to restore the preferences file and the bundle package from a back up, but this did not restored it.
Please help,
dZ.
How do I close a file that is open but that doesn't have a tab because
too many other files are open with tabs? These are the files that
appear when you click on the double-arrow to the right of the tabs. I
keep clicking on the window's close button and closing all my files.
(Grrr!)
Ideally, when I'm editing a file, its tab would appear at the top of
the window, displacing some other tab, so that I have an X button to
click and a clearer picture of what file I'm editing. I'm in a habit
of looking at the tab for the name of the file, but it's only
sometimes there. I know it's consistently in the window's title line;
because it's usually in the tab, I'm not making a habit of looking at
the title line.
Thanks for your help!
~joe
I need help getting Textmate to find gems. I've spent quite a bit of type
researching the problem, but being new to both OS X (Snow Leopard) and the
use of Ruby gems, I can't seem to figure out what the problems are. Many
others have had similar problems, but their solutions don't seem to fix my
problems. (Among other things, I did read Section 8--Shell Commands--of the
Textmate manual.) I expect it largely has to do with the setting of
environmental variables, but that's just a guess. A secondary--and no doubt
related--problem is that Ruby cannot find the gem active-record when invoked
in a terminal (or in irb), as shown below.
I've tried entering a TM_PATH shell variable in Textmate preferences, but
that hasn't helped.
Here are some possible clues. No doubt I have provided some unnecessary
information and have left out important information.
I recently used RVM (Ruby Version Manager) to reinstall Ruby. From a
terminal I then ran
gem install xml-simple
gem install sqlite3
gem install activerecord
They all appeared to install OK.
Then I wrote the following short script (test.rb):
************
#!/usr/local/bin/ruby
# Ruby 1.9.2
require 'rubygems'
print 'Gem.path = '
puts Gem.path
print 'ruby_description = '
puts RUBY_DESCRIPTION
require 'xmlsimple'
require 'sqlite3'
require 'active-record'
*************
When I run test.rb in a terminal I get:
*************
MacBook-Pro-2:economics101 cary$ ruby test.rb
Gem.path = /Users/cary/.rvm/gems/ruby-1.9.2-p0
/Users/cary/.rvm/gems/ruby-1.9.2-p0@global
ruby_description = ruby 1.9.2p0 (2010-08-18 revision 29036)
[x86_64-darwin10.4.0]
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load
-- activerecord (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from test.rb:12:in `<main>'
*************
When I run Ruby test.rb from within Textmate (cntrl-r), I get:
*************
Gem.path =
/Users/cary/.rvm/gems/ruby-1.9.2-p0@global
/usr/local/lib/ruby/gems/1.9.1
ruby_description = ruby 1.9.2dev (2010-07-02 revision 28524)
[x86_64-darwin10.4.0]
LoadError: no such file to load — sqlite3
method require in test.rb at line 11
method <main> in test.rb at line 11
copy output
*************
(If I have <require 'active-record'> before <require 'sqlite3'>, I get the
same message, with 'active-record' substituted for 'sqlite3'.)
Notice that xmlsimple was found when running test.rb from a terminal, but
not with cntrl-r in Textmate. See below (near the end) where I think
Textmate found xmlsimple.
Next I ran irb:
*************
MacBook-Pro-2:~ cary$ irb
/Users/cary/.rvm/rubies/ruby-1.9.2-p0/bin/irb:4: warning: Insecure world
writable dir /Users/cary in PATH, mode 040777
ruby-1.9.2-p0 > RUBY_DESCRIPTION
=> "ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]"
ruby-1.9.2-p0 > Gem.path
=> ["/Users/cary/.rvm/gems/ruby-1.9.2-p0",
"/Users/cary/.rvm/gems/ruby-1.9.2-p0@global"]
ruby-1.9.2-p0 > require 'xmlsimple'
=> true
ruby-1.9.2-p0 > require 'sqlite3'
=> true
ruby-1.9.2-p0 > require 'active-record'
LoadError: no such file to load -- active-record
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from (irb):1
from /Users/cary/.rvm/rubies/ruby-1.9.2-p0/bin/irb:17:in `<main>'
(ibr's message, "warning: Insecure world writable dir /Users/cary in PATH,
mode 040777" is something I should look into as well.)
*************
(It makes no difference if I precede the above with <'require rubygems'>.)
and then back at a terminal:
*************
MacBook-Pro-2:~ cary$ ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
MacBook-Pro-2:~ cary$ which ruby
/Users/cary/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
MacBook-Pro-2:~ cary$ echo $PATH
/Users/cary/.rvm/gems/ruby-1.9.2-p0/bin:
/Users/cary/.rvm/gems/ruby-1.9.2-p0@global/bin:
/Users/cary/.rvm/rubies/ruby-1.9.2-p0/bin:
/Users/cary/.rvm/bin:/usr/local/bin:
/usr/local/sbin:
/usr/local/mysql/bin:
/usr/bin:/bin:
/usr/sbin:
/sbin:
/usr/local/bin:
/usr/X11/bin
MacBook-Pro-2:~ cary$ ls /Users/cary/.rvm/gems/ruby-1.9.2-p0
bin cache doc gems specifications
MacBook-Pro-2:~ cary$ ls /Users/cary/.rvm/gems/ruby-1.9.2-p0/gems
activerecord-3.0.0 arel-1.0.1 ffi-0.6.3 rake-0.8.7 tzinfo-0.3.23
activesupport-3.0.0 builder-2.1.2 i18n-0.4.1 sqlite3-0.1.1
xml-simple-1.0.12
MacBook-Pro-2:economics101 cary$ ls
/Users/cary/.rvm/gems/ruby-1.9.2-p0@global/gems
MacBook-Pro-2:economics101 cary$
MacBook-Pro-2:economics101 cary$ ls /usr/local/lib/ruby/gems/1.9.1/gems
libxml-ruby-1.1.4 xml-simple-1.0.12
*************
The last line suggests to me that, from Textmate, Ruby is using an old
version of xlm-simple.
Any help would be greatly appreciated.
Cary
--
View this message in context: http://old.nabble.com/Textmate-cannot-find-Ruby-gems-tp29724886p29724886.ht…
Sent from the textmate users mailing list archive at Nabble.com.
Dear TextMate users,
I work with textmate 1.5.8 (1505) under Mac OS X 10.6.2. I installed the latest version of latexmk (version 4.11) and tested it in the terminal, works like a charm. I then tried to compile a .tex document with latexmk via TextMate. If I click the button "Show Latexmk.pl Messages" I can see which version of latexmk is used. It turns out that some old version is used (version 3.21j of 2 December 2007). After that I changed the variable "TM_LATEX_COMPILER" explicitly from "latexmk.pl" to "/usr/local/texlive/2009/texmf-dist/scripts/latexmk/latexmk.pl" --- still the old version is used. I have no idea where this old version is located and how I can force TextMate to use the new one. The new one is correctly installed, I can use "latexmk foo.tex" from everywhere on my system.
How can I tell TextMate to use the correct version of latexmk?
Cheers,
Marius
Hi.
I like TextMate and i want to by it.
But i haven't a job now and price for program very expensive for me.
Have you any discount for me?
I respect copiright and anyway not will be to use not license product.
Konstantin. Russia.
Hi all-
I'm writing a command where it would be really great to preserve a string for later use by other commands.
I'm assuming there no way to define a environment variable (like LAST_STAMP or something) that could be set from a command, would persist, and could be read from a later invocation of another command?
Any other kind of scratchpad memory that I could take advantage of? (I realize I could write a small file somewhere.)
Many thanks in advance!
Charles
Hi,
I have a list of functions ( thousands ) for a certain proprietary
language and I would like to enable some sort of autocomplete in
textmate but that works similar to Eclipse's, IDEA's, etc. in that it
allows you to
1. Search or autocomplete
2. Once you select the method, you get a "snippet" template so you can
tab around the parameters
I imagine lots of people have tried this and I am also afraid that
there is no simple solution.
What's the best path here?
FYI. The library consists of around 2000 functions.
Regards,
A
--
Aldo Bucchi
@aldonline
skype:aldo.bucchi
http://aldobucchi.com/
Hi,
I am developing a Bundle that will startup a local database server (
think SQLite ). Some of the questions I have are:
* What's the recommended way of bundling binaries into Bundles, if any?
* What startup/shutdown hooks exist, if any?
Regards,
A
--
Aldo Bucchi
@aldonline
skype:aldo.bucchi
http://aldobucchi.com/
I thought this workflow should work, but it’s running into trouble:
I open a new message in Apple Mail.
I type the keyboard command for Edit in TextMate.
I write a simple document in Markdown.
I use the Markdown bundle command to convert to HTML.
I use the Mail bundle command Send HTML as email via mail.
I get “Syntax Error: Expected end of line but found property (-2741)"
Problem seems to occur whatever the language grammar is set to. I’m using TM version 1.5.9, with updated bundles. I didn’t find a mention of this in the archive.
Thanks very much for any suggestions about a fix or a better workflow.
I'd like to:
1) close all foldings at level 0
2) open all foldings at level 1
casting a single command.
i.e. without having to manually cmd+opt+0 cmd+opt+1
I don't have a clue about how to do it, can somebody help please?
--
venera Lo'oris su http://looris.net
Hello,
thanks for the help, I have tried yoursuggestions and it helps.
But maybe it could be put in the next version as a possible feature, it
would be useful for people writing texts in textmate, especially when
using a screenwriting mode.
Best,
Daniel
Is there a possibility to change the width of the caret so that it would
appear to be a blinking rectangular?
_______________________________________________
Not that I know of, but you might at least try to turn on the "highlight
current line" preference:
go to Preferences
General tab
Check "Visual Ornaments: Highlight current line"
You can then move over to the Fonts & Colors tab and pick a background
color for the current line.
Also, the shortcut Command-L is good for centering the current line
vertically in your window (if it's possible). Between those two, I can
usually find my current line.
I realize that's only one dimension, and you were hoping for two. I
don't know of anything to help you locate the current column, short of
doing something manual, like pressing Shift-RightArrow to make a
selection that would stand out. Not what you were after, but that's the
most hope I can offer.
I betcha, if challenged properly, one of the wunderkinds of this list
like Hans or Ciarán can whip together a plug-in that does just what
you're looking for. But that task is not for me.
+dru
Hi,
When I used to have a project open and then close it, the next time I would open the project all the files that were open would still be open and I could just start working on them again. Now, when I open the project again, all the files are closed and I have to open them all again. It did not used to do this, whatever was left open, would still be open. Now whatever was open, is closed. I cannot find any preference to change this and I'm not sure why this behaviour changed at all.
Does anyone know how change it back, or what I may have done to change it? I want all the files I was working on when I close the project to still be open when I open it again.
Thanks,
Jon
When you want to start a new thread ALWAYS write a NEW letter to the
mailing list rather than reply to an existing one (and change subject).
When you reply to an existing letter the threading gets messed up
which makes managing threads problematic (and messes up the archive)!
Hi all-
Started working with Scala, but am bewildered by the number of bundles available for TextMate. Can anyone offer some info on which ones I should look at if there isn't an obvious choice?
Currently using Mads Hartmann's version...
Thanks!
Charles
Hello,
wenn i use run makeindex under Texmate i got this
____________________________
Input index file report.idx not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Found 0 errors, and 0 warnings in 0 runs
index exited with status 1
____________________
I wante to use this command, then i run makeindex under textmate.
_______
makeindex Studienarbeit.nlo -s nomencl.ist -o Studienarbeit.nls
_______
Is it possible to change that?
cheers Malte
Hi, some time ago I asked a question about the Reformat Comment command from
the Source bundle and Allan kindly made some suggestions. In the interim
this command has continued to sort of not work the way I thought it should
in a few cases, and the other day I actually sat down and spent an
embarrassingly long time trying to fix it, and I was hoping someone could
give me some feedback. There were two problems that I wanted to fix:
1.) The command doesn't respect the wrap column set by the user
2.) The command sometimes adds extra whitespace where it shouldn't, for
example if you reformat
// lorem ...
//
// lorem...
it will add an extra space at the end of the empty line.
The first problem was pretty straightforward, and I think I corrected the
second problem as well. It looks like the problem was in the rubywrap.rb
script; a regular expression is used to identify comment lines, and this
regexp would incorrectly match the newline at the end of the empty line. I
changed it so that it only matches trailing spaces.
I've been using the modified rubywrap for a little while now and haven't
noticed any problems introduced by this change. A diff patch is attached; if
anyone has a few minutes to take a look I would appreciate it. Or if anyone
thinks this is just a non-issue, I would appreciate hearing that too. Is
this the right place to submit changes to be included in the Source
repository? Thanks in advance!
-Daniel Grady
Hello,
this is a little bug I found. When you try to open a named pipe (FIFO)
in TextMate, it crashes.
It's not that I do it regularly, I just tried to do it from curiosity :)
Karel
I would like to manage a few settings on a per-document basis (including unsaved documents). I'm not seeing any way to get a unique identifier associated with the document to make this possible. The documentation discuses TM_FILEPATH and TM_DIRECTORY which might be a start, but those don't seem to be set even when I execute the command with a saved document.
I looked into Applescript - I can get a list of application documents, but there does not seem to be any associated identifier. Even if there was, I would need to figure out the document associated with frontmost window. In Textmate, the window document property always seems to be null.
Thanks for any suggestions.
John DeSoi, Ph.D.
Hello,
I have used TextMate for editing LaTeX documents for a while now and I'm
very pleased with it. But I find it difficult to find the caret in the
text, especially when correcting documents and therefore browsing
through larger amounts of text without any commands.
Is there a possibility to change the width of the caret so that it would
appear to be a blinking rectangular?
Thank's in advance,
Daniel
Hi,
I am a flash developer and seeking the best way to use TM as my main development environment. I am using the flex and as3 bundles but I still find myself not having a debugger. If any of you out there could help me get set up with something that would be most helpful. I have heard fdb is useful (the command-line flex debugger), but I'm more use to GUI like the one included with Flash Builder. If there was any way to use that it would be great.
Thanks,
Dave
Stephen Oravec asked...
> Hello I'm a new user to textMate,I made a HTML Template, but don't know how
> to add it to TM, the help file doesn't really give much info on where to
> save the template.
Open the bundle editor (command-control-option-b) with at least one
file open in TextMate.
Select the bundle you'd like the template to be associated with (and
make a new one if appropriate). Then choose "new template" from the
"+" at the bottom left of the window, and fill in the template
appropriately. The file is saved to a "Templates" directory inside
that particular bundle. (Choose "show package contents" on one of
TextMate's existing bundles that has at least one template available
from the File menu and you'll see how it's all structured. They're
saved inside /Applications/TextMate/Contents/SharedSupport/Bundles/
for the bundles that come with TextMate, and in your
Library/Application Support/TextMate directory for any that you add.)
Cheers,
Paul
Hello I'm a new user to textMate,I made a HTML Template, but don't know how
to add it to TM, the help file doesn't really give much info on where to
save the template.
I've patched the ackmate plugin for textmate to fix the problem described in this issue:
Searching inside symlinked folders opens a new window
http://github.com/protocool/AckMate/issues#issue/5
Trevor Squires had been opening a a file like this from the plugin:
[[[NSApplication sharedApplication] delegate] openFiles:[NSArray arrayWithObject:absolute]];
Evidently after passing through Cocoa the original path to the file, which includes a dir symlink, is converted to the
equivalent path without the symlink before textmate proper gets the event. Texmate then opens the file in a new window because
it isn't in the project path anymore.
Here's the change I made:
http://github.com/stepheneb/AckMate/commit/1bc7e4ca698b51b2a0d523ecea277bfb…
Which was to call Texmate going through the shell with an NSTask.
I'm wondering if there is a better way -- Trevor thought my hack was a bit ugly ;-)
Hi there -
just in case anyone else runs into the following issues when using TextMate's Perl bundle and trying to run scripts:
1) TextMate has its own PATH variable (in the settings)... It's obvious but, make sure that the perl you are using is on that path (TM doesn't pick up the path in your env).
2) there is a problem with tainting in the file - to get round this (if you are using the -T in your shebang line for example)
change line 17 of exception_handler.pm in bundles/Perl.tmbundle/Support/exception_handler.pm to:
$ENV{"TM_ERROR_FD"} =~ /([0-9]+)/; my $error_fd =$1;
This will ensure that $error_fd is untainted.
3) You may find the following error, if a module you are using uses Carp, e.g. you are using use strict (or just use strict 'vars') and you have an error in the file:
Attempt to reload Carp/Heavy.pm aborted.
Compilation failed in require at /Applications/TextMate.app/Contents/SharedSupport/Bundles/Perl.tmbundle/Support/exception_handler.pm line 30.
If you do, make sure you add a use Carp::Heavy; in the script you are running. I think this is due to clearing up a circular import that would happen otherwise (because of some cleverness in exception_handler.pm)
If anyone can clarify any of this, great.
all the best
Tim
Tim Diggins
http://red56.co.ukhttp://tim.teamportfolios.com/
I am sure this has been discussed before but I cannot track it down.
I get the following error when using the TODO bundle with a latex file:
----
Scanning directory: ~/Dropbox/Aston/Research/Papers/Ontology_Evaluation
(erb):4: undefined method `+' for nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:99 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/erb.rb:716:in `grep' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `each' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `grep' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in `open' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75:in `each' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75 from /Library/Application Support/TextMate/Support/lib/textmate.rb:201:in `call' from /Library/Application Support/TextMate/Support/lib/textmate.rb:201:in `each_text_file' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:71
----
How can this be fixed?
Thanks,
Christopher
Thanks,
I have tried to add "text.html -source.php" in the scope selector for the TAB snipped in HTML bundle, unfortunately the problem seems to be still there. What could be wrong?
I would like to remove that function from there only as I would like to disable other things when in phpDoc scope.
thanks
>> How is it possible to disable such behavior? I just want a tab space there.
>
> Open the bundle, scroll to the HTML bundle and find the snippet with the name "?". Either add " -source" to the scope or just remove the tab trigger.
--
Ciao
Fabio
I'm looking for a way to allow the user to login via a web page and then grab the session cookie set by the server. I want to use this to make further queries to the same server using curl. I discovered the MoinMoin bundle does something like this by reading the browser cookie file, but the cookie I need is a session cookie so it does not get written to the file.
More generally, is there any way to get a list of HTML output windows and query their properties, e.g. current URL, etc?
Thanks!
John DeSoi, Ph.D.
Hi All,
i'm getting errors when trying to use comands from the rails bundle. likei:
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17:
invalid multibyte char (US-ASCII)
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17:
invalid multibyte char (US-ASCII)
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17: syntax
error, unexpected $end, expecting ')'
...Mate.exit_show_tool_tip("The ‘create partial from selectio...
... ^
I am using latest edge, so
http://github.com/drnic/ruby-on-rails-tmbundle/issues/issue/14 isn't
it.
my ruby_path his /Users/Administrator/.rvm/bin/textmate_ruby
--
dc
David Clark
16 Harcourt St #2I
Boston, MA 02116
I am very curious about git. I understand roughly
how it works and it can be used, but since there
are ppl here using it massively, would you kindly
write a short 'git/git bundle for dummies' ? What I'd like
is an example of how concretely you use it every day
and what it gives you. My needs are basic, I have
many joint projects (=joint papers) with several people
scattered around the world, and I would like to
understand if it is worth learning to use it or not
to manage my collaborations.
Piero
Hi,
like suggested by Allan I'll try to explain again the problem:
1. create a new file from template -> HTML -> XHTML - 1.0 STRICT;
2. save it like test.php and edit it in HTML mode;
3. before the head ends, type "style" and press tab;
4. go inside style tags, now it should be possible to use autocomplete for CSS;
5. start typing something like:
#test { font
now hit the Esc key while the cursor is near the "t". It does nothing here.
Now try to create a new empty file, save it as test.css: you are in CSS mode.
Like before type:
#test { font
and hit Esc near the "t": it will start to rotate autocomplete choices like:
font-family
font-size
font-size-adjust
etc.
This is what I would like to have inside <style> </style> in the HTML head.
Here is not working in such way: yes I can hit TAB and I will get similar choices but I like so much the Esc key that I would like to know if it is possible to have it work inside html page head style tags.
It is so annoying to have to type all the words like "border" when you can just type "bor" and hit Esc!
It works in CSS file not in php / html one.
Is there a fix?
Thanks!
--
Ciao
Fabio
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Risparmia fino al 90% con Groupon CityDeal.
* Gruppi D'Acquisto Sicuri e Risparmi Garantiti
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid813&d-8
The code completion keyboard shortcut (ALT+ESC) is not working for me in
'css' files. Instead, the following message gets generated wherever my
cursor is:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/codecompletion.rb:319:in
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of filemap' for
nil:NilClass (NoMethodError)
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/codecompletion.rb:88:in
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filenew'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/codecompletion.rb:60:in
I'm not super techy, so I'm not exactly sure what that means. Is my
'codecompletion' file corrupt? Is some path broken?
Do I need to re-install or replace a file to fix this?
Thanks in advance!
Clay
Hi
I want to find a way to have history of changes/movement over a file/ files in project. I've already found a way to go to last 1 change, but I love to see ability to move over last editing places with ease.
Is there any way?
best regards
Hi,
According to the texmate
manua<http://manual.macromates.com/en/preface.html%20>l
back-tab should be triggered by Shift-Tab.
For some reason, Shift-Tab isn't working for me. I can trigger back-tab
with Shift-Alt-Tab.
Shift-Tab would be preferable, any ideas why it's only working with
Shift-Alt-Tab or how to get Shift-Tab to work?
many thanks,
-Mike
I can't run .rb files in TextMate; get this error:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:1:
undefined method `+' for nil:NilClass (NoMethodError)
Did a lookup for this error on Google; is my Ruby bundle outdated?
Thank you in advance.
--
View this message in context: http://old.nabble.com/Can%27t-run-Ruby-files-in-TextMate-tp29563002p2956300…
Sent from the textmate users mailing list archive at Nabble.com.
When I change the language in the Edit > Spelling > Show Spelling & Grammar
menu from English to Italian, it seems to change the language for all
textmate files, not just the one I'm working with.
I suspect I'm doing something wrong here, but is there a way to have a
per-file language for the spell checker?
--
View this message in context: http://old.nabble.com/Multiple-Languages-for-Spell-Checker-%28Per-file-lang…
Sent from the textmate users mailing list archive at Nabble.com.
Hello Allan - I have a request for 2.0:
in the Bundle Editor I've several times made the grave error of hitting delete one too many times and accidentally deleting an entire bundle.
for whatever reason, when I'm in the BE and going through my commands, macros, etc, I've managed to accidentally select the bundle itself and hit delete.
not such a big deal if they're stock bundles but many of mine have been customized to suit my needs.
anyway, I've made this mistake a couple of times and I'd just like to suggest a warning dialog of some kind that pops up before you delete an entire Bundle.
I know it's kind of a spaz move on my part - but if it's happened to me than it's happened to other people too.
thanks!
Bennett
>> Rob McBroom <mailinglist0(a)skurfer.com> wrote:
>>> The fancy ?new? web preview, not the built-in boring one. :)
>>
>> I'm not sure what you mean by that, for all I know the features you're
>> talking about are available in the built-in web preview?
>
> OK, so they're both bundled with TextMate, but there's the one that's on the application's Window menu (which is what I meant by ?built-in?) and then there's the one that uses stuff in the support folder.
Out of curiosity, do you consider the Web Preview enabled via Application Support/Textmate to be "fancy" just because it has a different theme, or does it have some other codebase?
The reason I'm asking is that a few months ago the option to run WebMate, the WYSIWYG editor, disappeared from my "boring" Web Preview and I've been unable to conjure it back:
http://lists.macromates.com/textmate/2010-July/031152.html
I'm wondering if I should be trying this other, "fancy," Web Preview? If it's as simple as downloading a Theme that reveals the "Enable live editing" link, I'll be a happy camper.
jon
______________________________
Still Water--what networks need to thrive.
http://still-water.net/
Bennett, rather than a dialog warning, Cmd-Z should be your friend.
Undo is my favourite command....
Carl Forde
Our doubts are traitors and make us lose the good we oft might win by
fearing to attempt.
— William Shakespeare, "Measure for Measure", Act 1 scene 4
Message: 10
> Date: Wed, 25 Aug 2010 11:54:16 -0700
> From: plastichairdoo <plastichairdoo(a)gmail.com>
>
> Hello Allan - I have a request for 2.0:
>
> in the Bundle Editor I've several times made the grave error of hitting
> delete one too many times and accidentally deleting an entire bundle.
> for whatever reason, when I'm in the BE and going through my commands,
> macros, etc, I've managed to accidentally select the bundle itself and hit
> delete.
> not such a big deal if they're stock bundles but many of mine have been
> customized to suit my needs.
>
> anyway, I've made this mistake a couple of times and I'd just like to
> suggest a warning dialog of some kind that pops up before you delete an
> entire Bundle.
>
> I know it's kind of a spaz move on my part - but if it's happened to me
> than it's happened to other people too.
>
> thanks!
>
> Bennett
>
>
Hi, sorry if this is a well-known issue.
I purchased a site license and installed TextMate on my classroom machines. The students will be using network accounts.
What I discovered, to my dismay, is that registering TextMate using the local admin account does not unlock it for a network user. (When I logged on using a test student account, I needed to register again.)
This will be, to put it mildly, a pain in the ass, as students are not assigned to a particular machine.
Is there a way around this? I don't immediately see where TextMate maintains license information locally.
Thanks!
Randy J. Zauhar, PhD
Assoc. Prof. of Biochemistry
Director, Graduate Program in Bioinformatics
Dept. of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 S. 43rd Street
Philadelphia, PA 19104
Phone: (215)596-8691
FAX: (215)596-8543
E-mail: r.zauhar(a)usp.edu<mailto:r.zauhar@usp.edu>
Web: http://binfcompsci.usp.edu/~zauhar
"We have always known that heedless self-interest was bad morals; we know now that it is bad economics."
-- Pres. Franklin Roosevelt, 20 January 1937
Hello,
I am trying to use the "reformat document" command in the stock JavaScript bundle. When I run this command I get the following PHP error:
PHP Notice: Undefined index: TM_BUNDLE_SUPPORT in /private/tmp/temp_textmate.i7oQrD on line 19
PHP Stack trace:
PHP 1. {main}() /private/tmp/temp_textmate.i7oQrD:0
PHP Warning: require(/lib/beautify.php): failed to open stream: No such file or directory in /private/tmp/temp_textmate.i7oQrD on line 19
PHP Stack trace:
PHP 1. {main}() /private/tmp/temp_textmate.i7oQrD:0
PHP Fatal error: require(): Failed opening required '/lib/beautify.php' (include_path='.:/usr/lib/php') in /private/tmp/temp_textmate.i7oQrD on line 19
PHP Stack trace:
PHP 1. {main}() /private/tmp/temp_textmate.i7oQrD:0
Can someone help me troubleshoot this? Have already lost several hours.
The fancy “new” web preview, not the built-in boring one. :)
I'm trying to create my own theme for the web preview and I have a couple of questions. I've got CSS in `~/Library/Application Support/TextMate/Themes/Webpreview/Liberation/style.css`. Among other things, it contains this:
body {
background: #FAF4DC;
font-family: "Liberation Sans";
}
pre, code {
font-family: "Liberation Mono";
}
So, my first question is: Why does this font get applied to all themes and not just when I select “Liberation” from the drop-down?
Second question…
I'm a plain-text e-mail guy, but on occasion, I'll want to copy and paste something out of the web preview (generated using Markdown) to send to Windows/Outlook-using coworkers that don't care about standards. Since they probably won't have the Liberation fonts, I tried to add some fallbacks like this:
body {
background: #FAF4DC;
font-family: "Liberation Sans, Helvetica Neue, sans-serif";
}
pre, code {
font-family: "Liberation Mono, Consolas, monospace";
}
This causes the font to be ignored completely and everything reverts to Times (again, in all themes). That should be valid CSS, so why does it break? Isn't this just being parsed by the system's WebKit?
Can I do what I'm trying to do? Thanks.
--
Rob McBroom
<http://www.skurfer.com/>
Hi,
I am trying to comment my functions using phpdoc, supported by php bundle.
Unfortunately I have a little problem, when I type:
/**
* Summary
*
* @return
*/
and the cursor is just after the "n" of "@return" tag, I cannot press the TAB key because the return chars are converted:
/**
* Summary
*
* @↩
*/
How is it possible to disable such behavior? I just want a tab space there.
Thanks!
--
Ciao
Fabio
at some point opening a file with Textmate from terminal like this $mate
filename worked great but some where along the way it does not work anymore.
Now I have to do this $open filename -a TextMate.
What do I need to do to get the shortcut working again ?
thanks,
--
Matthew Wallace
----------------------------------
http://mswallace.comhttp://twitter.com/mswallace
Hello,
i have a problem to use the "run MakeIndex"-function in Textmate.
If i try it, i got the following message.
Input index file report.idx not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Found 0 errors, and 0 warnings in 0 runs
index exited with status 1
I guess, that Textmate tries to use the wrong command. If i use "makeindex report.nlo -s nomencl.ist -o report.nls" in the terminal it is working fine. Is there any possibility, that i could change the command, which is used by the makeindexfunction?
Is it by the way possible to use a short key for "run makeIndex" and "run BibText"?
best regards
Malte
I'm new to the list, and I'm sure that this has been hashed, rehashed, and dragged up by every new member. What is the plan for it? Anything new besides what's on the blog?
Thanks,
-Josh
____________________________________
Joshua Kehn | Josh.Kehn(a)gmail.com
http://joshuakehn.com
Hi,
I was about to report a bug (I think I can use the word here), but I did my duty and searched the mailing list first, and I found an email dating from... 2004, which describes the exact same thing:
http://lists.macromates.com/textmate/2004-October/000581.html
I agree with item 1, that's exactly how I felt too (thought TextMate crashed until I realised I didn't have spinning pizza of death, to use the same wording).
Item 2 doesn't really bother me as I use the OakWrapColumns preference.
Item 3 is what I wanted to report: when using a black background, some weird things happen...
There's no really any question I guess, just to say this bug is still here.
Thanks,
enas
hey all,
so - I'm probably missing something or just brain-farting - but is there a way to have a popup menu of *just* the commands/snippets for the *current bundle* you're using?
basically like opt-esc but with just the current bundle's commands/snippets/etc
thanks,
bennett
> What do you see when you put the cursor somewhere in the CDSS and hit ??P?
>
> `source.css.embedded.html` should be on the list somewhere. If not, I?m guessing your HTML bundle has changed from the default somehow.
If I move inside the tags:
<style type="text/css" media="screen">
</style>
of and html page ( a .php page in html mode ), I see : text.html.basic and source.css.embedded.html
If I move to a css file and do the same, I just see source.css .
Thanks
--
Ciao
Fabio
Hi, I made two small changes related to the Reformat Comment command in the Source bundle. The first is to have the command respect the wrap column set in TextMate's interface. The second is a fix to the rubywrap.rb script; it previously did not handle empty comment lines correctly. For example, if you were to run
// lorem ...
//
// lorem ...
through rubywrap, it will add an extra space at the end of the empty line in the middle. Within the script a regular expression is used to identify comment lines, and this regexp would incorrectly match the newline at the end of the empty line; I changed it so that it only matches trailing spaces. A diff of the changes is attached.
I haven't noticed either of these changes causing problems that didn't exist before; maybe they could be rolled in to the Source bundle?
-Daniel Grady
Hi,
I'm interested in some SQL improvements for TextMate. I'm trying to implement a command to execute the selection or SQL line. Not the current textual line, but the SQL line from the beginning of the command to the ending semicolon which may span many textual lines.
I've made some progress with the grammar and understanding scopes. I think I need to create a "SQL Statement" scope, but I don't see how to write the ending regular expression for the semicolon. Is there a way to do this in the grammar that ensures the semicolon found is not in a string or comment?
And TM_SCOPE tells me what scope I'm in, but how to I get the text of the current scope?
Thanks,
John DeSoi, Ph.D.
Hello,
I just installed Textmate on OS X 10.6.4, but the disk image did not create
the Textmate folder in Application Support, which is perplexing. Has anyone
encountered this issue? Either way, does anyone know how I could resolve it?
Here are the steps I executed:
1. Downloaded Textmate.app from
http://download.macromates.com/TextMate_1.5.9.dmg
2. Launched disk image
3. Dragged Textmate.app to my user's Application folder
4. Launched Textmate.app
5. Entered previously purchased license
Thank you.
>> Hi, hmm for me it works. If I locate the cursor after "1em; ", type b and press ESC I can see the autocompletion stuff.
>
> What happens if your cursor is inside the css stuff and you press CTRL+ESC? Does the CSS bundle pop up? If not, is the CSS bundle available? Is the document set to HTML?
In an empty css file, I can hit Esc after a "b" and I will get all the list of possible choices like border, background etc., if I hit CTRL+ESC it opens a popup with the bundles list with the focus on CSS.
If I do the same in html mode inside css stuff, the ESC key does only show me keywords that start with "b" it shows only "body" "base" "big" "blockquote" "br" "button", seems like html autocomplete instead of css one.
If I hit CTRL+ESC it opens a popup with the bundles list with the focus on PHP Smarty and that could be the problem!
I have just see that if I disable PHP Smarty bundle the problem seems to be solved.
But what if I want to use both bundles? Is there a bug to be solved in one of the two packets?
Thanks!
--
Ciao
Fabio
Hi,
Would anyone be able to tell me how I can get TextMate to use zsh as the default instead of bash for running commands?
I've tried adding #!/bin/zsh at the top of commands but that just runs them through bash first and it's altering some of the commands along the way.
Any help is much appreciated.
Iain
Is there a way of modifying the Typeset & view command in the LaTeX bundle so
that it will run make before typesetting the .tex file?
I have a Makefile that is used to run a script that generates a .tex file
that includes information from the current Git repository. (I'm using the vc
package, hence the need for the Makefile.)
Thanks,
APC
--
View this message in context: http://old.nabble.com/Run-make-when-typesetting-a-.tex-file-tp29337376p2933…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
That's maybe a basic usage question, but I couldn't find any answer on my own or by searching through the mailing list.
Is there any way to specify that I want to keep the HTML output window of some command in the background?
What I'm doing is that I'm editing some latex document, and what I'd basically like is that when I trigger a compilation, the compilation window doesn't gain the focus. For one thing, this allows me to keep editing the document while compiling, plus, it allows, once the focus has been given to the PDF viewer (i.e. Skim) to switch back to the editor with a simple Cmd-Tab.
Is that possible?
enas
Most of the Hyperlink Helper commands in that bundle do not work for me.
For example, if I run the 'Look up selection on wikipedia and link' command, I get:
----
sh: : command not found
/Library/Application Support/TextMate/Support/lib/ui.rb:297:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filenew'
from /Library/Application Support/TextMate/Support/lib/ui.rb:20:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filecall_with_progress'
from /tmp/temp_textmate.Wzo5AT:63:in
----
What do I need to do to fix this?
Thanks,
Christopher