[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gratuitous user interface change risks losing user work
From: |
Chris Moore |
Subject: |
Re: Gratuitous user interface change risks losing user work |
Date: |
Sun, 07 Jan 2007 01:54:49 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
Gregory Stark <address@hidden> writes:
> I think it will if it's the first time you're saving the buffer since you
> created it. But I tend to keep my emacs processes live for weeks or even
> months. So I get one backup file and then no protection from then on.
Right. I was getting confused. A new backup is caused by using C-x
C-v, but not until the next time you save the buffer, and then the
version which gets backed up is the version you overwrote your work
with, so that's no help to you in this situation.
> I think what I want is an option to make this the default behaviour.
What if you customise after-save-hook's value to include
(lambda () (setq buffer-backed-up nil))
?