Subject: bug#23483: 24.5; cygwin emacs w32 doesn not ask to save files when windows shuts down

From: Eli Zaretskii <[email-masked]>
Date: Fri, 13 May 2016 20:46:47 +0300

> From: "Strozzi, David J." <[email-masked]>
> CC: "[email-masked]" <[email-masked]>
> 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.