<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 24 Aug 2016, at 2:40, Carpii UK wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">I've since noticed this only happens after getting an Atomic File Save
</div><div dir="auto">failure, so its all kinda linked back into the original problem I was
</div><div dir="auto">having with Atomic Save failures, the difference is I;ve since tried to
</div><div dir="auto">reconfigure SMB a bit
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">So even after you disabled the support for mangled Windows 95 names, you are still seeing failure from atomic saving?</p>

<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">I plan to try and branch TM to disable Atomic Saves for certain paths (like
</div><div dir="auto">/Volumes/*)
</div><div dir="auto">I've dug through the source a little, but this change doesn't seem trivial,
</div><div dir="auto">so any gotcha's or pointers would be appreciated
</div></blockquote></div>
<div style="white-space:normal">

<p dir="auto">TextMate reporting “Atomic Saving Failed” is a bit of a misnomer.</p>

<p dir="auto">I think I described it earlier, that on a network file system it would create a new <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">/path/to/file~</code> and then run <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">mv /path/to/file~ /path/to/file</code>.</p>

<p dir="auto">So what you probably want is to instead open the original file directly and just overwrite it, so you are not disabling a feature, your changing the code (to be less safe).</p>

<p dir="auto">I mentioned some tests in the thread about atomic saving, if it still fails for you, evne with the name mangling support disabled in SMB, it would be good to get the results from these tests, as then TextMate could maybe handle the issue better.</p>
</div>
</div>
</body>
</html>