[TxMt] Adding Latex Word count and paths with spaces - a little off topic

Graham Smith myotisone at gmail.com
Sun Mar 9 09:52:16 UTC 2008


Allan,

Thanks for this, it exactly answered my question :-)

And thanks for TextMate, I really like it and even though I hadn't used it,
simply reading about it influenced my decision to buy a Mac.

Graham

On 09/03/2008, Allan Odgaard <throw-away-2 at macromates.com> wrote:
>
> On 7 Mar 2008, at 09:00, Graham Smith wrote:
>
> > [...]
>
> > 1. Is there a "good practice" place to put such snippets of code
>
>
> When a bundle item requires a certain script it can be put under
> Support/bin in the same bundle.
>
> The Support folder of the bundle is exposed as the TM_BUNDLE_SUPPORT
> environment variable (and "$TM_BUNDLE_SUPPORT/bin" is automatically
> put in the PATH for bundle commands w/o a shebang).
>
>
> > 2. I put it in ~Library/Application Support/Textmate/Code
> >
> > Adding the "Code" folder to the existing directory tree.
> >
> > But this led me to a new problem in that I couldn't work out how to
> > get that
> > directory tree  found when trying to run the code. In Windows,
> > because of
> > the space in "Application Support"  I would gve the full and wrap it
> > in
> > quotes, but the cmbinations I tried failed to work.
>
>
> Not sure exactly how you call what, but you want either:
>       ~/Library/Application\ Support/Textmate/Code
> or:  "$HOME/Library/Application Support/Textmate/Code"
>
> The tilde is not expanded inside quotes, likely that was your problem.
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080309/59f26e80/attachment.html>


More information about the textmate mailing list