Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify

From: Eli Zaretskii <[email-masked]>
Date: Thu, 27 Jan 2022 21:56:30 +0200

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Thu, 27 Jan 2022 19:55:10 +0100
> Cc: "Jason A. Spiro" <[email-masked]>, [email-masked],
>  Lennart Borgman <[email-masked]>
> 
> Jason Rumney <[email-masked]> writes:
> 
> >> Not sure. This is for experienced users also. Fast ways are useful,
> >> but maybe not when using dialog boxes.
> >>   
> >
> > Personally I only see a need for a dialog with 3 buttons. "Close
> > without saving" "Save All" and "Cancel"
> >
> > Anything more complicated and the user can Cancel, resolve the
> > situation and attempt to exit again.
> 
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
> 
> Good idea.  Now done in Emacs 29.

This now pops the dialog when you click File->Quit immediately after
entering "emacs -Q".  But there's no buffer that needs saving at that
point.