help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Re: Temp files in the temp directory


From: Francis Litterio
Subject: Re: [h-e-w] Re: Temp files in the temp directory
Date: Fri, 20 Feb 2004 07:54:01 -0500
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix)

Peter Kaiser wrote:

> Jason Rumney wrote:
>
>>> Where is it documented that when NT emacs reads, alters, and writes a file 
>>> in
>>> the %TEMP% directory -- say, on Win2K -- it doesn't create a backup file?
>> Emacs does not create backup files for simply reading a file. It does
>> create autosave files after the file is altered (though not
>> immediately), and it creates backup files when a file is saved. There is
>> no special treatment for %TEMP%.
>
> What you describe is what I'd expect.  However, I've monitored emacs's 
> behavior
> using the Sysinternals file monitoring utility FILEMON, and in %TEMP% emacs
> doesn't do this.
>
> With NT emacs I read, modify, and save a file.  FILEMON shows that emacs
> normally renames the original file to its backup name, then writes the 
> modified
> buffer under the original name.

See variable backup-enable-predicate.  Perhaps its value is suppressing
backups in that directory (as it does in /tmp on UNIX systems).
--
Francis Litterio
address@hidden
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]