On 29 nov 2009, at 10:00, Allan Odgaard wrote:

On 26 Nov 2009, at 22:53, Gert van Oss wrote:

Currently the TODO Bundle is giving me this message.

Is that all it gives you? No line number or anything?

No indeed this is not all that appears. Maybe the info below (from CTRL-SHFT-T with active file saved on Desktop) can shine some light on the issue?

Scanning directory: ~/Desktop

(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:750: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 /Applications/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `call' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `each_text_file' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:71 


I've searched the list and tried solutions given on page:

http://manual.macromates.com/en/bundles#support_folder.html

I am not sure how that is relevant, instead see the pages at http://wiki.macromates.com/Troubleshooting/

I've tried many things including removing the Bundels folder /Library/Application Support/TextMate/Bundles.
Choosing Bundles → Bundle Editor → Reload Bundles doesn't make the folder Bundles appear again. Though the Latex Bundle and many others work but not TODO.

Thanks,
Gert