gnu.emacs.help
[Top] [All Lists]

Re: A *real* auto-save-mode?

Subject: Re: A *real* auto-save-mode?
From: David Kastrup
Date: Wed, 23 Jan 2008 09:15:48 +0100
Newsgroups: gnu.emacs.help

shreevatsa <shreevatsa.public@xxxxxxxxx> writes:

> Hello,
>
> Emacs has an auto-save-mode, which comes useful on rare occasions such
> as crashes. However, what I (and apparently, many others) would like
> is a feature that automatically saves your files for you -- not to
> another file but to the one your buffer is visiting, and such that you
> will not be prompted to save your file on exit.
>
> There appears to be a variable auto-save-visited-file-name which is
> documented as
>     "Non-nil says auto-save a buffer in the file it is visiting, when
> practical.
>     Normally auto-save files are written under other names."
> but setting it does not make for a very usable Emacs -- each time one
> tries to edit the buffer after it is (auto-)saved, one is prompted
> with a
>     "file changed on disk; really edit the buffer? (y, n, r, or C-h)"
> message, which gets annoying. [I guess I could turn on auto-revert-
> mode to fix this, but I don't want auto-revert for changes from
> external sources; I only want auto-save to work.]

You could try reporting this bug with
M-x report-emacs-bug RET
or the Help/Send Bug Report menu.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

<Prev in Thread] Current Thread [Next in Thread>