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

Jan Djärv <[email protected]> Fri, 20 Nov 2009 10:55:27 +0100
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Jason A. Spiro skrev:

> 
> [!] There are 2 document(s) with unsaved changes.
> Save before closing?
> 
> Select the documents you want to save:
> | [x] foo.txt    |
> | [x] bar.txt    |
> |                |
> |                |
> 
> If you don't save, your changes will be lost.
>                                                  ________     ______
> [ Close &without Saving ] [       &Cancel     ] [________&Save______]
> 
> )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
> 
> Don't offer view-buffer or view-changes choices in a GUI.  You see, a
> GUI should be simple instead of listing every possible choice the user
> might conceivably want.  If the user wants to do so, they can click
> Cancel then do so themselves.
> 

It is a good idea.  However, the dialog functions in Emacs can't currently do 
this in a generic way (that is from elisp).

Close is not a good word.  You close a dialog and a frame, but you quit or 
exit the application.

So IMHO "Close without Saving" should be "Exit without Saving" and "Save" 
should be "Save and Exit" or prehaps "Save marked and Exit" (if indeed that is 
what Save does, it isn't clear).

	Jan D.