[TxMt] TextMate Project in Version-Control Annoyance

Allan Odgaard throw-away-1 at macromates.com
Mon Jun 5 10:56:21 UTC 2006


On 3/6/2006, at 9:43, Eric Coleman wrote:

>>> XcodeProject.xcodeproj/
>>>   project.pbxproj  <----- The _real_ project file.
>>>   myusername.mode1 <---- other stuff.
>>>   myusername.pbxuser <---- more stuff.
>
> Allan,
>
> Any chance of you implementing something like this :)

I have just committed an update to lib/bash_init.sh:

    • add semi-experimental sourcing of all
      .textmate_init files found by going up the
      directory hierarchy, starting with the current
      directory and ending with either the users home
      directory or the root of the file system
      (whichever comes first)

    The intent is that project specific variables
    should instead be stored in this file — in the
    current 1.5 branch this does degrade usability
    slightly, because there is no GUI support, but I
    believe that long-term this is a much better
    system, and 2.0 is likely to come with GUI support
    for this initialization procedure.

In other words, create a .textmate_init file in the project directory  
and let it contain e.g.:

    export TM_LATEX_MASTER=master.tex

And then just forget about the project variables settable via the  
project drawer -- this of course starting with next build, unless you  
have a checkout of the Support directory.

Comments on this new system are of course welcome, as I am not fully  
decided on it yet, but I think it is the way to go, especially seeing  
how I do not want to rely on tmproj files for 2.0.





More information about the textmate mailing list