GNU bug report logs - #23483
24.5; cygwin emacs w32 doesn not ask to save files when windows shuts down

Previous Next

Package: emacs;

Reported by: "Strozzi, David J." <strozzi2 <at> llnl.gov>

Date: Sun, 8 May 2016 18:19:02 UTC

Severity: wishlist

Found in version 24.5

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Brown <kbrown <at> cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, "Strozzi, David J." <strozzi2 <at> llnl.gov>
Cc: 23483 <at> debbugs.gnu.org
Subject: bug#23483: 24.5; cygwin emacs w32 doesn not ask to save files when windows shuts down
Date: Fri, 13 May 2016 14:05:22 -0400
On 5/13/2016 1:46 PM, Eli Zaretskii wrote:
>> From: "Strozzi, David J." <strozzi2 <at> llnl.gov>
>> CC: "23483-done <at> debbugs.gnu.org" <23483-done <at> debbugs.gnu.org>
>> Date: Fri, 13 May 2016 16:22:43 +0000
>>
>> Thanks for addressing this!  The usual behavior of windows programs on restart or shutdown is to ask the user to save unsaved files, rather than saving them silently.  The current patch to save automatically is better than losing data, but prompting the user I think would be the best thing.  Or even having emacs abort the shutdown and give a message like "emacs cancelled shutdown due to unsaved files."
>
> The patch doesn't save files automatically, it performs "auto-save",
> which saves the modified buffers into separate files, from which you
> can restore afterwards.
>
> FWIW, I don't see why asking the user would be better.

Agreed.  I would just add that the next time you try to edit one of the 
affected files, Emacs will warn you that there's an auto-save file and 
will suggest that you consider running M-x recover-this-file.

Ken





This bug report was last modified 9 years and 9 days ago.

Previous Next


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