unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: "Jason A. Spiro" <jasonspiro4@gmail.com>,
	4980@emacsbugs.donarmstrong.com
Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write  "Save", and simplify
Date: Fri, 20 Nov 2009 00:38:16 +0100	[thread overview]
Message-ID: <e01d8a50911191538w73f9e9b4r534e946645ee2777@mail.gmail.com> (raw)
In-Reply-To: <c241693f0911191505t2cb29a8ex718af639bdf13cbe@mail.gmail.com>

On Fri, Nov 20, 2009 at 12:05 AM, Jason A. Spiro <jasonspiro4@gmail.com> wrote:
> When I try to quit Emacs by clicking File > Quit, I see seven choices:
>
> (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
>
> Save file foo.txt?
>
> *  Yes
> *  No
> *  View This Buffer
> *  View Changes In This Buffer
> *  Save This But No More
> *  Save All Buffers
> *  No For All
>
> )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
>
> 1.  As dak wrote in 2008 at
> http://thread.gmane.org/gmane.emacs.devel/65537/focus=100634 there's
> no Cancel button.  "Closing the dialog window happens to achieve that
> ... but it is not really obvious."  Please add a Cancel button.


Aggeed.


> 2.  For the first choice, instead of writing "Yes", write "Save".
> Usability researchers have found that action verbs are always better
> when a list of choices is provided.  I can explain why if you require
> it.


Agreed. There is no reason for yes/no here. Use verbs to make it clear.


> 3.  The seven choices act as a confusing way to ask me which files to
> save.  Instead, as Joshua Juran <jjuran@gmail.com> suggested to me in
> Freenode #macdev, you should use a dialog box like "gedit" uses (
> screenshot at http://omploader.org/vMnQzaw ; download gedit for
> Windows / Mac at http://projects.gnome.org/gedit/ ):

> (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
>
> [!] 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______]
>
> )))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))


Yes, a dialog box is better. But it should be cross platform. No one
has yet tried to write this for w32. (I do not know for other
platforms.)


> 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.


Not sure. This is for experienced users also. Fast ways are useful,
but maybe not when using dialog boxes.





  reply	other threads:[~2009-11-19 23:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 23:05 bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Jason A. Spiro
2009-11-19 23:38 ` Lennart Borgman [this message]
2009-11-20  3:59   ` Jason Rumney
2009-11-20  4:31     ` Stefan Monnier
2022-01-27 18:55     ` Lars Ingebrigtsen
2022-01-27 19:56       ` Eli Zaretskii
2022-01-27 20:07         ` Eli Zaretskii
2022-01-27 21:27         ` Lars Ingebrigtsen
2022-01-28  7:06           ` Eli Zaretskii
2022-01-28 13:52             ` Lars Ingebrigtsen
2009-11-20  9:31 ` Juri Linkov
2009-11-20  9:55 ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50911191538w73f9e9b4r534e946645ee2777@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=4980@emacsbugs.donarmstrong.com \
    --cc=jasonspiro4@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).