>>>> "eric" == eric nadler
<eric.nadler(a)adic.com> writes:
eric> Unfortunately, I saw this a couple of weeks ago. I think
eric> what happened to me was that I had a full file system. Then
eric> I opened a file with XEmacs, modified it and tried to save
eric> it. That resulted in the file being truncated to 0 bytes.
eric> I was running under Red Hat 7.3.
The default XEmacs save strategy is (1) rename the original to serve
as backup; (2) write the buffer into the new file. As far as I know
XEmacs does not attempt to overwrite existing data; the data is
preserved under a different name.
In the case at hand, you should get a "Writing file: No space left on
device, /floppy/Notes" error. The last saved version of the file
should still be there, renamed to the backup name. Quite likely there
will be a recent autosave file containing most buffer modifications.
Are any of these not true? Have you changed XEmacs's backup strategy?
It's arguable that when the save fails, the partially saved file
should be deleted and the backup file renamed to the original name. I
don't like this for a couple of reasons. (1) The partial file may
contain buffer modifications you would like to preserve. (2) You may
not notice that you don't have a backup for this file anymore.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.