* emacs fails to backup
@ 2002-05-12 14:49 Andries.Brouwer
2002-05-13 14:54 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Andries.Brouwer @ 2002-05-12 14:49 UTC (permalink / raw)
Usually, emacs will save a backup of a file that was edited.
There are good and bad sides to this, but that is what
emacs does by default, and one comes to depend on it.
Today I lost some time because emacs failed to make a backup.
Normally my Linux trees are mounted on /linux, or /mnt or
other directories. Today, on this computer, it was /tmp/linux.
Edit a file, with the purpose of sending off the resulting
diff after
diff -u file~ file
but there was no file~.
Investigation of the info file shows that, indeed, if one is
deep below /mnt then things are saved, but if one is deep below
/tmp then things are not saved. Bad. Very bad context dependence.
This means that the default version of emacs will make backup files
when you don't need them, but that you cannot rely on getting the
backup when you depend on it. The worst of all worlds.
Andries
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-13 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-12 14:49 emacs fails to backup Andries.Brouwer
2002-05-13 14:54 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).