When scanning my latex document with the TODO bundle, I get the following message.
Scanning directory: ~/Documents/tex/papers/2010/O3Buffer/RevSciInstr_Buffergas/O3Buffer
(erb):4: undefined method `+' for nil:NilClass (NoMethodError) from /Applications/Editors/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/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `each' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `grep' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in `open' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75:in `each' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `call' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `each_text_file' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:71
I have reinstalled textmate several times and everything worked for a while before TODO would give the same message again. Since I am not at all familiar with ruby I did not try to understand the ruby code of the TODO bundle.
I am using TM Version 1.5.9 (1589) under the latest snow leopard OS.
Because I really like the functionality of the TODO bundle I would be happy if anyone could tell me what to do or confirm that this problem exists elsewhere.
Thanks for consideration
I frequently pipe the output of Terminal.app commands to view/search with
TextMate, but for commands like "ls -al --color=always" I'd like to still
see the ANSI terminal colors even though I keep the piped output in Textmate
for future reference.
So something like
% echo -e "\\e[0;32mCOLOR_GREEN\\t\\e[1;32mCOLOR_LIGHT_GREEN\\e[0m"
would show up (colored) in TextMate as
It'd be fine if the actual escape codes were still there but de-emphasized.
If nothing else, it would save me from running a regex through
search/replace to remove the ANSI escape codes when my output already took a
while to generate. And I like the "do it once, keep it forever" factor of a
TextMate bundle ;)
If there's any existing bundle which has those codes already in a language
grammar, I'd appreciate it.
-rwx--x--x 1 dzurnlocal 515 2010-04-14 16:16 [0m[01;32mcolors.sh[0m*
lrwxr-xr-x 1 root 9 2007-07-05 10:06 [01;36m2-sym_link[0m ->
brw-r--r-- 1 root 14, 0 2006-06-09 15:38 [01;33m6-block_special[0m
crw-r--r-- 1 root 3, 2 2006-06-09 15:38 [01;33m7-char_special[0m
-rw-r--r-- 1 dzurnlocal 0 2006-06-09 15:38 0-file
drwxr-xr-x 2 dzurnlocal 68 2006-06-09 15:38 [01;34m1-directory[0m/
-rwxrwxrwx 1 dzurnlocal 0 2006-06-09 15:38 [01;32m5-executable[0m*
-rwsrwxrwx 1 dzurnlocal 0 2006-06-09 15:38 [37;41m8-exe_setuid[0m*
-rwxrwsrwx 1 dzurnlocal 0 2006-06-09 15:38 [30;43m9-exe_setgid[0m*
drwxrwxrwt 2 dzurnlocal 68 2006-06-09 15:38
drwxrwxrwx 2 dzurnlocal 68 2006-06-09 15:38
View this message in context: http://old.nabble.com/Colorizing-ANSI-Terminal-output-in-TextMate--tp282560…
Sent from the textmate users mailing list archive at Nabble.com.
I'm just trying out -- eagerly -- Alex Ross', er, lasersox's (great
anagram work, btw ;) new Latex2 bundle, which promises (much desired,
much welcomed) speed. Now, I stumble upon a dialogue prompt titled
"pdftex" asking for "Enter file name", to "Send" or "Send EOF" (the
latter, "end of file"?!, cancels everything). I'm stymied (a word I
learned from LaTeX many years ago). What to do? what file to provide?
Of course, falling back to the Latex legacy bundle, TeXing proceeds,
while slowly, uninterrupted. Btw, I'm still on TeXLive-2008 (hell, I'm
still running 10.5, even).
Any help would be highly appreciated (I did look for, but I did not
find any clarifying documentation).
I'm very join you people. Thanks for developer too for developing so nice and strong
programming editor. An alternative way we can work with Skim. First open Skim and then
textmate no problem occur.
with best regards,
On Apr 9, 2010, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> Message: 1
> Date: Thu, 8 Apr 2010 16:37:52 -0700
> From: Steven W Riggins <mailinglists(a)geeksrus.com>
> Subject: [TxMt] merging columns of text
> To: Textmate Mailing List <textmate(a)lists.macromates.com>
> Message-ID: <EB031447-6AE7-4675-8BDC-5C2F5CD83D5F(a)geeksrus.com>
> Content-Type: text/plain; charset=us-ascii
> if I have
> on the clipboard, can I paste it in front of (line by line)
> Thanks! (Simple example of my task)
If your final task is as simple as your example, toss this in a command snippet.
from subprocess import PIPE, Popen
selection = os.environ.get('TM_SELECTED_TEXT').splitlines()
if not selection:
print 'Cut text to go second, then make selection for text that goes first'
clipboard = Popen(["pbpaste"], stdout=PIPE).communicate().splitlines()
selection_len = len(selection)
clipboard_len = len(clipboard)
if selection_len != clipboard_len:
sys.exit("Selection (%d) and clipboard (%d) don't have the same number of lines" % (selection_len, clipboard_len))
print '\n'.join([' '.join(x) for x in zip(selection, clipboard)])
I'm setting up a new TextMate environment for work on a new computer and for the life of me
Can't get my AS3 class path preference setup correctly. I'm using Simon Gregory's Actionscript 3 Bundle.
I've already set different variations within the Preferences > Advanced > Shell Variables
For TM_AS3_PATH but it's not finding the directory I have set for that variable.
Is there a setting to set within the flex-config.xml that I'm missing?
Any tips or links would be much appreciated. I've tried the Google machine already.
Hello! I will be out of the office from Monday, April 5th through Friday, April 9th. I will not have access to my email, but I will be sure to respond to your note upon my return on Monday, April 12th.
If you require immediate assistance, please contact our offices at 402-827-3590.