Am bumping into an issue assigning a due date to an action.
I get the date picker OK but when I submit a date, I get this error
written to my .gtd file:
/usr/local/lib/ruby/1.8/date/format.rb:230:in /bin/bash: -c: line 1:
unexpected EOF while looking for matching `''
Any clues appreciated.
I couldn't find the last thread, so I just open a new one.
There were some problems with LaTeX label completion and I especially
had problems when using subfolders in projects.
If the latex master file is in a subfolder, then there are three
posibilities for TM_LATEX_MASTER.
1. Give the full path to the master file:
In this case everything works, but I don't like this, because then you
cant move your projects to another place without having to change
2. Use the string 'subfolder/master.tex'
Typeset+View will work, label completion will not work.
3. Use the string 'master.tex'
Typeset+View will not work, but label completion will work in all files
that are in the same folder as master.tex
So parsing of subfolders is implemented in a different way for
Typeset+View and label completion. Would be nice if this was fixed.
natbib defines a set of cite commands that start with an uppercase C
(e.g. \Citep), which are meant to be used at the start of sentences,
especially if the author name starts with a lowercase letter (as in
The current TextMate highlighting doesn't recognise these commands as
citation commands. However, this is easily fixed by changing the first
occurrence of "cite" to "[Cc]ite" in the language definition.
The fix seems to work fine, so I was wondering whether this should go
into the main release.
Dear TextMate users
TextMate's LaTeX.bundle is really nice, but there is one thing that
bothers me when editing LaTeX documents with hard line wraps.
Reformatting a paragraph (with Crtl + q) does not behave the way I
would expect. Emacs is very smart when reformatting paragraphs in
LaTeX and I would love to see some of these features in TextMate too:
* currently reformatting an equation or figure environment messes up
the layout completely
* section titles should be kept on a distinct line and moved within
* reformatting paragraphs that are commented should adjust the line
length and keep the paragraph commented
* putting a single % character at the beginning of a line divides a
paragraph into 'reformatting units'. When reformatting a paragraph,
the reformatting operation does not cross these % boundaries
* no reformatting should occur in math environments
In summary, reformatting should adjust the line-length but respect
LaTex commands and environments.
It looks like the LaTeX mode currently does not provide LaTeX
specific reformatting, but uses standard plain text reformatting.
Would it be difficult to change the behaviour? I assume that
implementing smart Emacs-like LaTeX reformatting requires the
bundle's grammar to provide a specific scope for marking the unit of
text (i.e. a paragraph) that should be subject to the reformatting
operation, e.g. text.tex.paragraph.
Does anyone have an idea, how to implement this?
Christian Plessl christian(a)plesslweb.ch http://plesslweb.ch
I use Version 1.5.5 (1368) on Intel MacBookPro 10.4.10 and have the
I created a new TM project and dropped a large folder in the project
drawer. To have shorter search times I removed the references of some
subfolders. Then I saved the project.
After quitting and restarting TM with the project, the removed folders
How can I remove subfolders from a project that will stay removed
after restarting TM?
I know it is a bit off-topic but I believe it could also be
interesting for some TM users ;)
I'm just writing a grep-like command line tool based on the Oniguruma
library to work with UTF-8 data.
It works perfectly, and in many many cases it's faster than grep ;)
In order to be sure that this command line tool written in pure C
works on other Macs as well, I'd be appreciate if someone has a bit
time and a bit free hard disk space to check whether it runs for her/
him too. Especially whether it runs on a Intel Mac.
To run onigrep it is necessary to install the Oniguruma dylib in
beforehand. To do this simply
- download the source code from http://www.geocities.jp/kosako3/
- untar it
- cd in that folder
sudo make install
Normally Oniguruma dylib is installed in /usr/local/lib.
[I believe to use the external dylib is the best choice because
Oniguruma will be better and better. So you only have to upgrade the
dylib and not onigrep.]
Now you can run onigrep. For help type 'onigrep --help'. Up to now it
only reads UTF-8 data from stdin.
[Please note, if you did't copy onigrep in a folder listed in $PATH
you have to write the entire path to onigrep or if you're in the
folder where onigrep is located just type ./onigrep]
Some features in short terms:
- utf-8 support (that means a '.' is really one Unicode character)
- ignore case also works for all Unicode characters, not only for ASCII
- you can search across \n; multi-line mode
- ignore combining diacritics (for that you have to decompose
accented characters according the Unicode canonical decomposition
(I attached such a tool. It is called 'unorm'. For help run 'unorm
echo "Ag̀nes" | ./onigrep -id -i -o "a(.)n"
will output 'g̀'
echo "Ag̀nes" | ./onigrep -i -o "a(.)n"
will output nothing because ǵ is written with two Unicode
- it is faster than grep in many cases:
cat /usr/share/dict/web2 | ./onigrep "y$" -c
cat /usr/share/dict/web2 | grep "y$" -c
- option -cl counts the matches per line
onigrep "\w+" -cl -n
How many words per line?
- you can write the regexp without escaping '(', ')', etc. as with grep
Please note, onigrep is still work in progress.
Many thanks in advanced und any feedback (suggestions, bugs, wishes)
PS onigrep and unorm will be available for free.
PPS One possible meaning of the Japanese word "Oniguruma" is "Devil's
wheel" like Textmate's icon ;)
On Jun 24, 2007, at 07:00 , textmate-request(a)lists.macromates.com wrote:
> On Jun 23, 2007, at 9:01 AM, John Laudun wrote:
>> Now, I know I could write an AppleScript -- okay, I've never been
>> any good with AS, but it's there -- I was just hoping that I could
>> not and thus be able to work entirely within TextMate. All I need
>> is a keystroke, or perhaps two, that would start and stop playback
>> of an MP3 file. (I assume I would have to do this through
>> QuickTime, but if there's a simpler command-line tool that could
>> do this, that would be fine with me.) The only wrinkle I would
>> like to add would be to be able to set an "auto-rewind" to the
>> START or STOP command so that when playback commenced again it
>> would start X seconds backwards from where it stopped. Setting
>> this X in a config file of some kind would be fine with me.
> Okay, I created three commands which should get you started. I put
> these in a bundle together which is attached. You'll probably want
> to change the key bindings.
> ⇧F1 Start Current Movie - Plays the frontmost window in Quicktime
> Player after rewinding it by two seconds.
> ⇧F2 Stop Current Movie - Stops all movies in Quicktime Player.
> ⇧F3 Rewind Current Movie - Rewinds the frontmost window in
> Quicktime Player to the beginning.
> So just open your MP3 in Quicktime Player and away you go. BTW, I
> figured out the scripts by looking here:
Those are brilliant and work quite well.
And, yes, I should have read up more on Applescripting Quicktime, but
I did not know about using osascript within TextMate.
Many, many thanks!
I've had a problem with the find dialog. It does not crash, but all the
buttons (not the text fields!) simply become unresponsive. It's been
reported before, but I just experienced it twice in a week.. :(
The only workaround that I know is to restart TextMate, which is bloody
Anyone else experiencing this more now as well?
: November 2005!
There may be an obvious answer to this question - if so, my apologies,
but I can't see it!
Is there any way to search (and replace) within only a subset of the
files within a project?