GNU bug report logs - #13531
24.2.92; Normally closed Emacs leaves autosave files

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Wed, 23 Jan 2013 07:14:01 UTC

Severity: normal

Tags: wontfix

Found in version 24.2.92

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 13531 <at> debbugs.gnu.org
Subject: bug#13531: 24.2.92; Normally closed Emacs leaves autosave files
Date: Thu, 15 Aug 2019 00:37:12 -0700
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> I mean this behavior:
>
> 0.  Start emacs -Q
> 1.  Find any file that is writable for you
> 2.  Make some change
> 3.  You've changed your mind.  You type C-x C-c.
>     Type n to negate the "Save file ..." question
>     Type "yes" to answer the "Modified buffers exist; exit anyway?"
>     question
>
> As a result, Emacs exits, but it leaves an autosave file.  IMHO this
> shouldn't be the case, because the user decidedly wanted to discard his
> changes.  Autosave files should only survive a session if Emacs crashed.
>
> With the current behavior, we only confuse users because they will think
> that the autosave files come from a crash, and will want to check if
> they have to recover anything.

It is perhaps somewhat confusing to auto-save files in this way
(especially after the user has answered "no" to the "save file..."
question), but I think on the whole that this behaviour is safer than
just discarding the contents.  Because we all answer stuff wrong once in
a while, and not saving something you wanted to save after all is a
bigger catastrophe than auto-saving a bit too much.

So I don't think not auto-saving will be too popular, and I'm closing
this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.