[TxMt] Re: Serious Bug: Fails to truncate files properly

Todd Blanchard tblanchard at mac.com
Tue Jul 12 17:48:09 UTC 2011


See below
On Jul 9, 2011, at 4:15 PM, Steve King wrote:

> I've never seen this behavior either, and I use TextMate pretty much constantly.  Forgive any dumb questions, I have my troubleshooting hat on...
> 
> * Are you saving files to the local disk, or a network share?

Both local disk and iPhone mounted disk

> * If local, is anything else accessing the file? (ie., is it open in another editor at the same time?)

It may be open in Safari or the iPhone web browser - doesn't seem to matter which.

> * If network, what's the filesystem and how is it mounted?

N/A

> * Do you have atomic saves enabled?

I didn't even know about these - seems the answer is 'no'.  I'll bet when I turn it on the problem goes away.

> * Does this happen when you add lines to a file, or only when you delete lines?

Delete lines - file has to shrink.

> * When you see the garbage, is it text from the same file or from a different file?

Same file

> * If you save the file (but not close it in TextMate) then immediately 'cat' it from the command line, is the garbage there?

Sometimes

> * What is the file's text encoding? Do you have any Unicode characters in there?

US-HTML so while I always choose UTF8 it is the ASCII subset.

> * Do you have any TextMate plugins installed?

None.



More information about the textmate mailing list