It occurred to me that quite a few bundles (okay, at least one) make
use of /tmp.
I've been using /tmp/<uid>/ as several other applications under OS X
seem to use this directory, though I just realized it doesn't always
exist so I'm not sure which app creates it in the first place. I note
some applications also use /tmp/$USER/... Of course, there's always
just using /tmp directly.
Anyway, I'm wondering if it might be useful for:
a) All TextMate bundles to use a standard per-bundle temporary location.
b) For TextMate to create the top of this location at start and clean
it up at quit.
For example, TextMate might set TM_TMPDIR to /tmp/textmate-$USER/
<bundle_name> for each bundle, and create /tmp/textmate-$USER at
startup and remove (recursively) /tmp/textmate-$USER at quit.
Mostly thinking out loud.
Useful or not worth the trouble?
j.
Hi Folks,
Is there method to get a list of all current labels when writing a
tex document? Sometimes that would be easier for a proper selection.
Thanks
Christian
I'm writing a bundle for GNU Forth - mainly for giggles although I'll
release it if it gets good enough. I'd like ⎋ completion to be able to
complete Forth words - which can include any non-space character. Is it
possible to define the 'word characters' on a per-grammar basis?
--
Andy Armstrong, hexten.net
Since I'm lazy by nature :), when I create a new Project I don't save it
right away.
So yesterday, I shut down my Mac and TextMate prompted me to Save the New
Project, which I did. The project had about 15 or 20 tabs opened at the
time.
This morning I start up TextMate but none of the previously opened files
appeared. The project window was blank. I assume this is not expected
behavior since all my other projects open with the files they closed with. I
also had 2 other Projects visible at the time I shut down but likely it
doesn't affect this bug.
Thanks,
Ed
I'm working on adding a command to the TWiki bundle that creates a new
document with the raw text of an indicated TWiki URL. (I'll submit a
patch once I'm happy with it.) It would be nice if my command would
set the language of the new document created to "Twiki". How do I do
that?
I thought perhaps I could define a macro (and add it to the bundle)
that calls my command and then sets the language, but I couldn't seem
to get the macro recorder to record my command (or setting the
language).
--
Daryl
Hi
I installed ruby 1.8.5 and rails on mac osX 10.4.9 via darwinports.
Ever since, using the run command (cmd-R) for ruby programs from
textmate (latest version) gives me:
"/bin/bash: line 4: Sat Apr 21 17:18:00 CDT 2007 /usr/local/bin/ruby:
No such file or directory"
Interestingly, I get the same message if I try to run a python program
from textmate as well.
There is a file 'ruby' in /usr/local/bin/ and a file 'ruby' in /usr/
bin/ruby
>From the command line, "whereis ruby" gives me /usr/bin/ruby
Additionally, if I do the following:
>> 1. Open a new TM document
>> 2. Type echo $HOME
>> 3. Press control-R on that line of shell code
I get:
/Users/charleslsnyder
I previously posted this in the ruby group, but it is really a textmate
problem, and it was suggested I move the question to this group...
TIA
C L Snyder
A while ago there was a post about LaTeX syntax highlighting in the case of
\newcolumntype{R}{>{$}r<{$}}
where the math mode highlighting would leak outside the brackets.
Apparently this is now highlighted correctly in the stable version of
TextMate. Quoting from the original thread:
>> Should more complicated examples ever arise, I guess I can just put
>> the problematic lines into a separate file and use \input.
>>
> Or just let us know, and we'll try to fix it ;)
>
> Haris
Well, if you're asking for it, Haris, I'm frequently using constructs
like this one:
\newcolumntype{q}{>{$\rm}l<{$}}
which, unfortunately breaks the highlighting. My current workaround is this:
\newcommand{\eat}[1]{}
\newcolumntype{q}{>{$\rm\eat$}l<{$}}
But then again, this breaks syntax highlighting for another editor,
which I'm using on a Linux system.
Any ideas?
cheers
Hendrik