From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs 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 Message-ID: References: Reply-To: Lennart Borgman , 4980@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258674481 4085 80.91.229.12 (19 Nov 2009 23:48:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 23:48:01 +0000 (UTC) To: "Jason A. Spiro" , 4980@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 00:47:54 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBGjA-0004FN-IW for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 00:47:52 +0100 Original-Received: from localhost ([127.0.0.1]:42624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBGjA-0006SY-2l for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Nov 2009 18:47:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBGim-0006JO-IB for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2009 18:47:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBGii-0006HW-1g for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2009 18:47:28 -0500 Original-Received: from [199.232.76.173] (port=44210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBGih-0006HQ-Lk for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2009 18:47:23 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54496) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBGih-0005m1-2K for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2009 18:47:23 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAJNlLcE027920; Thu, 19 Nov 2009 15:47:21 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAJNj4g7027659; Thu, 19 Nov 2009 15:45:04 -0800 Resent-Date: Thu, 19 Nov 2009 15:45:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lennart Borgman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 19 Nov 2009 23:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4980-submit@emacsbugs.donarmstrong.com id=B4980.125867392427207 (code B ref 4980); Thu, 19 Nov 2009 23:45:04 +0000 Original-Received: (at 4980) by emacsbugs.donarmstrong.com; 19 Nov 2009 23:38:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-gx0-f226.google.com (mail-gx0-f226.google.com [209.85.217.226]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAJNcg8r027204 for <4980@emacsbugs.donarmstrong.com>; Thu, 19 Nov 2009 15:38:43 -0800 Original-Received: by gxk26 with SMTP id 26so2541952gxk.1 for <4980@emacsbugs.donarmstrong.com>; Thu, 19 Nov 2009 15:38:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=Av3exs4o9k7TpUoPTSjGZcB5I2xohVP7WPg6ecOBaY8=; b=kAh0F2fqZAb/qcOi9aZaIX6gTs3zB8H+MOKpReR36vQI0gmV7VRXmSs3OmY+PSu6A7 iFqxaSoJ0kFqD+Uf+1L+lepiNzqhL6ODppjZUn3P+erWahUAsK2NmxFOF9TwHjsuc2Pq MzIeRNLgZXMfkeY5DDbZheo9OuZmvi7oOUnNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=tkdq6L5FhQhS9aOO0c71hvlIpOflhlTlrjVan2k53uLhA5ctOGW7oEq3EZXg1zrFgz XR1S0F3Re3m8Ys1N8PUd9hm6OONJglb4wX8MbaCMuVBxHP0vmvKS5o2nOs2fNZSEVKLh 4ti7IcnZA7DRxt8kChgTmbFihEQmq9UxTiOlM= Original-Received: by 10.101.143.10 with SMTP id v10mr1219555ann.170.1258673917066; Thu, 19 Nov 2009 15:38:37 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 19 Nov 2009 18:47:28 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32738 Archived-At: On Fri, Nov 20, 2009 at 12:05 AM, Jason A. Spiro wr= ote: > When I try to quit Emacs by clicking File > Quit, I see seven choices: > > ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( > > Save file foo.txt? > > * =C2=A0Yes > * =C2=A0No > * =C2=A0View This Buffer > * =C2=A0View Changes In This Buffer > * =C2=A0Save This But No More > * =C2=A0Save All Buffers > * =C2=A0No For All > > ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) > > 1. =C2=A0As dak wrote in 2008 at > http://thread.gmane.org/gmane.emacs.devel/65537/focus=3D100634 there's > no Cancel button. =C2=A0"Closing the dialog window happens to achieve tha= t > ... but it is not really obvious." =C2=A0Please add a Cancel button. Aggeed. > 2. =C2=A0For 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. =C2=A0I can explain why if you requir= e > it. Agreed. There is no reason for yes/no here. Use verbs to make it clear. > 3. =C2=A0The seven choices act as a confusing way to ask me which files t= o > save. =C2=A0Instead, as Joshua Juran suggested to me i= n > 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 =C2=A0 =C2=A0| > | [x] bar.txt =C2=A0 =C2=A0| > | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| > | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| > > If you don't save, your changes will be lost. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ________ =C2=A0 =C2=A0 ______ > [ Close &without Saving ] [ =C2=A0 =C2=A0 =C2=A0 &Cancel =C2=A0 =C2=A0 ] = [________&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. =C2=A0You see, = a > GUI should be simple instead of listing every possible choice the user > might conceivably want. =C2=A0If 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.