all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

* Re: emacs fails to backup
  2002-05-12 14:49 emacs fails to backup Andries.Brouwer
@ 2002-05-13 14:54 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2002-05-13 14:54 UTC (permalink / raw)


>>>>> "Andries" == Andries Brouwer <Andries.Brouwer@cwi.nl> writes:
> Normally my Linux trees are mounted on /linux, or /mnt or
> other directories. Today, on this computer, it was /tmp/linux.

Sounds like a bad idea to me, as a sysadmin.


        Stefan

^ 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.