[TxMt] Re: TM2 bug when file simultaneously edited by vim

Reaves, Timothy treaves at silverfieldstech.com
Thu Dec 29 17:03:45 UTC 2011


It's possible that vim doesn't save a temporary file; rather, it renames
the current file to the backup, and saves the new file as the original
name.  If this is the case (some editors do this), then TM is reflecting
the open inode more than the file by name.



On Thu, Dec 29, 2011 at 10:26 AM, Yi Zhang <yizhang84 at gmail.com> wrote:

> Hi,
>
> Not sure if this has been reported before, but here is how to reproduce
> the bug:
>
> 1. Open a file a.txt with TM2 Alpha.
> 2. Use another program, say Vim, to edit that file while it is opened by
> TM2, and save the changes.
> 3. Switch back to TM2 and the file name (window title) becomes a.txt~.
>
> What should happen:
>
> TM2 should prompt to reload the externally modified file instead of open
> Vim's temp file.
>
> -Yi
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20111229/e4f77511/attachment.html>


More information about the textmate mailing list