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

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

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


From: Rupert Swarbrick
Subject: Re: A *real* auto-save-mode?
Date: Wed, 23 Jan 2008 07:01:51 -0600
User-agent: Pan/0.132 (Waxed in Black)

On Tue, 22 Jan 2008 22:21:06 -0800, shreevatsa wrote:

> 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.

No doubt one could hack together some elisp using run-at-time and saving 
or something.

However, you might want to consider that one often writes a few lines, 
then looks at it, then decides whether it should be saved or not. I find 
this useful as a sort of "1st stage quality control check".

Imagine you were hacking on a program, and your (rubbish) changes got 
saved automatically and invisibly. You then get bored of trying to fix 
something that isn't working and navigate to other buffers, forgetting 
about the original file, exiting emacs and losing any undo info that may 
have existed. Then you're back to the last checkout from version control. 
A bit of a disaster, no?

Rupert


reply via email to

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