[SVN] simple command derived from TODO not working

Allan Odgaard throw-away-1 at macromates.com
Sun Feb 11 15:28:28 UTC 2007


On 8. Jan 2007, at 17:33, Davide Benini wrote:

> Hello folks.
> I am trying to build a new command by tweaking the "Show TODO list"  
> command in the TODO bundle.
> I would like to make a command that shows all the labels in my  
> LaTeX projects
> For a start, I tried to copy and paste the whole content of the  
> "Show TODO list" command into a new command. This new command (a  
> mere copy of show TODO list) works only when in the TODO bundle; as  
> soon as I move into a different bundle, it stops working, and  
> generate an error:
>
> /tmp/temp_textmate.DxFftc:76:in `initialize': No such file or  
> directory - /template.rhtml (Errno::ENOENT) from /tmp/ 
> temp_textmate.DxFftc:76:in `open' from /tmp/temp_textmate.DxFftc:76
>
> Should I change some particular variable? I didn't see anything  
> that seem related to this mistake in the ruby code.

It loads a template.rhtml file from the current bundle. There is such  
template (under Support) in the TODO bundle, but not your new bundle,  
so you will need to copy over the template.




More information about the textmate-dev mailing list