[TxMt] File Tab "~" : Bug? Feature?

Allan Odgaard throw-away-1 at macromates.com
Thu Aug 3 12:40:50 UTC 2006


On 3/8/2006, at 0:43, Steven Loe wrote:

> [...] What is the significance does the tilde at the end of the  
> filname in the file
> tab have?  Is this a feature? or a bug?

Many text editors keep a backup [1] of the file by adding ~ to the  
end of the name.

TextMate does not. So my guess would be: you edited the file with  
another editor, this editor did not clean up the ~ version, then you  
opened the backup instead of the original file in TM, and edited that.

Either the ~ file is still there (with the changes you said was  
reverted) or you may have again edited the file in the other editor,  
which removed the backup.


[1] It’s not really a backup, it’s more of keeping a version of the  
changes on disk while the file is being edited by the user, incase  
the system/editor is unexpectedly terminated.




More information about the textmate mailing list