Send textmate mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of textmate digest..."
Today's Topics:
1. $TM_FILENAME (Jasper van der Meulen)
2. Re: Edit (files) in TextMate from the finder (guerom00)
3. Re: $TM_FILENAME (Jasper van der Meulen)
4. Re: Opening a project with Quicksilver (Raheel Ahmad)
5. Re: Find: Ignore Whitespace (Hong Jiang)
6. MultiMarkdown conversion to LaTeX (Jeroen van der Ham)
7. Re: MultiMarkdown conversion to LaTeX (Allan Odgaard)
8. TODO Bundle broken? (Brendan Dixon)
9. Re: Textmate bundle disappeared (Bruno)
10. Re: TODO Bundle broken? (Allan Odgaard)
Date: March 1, 2007 7:25:27 AM PST
Subject: [TxMt] $TM_FILENAME
I'm trying to get $TM_FILENAME to first string uppercase ..
Is there an easy way ? i can't figure it out
regards J.
Date: March 1, 2007 7:25:57 AM PST
Subject: [TxMt] Re: Edit (files) in TextMate from the finder
To be consistent, I made myself a trigger
with the shortcut Ctrl-Cmd-E for this ;)
Date: March 1, 2007 7:33:52 AM PST
Subject: Re: [TxMt] $TM_FILENAME
Sorry, i did make a typo, that's why it didn't work for me. ..
here's the solution
${TM_FILENAME/(.*?)(\..+)/\u$1/}On Mar 1, 2007, at 4:25 PM, Jasper van der Meulen wrote:
I'm trying to get $TM_FILENAME to first string uppercase ..
Is there an easy way ? i can't figure it out
regards J.
______________________________________________________________________
(threading gets destroyed and the universe will collapse if you don't)
Date: March 1, 2007 7:48:19 AM PST
Subject: Re: [TxMt] Opening a project with Quicksilver
Thanks,
This worked best for me.
On Mar 1, 2007, at 6:23 AM, Allan Odgaard wrote:
On 1. Mar 2007, at 05:10, Raheel Ahmad wrote:
I am assuming most of us here are familiar with Quicksilver. I wrote a bash script to open a project and some of its files in Textmate in an obvious fashion:
#!/bin/bash
mate ~/Documents/infodump
mate ~/Documents/infodump/tsks.txt
How can I run this script using Quicksilver? Only way I can is by running this script file using "Run in Terminal." "Run" by itself doesn't do anything with the script file.
Likely because when you just ‘run’ it, it is done by Quicksilver, which does not have the same PATH as the Terminal, and so, there is a chance ‘mate’ is not found.
Try to use the full path to mate in the script.
As an alternative to mate, you can use: open -a TextMate ~/Documents/infodump
______________________________________________________________________
(threading gets destroyed and the universe will collapse if you don't)
---------------------------
Raheel Ahmad
Department of Computer Science,
Southern Illinois University
618-453-6025
Faner-3123
Date: March 1, 2007 7:59:16 AM PST
Subject: Re: [TxMt] Find: Ignore Whitespace
If you want to search for the whole thing ignoring whitespaces and
newlines, you need to insert \s* between the words and symbols. For
example:
\s*}\s*elseif\s*(\s*$action\s*==\s*'update_product'\s*)\s*{\s*\$update_sql_data\s*=\s*
....
Make sure to escape regex symbols that occur in your string.
Andy,
Thanks for your reply. I have tried that and it doesn't work for me.
Maybe I am doing it wrong.
How would you use regex to ignore whitespace and newlines in this text?
} elseif ($action == 'update_product') {
$update_sql_data = array('products_last_modified' => 'now()');
$sql_data_array = array_merge($sql_data_array,
$update_sql_data);
tep_db_perform(TABLE_PRODUCTS, $sql_data_array, 'update',
"products_id = '" . (int)$products_id . "'");
}
______________________________________________________________________
(threading gets destroyed and the universe will collapse if you don't)
Date: March 1, 2007 8:19:01 AM PST
Subject: [TxMt] MultiMarkdown conversion to LaTeX
Hello,
Today I discovered the MultiMarkdown capabilities and thought I'd use it
to make a LaTeX document. However, now that I'm actually trying the
conversion, it does not work as expected:
xslt chokes on the output because there is no envelopping top level tag.
Meaning, that if you have for examples two paragraphs of text, then you
get the error:
-:3: parser error : Extra content at the end of the document
Is anybody maintaining this bundle? How can this be fixed?
I tried using tidy on it before handing it to xslt, but then I only get
the bibliography part of the output. And I'm not fluent enough in xslt to
figure out what is going wrong there....
Jeroen.
Date: March 1, 2007 8:23:02 AM PST
Subject: Re: [TxMt] MultiMarkdown conversion to LaTeX
On 1. Mar 2007, at 17:19, Jeroen van der Ham wrote:
Today I discovered the MultiMarkdown capabilities and thought I'd use it
to make a LaTeX document. However, now that I'm actually trying the
conversion, it does not work as expected:
xslt chokes on the output because there is no envelopping top level tag.
[...]
You need to insert: ‘Format: Complete’ in the top of the document.
I think I have a note somewhere about making the build command(s) check it and either warn or just add it silently :)
Date: March 1, 2007 11:28:33 AM PST
Subject: [TxMt] TODO Bundle broken?
Running the pristine copy of TODO from build 1360, I get the following error message:
/tmp/temp_textmate.pXvDHC:19:in `require': No such file to load -- /Users/brendan/Library/Application Support/TextMate/Support/lib/plist (LoadError) from /tmp/temp_textmate.pXvDHC:19
Any ideas?
Brendan Dixon
425.922.8798
Date: March 1, 2007 11:33:32 AM PST
Subject: [TxMt] Re: Textmate bundle disappeared
What is the contents of ~/Library/Application Support/TextMate ?
Well, there was a copy of 'TextMate.tmbundle' in 'Pristine Copy/Bundles', so I moved it to Bundles and restarted TextMate.
It worked! My 'Language Definition' bundle disappeared, and there was a TextMate bundle in my list instead.
I think that's fixed it. Thanks everybody for the advice. :-)
And incidentally, I noticed the Themes folder, and realised that my syntax colouring was independent of my preferences (probably obvious to most people).
Bruno
Date: March 1, 2007 11:45:52 AM PST
Subject: Re: [TxMt] TODO Bundle broken?
On 1. Mar 2007, at 20:28, Brendan Dixon wrote:
Running the pristine copy of TODO from build 1360, I get the following error message:
/tmp/temp_textmate.pXvDHC:19:in `require': No such file to load -- /Users/brendan/Library/Application Support/TextMate/Support/lib/plist (LoadError) from /tmp/temp_textmate.pXvDHC:19
Any ideas?
This will happen if you have checked out a recent version of the Support folder from svn, but not the bundles, since we moved the plist ruby ext. to another location (so it doesn’t clash with the rubygem plist ext.)
I am going to push an update in a few days -- for a fix now, either remove your Support folder checkout, or checkout latest version of the ToDo bundle.
_______________________________________________
textmate mailing list