[TxMt] TextMate Project in Version-Control Annoyance

Eric Coleman eric at aplosmedia.com
Mon Jun 5 14:23:56 UTC 2006


I like the project files, and that it keeps references & variables,  
HOWEVER, the issue is that it keeps track of window position and open  
files, so every time I do a commit the file is always modified.

If those were stored somewhere else it would be much easier to  
maintain..

Eric Coleman

On Jun 5, 2006, at 6:56 AM, Allan Odgaard wrote:

> 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.
>
>
>
> ______________________________________________________________________
> 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




More information about the textmate mailing list