From unknown Mon Jun 23 02:25:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Reply-To: "Jason A. Spiro" , 4980@debbugs.gnu.org Resent-From: "Jason A. Spiro" Original-Sender: jasonspiro@gmail.com Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 19 Nov 2009 23:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125867195325049 (code B ref -1); Thu, 19 Nov 2009 23:10:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Nov 2009 23:05:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.5 required=4.0 tests=AWL,GMAIL,URIBL_PH_SURBL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAJN5pk1025046 for ; Thu, 19 Nov 2009 15:05:52 -0800 Received: from mail.gnu.org ([199.232.76.166]:46637 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NBG4U-00062S-Sq for emacs-pretest-bug@gnu.org; Thu, 19 Nov 2009 18:05:50 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NBG4S-0007KL-FE for emacs-pretest-bug@gnu.org; Thu, 19 Nov 2009 18:05:50 -0500 Received: from mail-px0-f192.google.com ([209.85.216.192]:36411) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBG4S-0007KF-1R for emacs-pretest-bug@gnu.org; Thu, 19 Nov 2009 18:05:48 -0500 Received: by pxi30 with SMTP id 30so1803253pxi.14 for ; Thu, 19 Nov 2009 15:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=yB70F3LBYKdmoqJ915IfwPAWQdHdbGxpiOAATpFtLaY=; b=fbwo4bmhqI/hMjXPJgqhOU0+ND4vyceacM76oIA8pAH+Tcw1+CJZXGAwwvEJz2FCQz ElhKup3CgFBh/ihPMqe2mL7k4ABia1KouaIlob1HxAwbsMjvIifMo5GimbBY9lyWjNE7 YXU5wQfFhjRjbo6ffmLMGIWLYYhuymF9vRCIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=IFBdrQi/GkwSqapMB3HjEhylFuEJxateP+fcGQdy3rlgmCqK+rt89JiNz4U5JKXMgk OT2HWc/8lwVppRd0MRnrRDZDc95+JloiZ3ROp6AJiOy8O5PWGFG4vQyMKJ+GNAVQYubv vwlXFpXQZ33389IOT+olPLgJ4pjGM7KSG+0JM= MIME-Version: 1.0 Sender: jasonspiro@gmail.com Received: by 10.140.161.3 with SMTP id j3mr46092rve.27.1258671947234; Thu, 19 Nov 2009 15:05:47 -0800 (PST) From: "Jason A. Spiro" Date: Thu, 19 Nov 2009 18:05:27 -0500 X-Google-Sender-Auth: 1ff455df143fe07a Message-ID: To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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. 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. 3. The seven choices act as a confusing way to ask me which files to save. Instead, as Joshua Juran 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______] ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) 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. From unknown Mon Jun 23 02:25:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Reply-To: Lennart Borgman , 4980@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 19 Nov 2009 23:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4980-submit@emacsbugs.donarmstrong.com id=B4980.125867392427207 (code B ref 4980); Thu, 19 Nov 2009 23:45:04 +0000 Received: (at 4980) by emacsbugs.donarmstrong.com; 19 Nov 2009 23:38:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, URIBL_PH_SURBL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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= MIME-Version: 1.0 Received: by 10.101.143.10 with SMTP id v10mr1219555ann.170.1258673917066; Thu, 19 Nov 2009 15:38:37 -0800 (PST) In-Reply-To: References: From: Lennart Borgman Date: Fri, 20 Nov 2009 00:38:16 +0100 Message-ID: To: "Jason A. Spiro" , 4980@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. From unknown Mon Jun 23 02:25:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Reply-To: Jason Rumney , 4980@debbugs.gnu.org Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 20 Nov 2009 04:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4980-submit@emacsbugs.donarmstrong.com id=B4980.125868964117516 (code B ref 4980); Fri, 20 Nov 2009 04:05:05 +0000 Received: (at 4980) by emacsbugs.donarmstrong.com; 20 Nov 2009 04:00:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAK40dAr017510 for <4980@emacsbugs.donarmstrong.com>; Thu, 19 Nov 2009 20:00:41 -0800 Received: by ywh9 with SMTP id 9so2686020ywh.19 for <4980@emacsbugs.donarmstrong.com>; Thu, 19 Nov 2009 20:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=inyzXA41PvNVLB/U+x+uiKGKhD5xV4gj5gwupvlCIF8=; b=L1P6HmqGjQOjzFFsppxIONPdN9NrWvg4KaTy6W847ZsbHKyCCDysUm6Mwd4ft/V6KY 6c7igjG0z1dLquhV6VAu9iwfkb+ajjyYrt0A5Y/U3oXpGeVrUqBg8cxYu+vvKb5ddARw 5nCsn6FxoAdV1x+LJ4bGqBuU9MNBALASg+M70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=oOPt0MF025iMbSf9fh6kf+dxev3kOelK8oynjvKK49CSX+pZuvTkLouSeTk25+Own5 LvsjQMSRFDUoO3H+TH7aT0y2dJpwHjcCYxU3ja1hvNC4H75/1OyAIZIYRuMcFU0oyRK9 bXfbwJn7+5bMHwCoGzReJP0/RiaNPeO/25+qY= Received: by 10.150.29.5 with SMTP id c5mr1710706ybc.34.1258689633711; Thu, 19 Nov 2009 20:00:33 -0800 (PST) Received: from ?10.1.1.113? ([61.4.103.130]) by mx.google.com with ESMTPS id 21sm433237ywh.1.2009.11.19.20.00.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Nov 2009 20:00:31 -0800 (PST) Sender: Jason Rumney Message-ID: <4B06142D.40203@f2s.com> Date: Fri, 20 Nov 2009 11:59:41 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Lennart Borgman , 4980@debbugs.gnu.org CC: "Jason A. Spiro" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lennart Borgman wrote: > 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. From unknown Mon Jun 23 02:25:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Reply-To: Stefan Monnier , 4980@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 20 Nov 2009 04:40:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4980-submit@emacsbugs.donarmstrong.com id=B4980.125869148620736 (code B ref 4980); Fri, 20 Nov 2009 04:40:06 +0000 Received: (at 4980) by emacsbugs.donarmstrong.com; 20 Nov 2009 04:31:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAK4VO2m020733 for <4980@emacsbugs.donarmstrong.com>; Thu, 19 Nov 2009 20:31:25 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAMyqBUvO+IIa/2dsb2JhbACBTtN+hDsEiW8 X-IronPort-AV: E=Sophos;i="4.44,775,1249272000"; d="scan'208";a="49715258" Received: from 206-248-130-26.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.26]) by ironport2-out.pppoe.ca with ESMTP; 19 Nov 2009 23:31:18 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 20514B40C9; Thu, 19 Nov 2009 23:31:18 -0500 (EST) From: Stefan Monnier To: Jason Rumney Cc: 4980@debbugs.gnu.org, Lennart Borgman , "Jason A. Spiro" Message-ID: References: <4B06142D.40203@f2s.com> Date: Thu, 19 Nov 2009 23:31:18 -0500 In-Reply-To: <4B06142D.40203@f2s.com> (Jason Rumney's message of "Fri, 20 Nov 2009 11:59:41 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Personally I only see a need for a dialog with 3 buttons. "Close without > saving" "Save All" and "Cancel" Agreed. Stefan From unknown Mon Jun 23 02:25:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Reply-To: Juri Linkov , 4980@debbugs.gnu.org Resent-From: Juri Linkov Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 20 Nov 2009 09:45:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4980-submit@emacsbugs.donarmstrong.com id=B4980.125870991320097 (code B ref 4980); Fri, 20 Nov 2009 09:45:11 +0000 Received: (at 4980) by emacsbugs.donarmstrong.com; 20 Nov 2009 09:38:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.2 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, URIBL_PH_SURBL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAK9cVYt020086 for <4980@emacsbugs.donarmstrong.com>; Fri, 20 Nov 2009 01:38:33 -0800 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from mail.starman.ee (82.131.34.117.cable.starman.ee [82.131.34.117]) by mx1.starman.ee (Postfix) with ESMTP id E6E923F4102; Fri, 20 Nov 2009 11:38:25 +0200 (EET) From: Juri Linkov To: "Jason A. Spiro" Cc: 4980@debbugs.gnu.org Organization: JURTA References: Date: Fri, 20 Nov 2009 11:31:42 +0200 In-Reply-To: (Jason A. Spiro's message of "Thu, 19 Nov 2009 18:05:27 -0500") Message-ID: <87fx89649t.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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. > > 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. > > 3. The seven choices act as a confusing way to ask me which files to > save. Instead, as Joshua Juran 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/ ): The graphical version of the closing dialog window is modelled after the corresponding minibuffer prompts. So if we are going to change "Yes/No" to "Quit without saving", "Save All" and "Cancel" (I wholeheartedly welcome this change since a "Yes/No" question is dangerous to lose unsaved changes), then we have to modify the minibuffer prompts too. Maybe in the non-graphical version we should display a list of unsaved buffers (in a fashion like the *Buffer List* for `C-x C-b') like we display the process list when quitting with running processes. -- Juri Linkov http://www.jurta.org/emacs/ From unknown Mon Jun 23 02:25:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 4980@debbugs.gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 20 Nov 2009 10:05:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125871094521843 (code B ref -1); Fri, 20 Nov 2009 10:05:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Nov 2009 09:55:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAK9thkf021832 for ; Fri, 20 Nov 2009 01:55:45 -0800 Received: from mail.gnu.org ([199.232.76.166]:50857 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NBQDP-0002S6-1D for emacs-pretest-bug@gnu.org; Fri, 20 Nov 2009 04:55:43 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NBQDO-0008UZ-6E for emacs-pretest-bug@gnu.org; Fri, 20 Nov 2009 04:55:42 -0500 Received: from proxy2.bredband.net ([195.54.101.72]:36925) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBQDN-0008UP-P6 for emacs-pretest-bug@gnu.org; Fri, 20 Nov 2009 04:55:42 -0500 Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC0110D468 for emacs-pretest-bug@gnu.org; Fri, 20 Nov 2009 10:55:40 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsJUAPj2BUtV4S1uPGdsb2JhbACBTpdVgmEBAQEBN7gVhDwE X-IronPort-AV: E=Sophos;i="4.44,776,1249250400"; d="scan'208";a="5611276" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 20 Nov 2009 10:55:28 +0100 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 6D1197FA07B; Fri, 20 Nov 2009 10:55:27 +0100 (CET) Message-ID: <4B06678F.7010607@swipnet.se> Date: Fri, 20 Nov 2009 10:55:27 +0100 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: "Jason A. Spiro" , 4980@debbugs.gnu.org CC: emacs-pretest-bug@gnu.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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. From rgm@gnu.org Fri Nov 20 16:50:34 2009 Received: (at control) by emacsbugs.donarmstrong.com; 21 Nov 2009 00:50:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAL0oW9f011347 for ; Fri, 20 Nov 2009 16:50:33 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NBeBL-0000Qr-MB; Fri, 20 Nov 2009 19:50:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19207.14679.626093.237244@fencepost.gnu.org> Date: Fri, 20 Nov 2009 19:50:31 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: bd\:f@TlE.},B>anVwq:5^nd'<*1525;T}E~rD*uz6YPvccu2_-2=a_Wi_52q7sm#]-0Fp X-Debbugs-No-Ack: yes severity 4980 minor reassign 4983 spam reassign 4985 spam reassign 4986 spam severity 4987 wishlist reassign 4989 spam reassign 4990 spam reassign 4991 spam reassign 4992 emacs,etags reassign 4984 emacs,cc-mode From unknown Mon Jun 23 02:25:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2022 18:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jason Rumney Cc: "Jason A. Spiro" , 4980@debbugs.gnu.org, Lennart Borgman Received: via spool by 4980-submit@debbugs.gnu.org id=B4980.164330973217727 (code B ref 4980); Thu, 27 Jan 2022 18:56:01 +0000 Received: (at 4980) by debbugs.gnu.org; 27 Jan 2022 18:55:32 +0000 Received: from localhost ([127.0.0.1]:56583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD9vf-0004br-NB for submit@debbugs.gnu.org; Thu, 27 Jan 2022 13:55:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD9vY-0004bL-4b for 4980@debbugs.gnu.org; Thu, 27 Jan 2022 13:55:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fPYZHQl2bja6JiJohXSyz/dQGWD2h+7jejC7Z0YMkyw=; b=vDNTxlxWFWLISQKSbeWp9nxTGS cu+buu8W1mE7PNXGUQQIe/H0bV3CQ74KBKODapOTFbrt7iXvC3f4TfrVHdWTHD9dlEmGuQsSUDdeA hpuAV7fAsq5LFn7qsVzoLIaAC12jDb3YUkR4hgZJ3fhEPetkSqMoaLsT8OUFsKg9oGts=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD9vM-0001HH-U3; Thu, 27 Jan 2022 19:55:15 +0100 From: Lars Ingebrigtsen References: <4B06142D.40203@f2s.com> X-Now-Playing: David Sylvian's _Everything And Nothing (1)_: "Pop Song" Date: Thu, 27 Jan 2022 19:55:10 +0100 In-Reply-To: <4B06142D.40203@f2s.com> (Jason Rumney's message of "Fri, 20 Nov 2009 11:59:41 +0800") Message-ID: <877dalj9f5.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Jason Rumney 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 savin [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Jason Rumney 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 27 13:55:28 2022 Received: (at control) by debbugs.gnu.org; 27 Jan 2022 18:55:28 +0000 Received: from localhost ([127.0.0.1]:56581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD9vc-0004bh-IC for submit@debbugs.gnu.org; Thu, 27 Jan 2022 13:55:28 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD9vb-0004bP-E5 for control@debbugs.gnu.org; Thu, 27 Jan 2022 13:55:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JcaMWGSC9bei3VNFUUL0R3hGw58gejPSelslK8JGbIY=; b=Ovd0jMv2Y3jY2XqYSLPD4PG4fk j9F1cDpcipCzTeM34hub/lw/+iMVMCHDpVdDjIuXUOXYiuQyWZKCLrRE7CgQmST4DLTzRnCH9eK/Y zgZIjt95Pu1p941a53o5ejjCzHnHEVxFvxin7BZzVNTfSORXh31F3TdnV/5fsXsUboJU=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD9vT-0001HQ-Gu for control@debbugs.gnu.org; Thu, 27 Jan 2022 19:55:21 +0100 Date: Thu, 27 Jan 2022 19:55:18 +0100 Message-Id: <875yq5j9ex.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #4980 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 4980 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 4980 29.1 quit From unknown Mon Jun 23 02:25:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2022 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com, jasonr@f2s.com Received: via spool by 4980-submit@debbugs.gnu.org id=B4980.16433134168476 (code B ref 4980); Thu, 27 Jan 2022 19:57:02 +0000 Received: (at 4980) by debbugs.gnu.org; 27 Jan 2022 19:56:56 +0000 Received: from localhost ([127.0.0.1]:56645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDAt6-0002Ce-Gx for submit@debbugs.gnu.org; Thu, 27 Jan 2022 14:56:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDAt1-0002CO-Ph for 4980@debbugs.gnu.org; Thu, 27 Jan 2022 14:56:55 -0500 Received: from [2001:470:142:3::e] (port=37738 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDAso-0004qa-EK; Thu, 27 Jan 2022 14:56:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IJah+nhvYU0z1nQK2BGqBy5T4AwjQ+M8PwSxvGs9ZUU=; b=OZyBsQnpZhqu qcIMHoyZ99hXt0kQpmbCTO2RGKR8XSS/cUgaVYFx9Bo5jilS9HdhfcDlGULSw0EY1Z8Q4ZPSkUGei Cb4SBgzHj9xxEFlpSSK5eEAGwPTZQiN2XiqPUV4KD/mr49FAME5HA4ImK8K3T6LrjMbnLwLXKq6Yp Nj/JzhgBpamiZ9nEhpwLwZH9H9bbBHNsG8gQTKsv0FFzOk3ge72aWHoDfU2nqRAWum8zc6fD6lzvS cKvNbAb1AHv493iAVWUtf2uQCkTra/y8M/fmMdNnIxTcvZb/H6ACCPQAMFG+Dywm49J0RJBfElA3p 3ehIGP9F8phRpasjlvjz3w==; Received: from [87.69.77.57] (port=2206 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDAsl-0000lI-W6; Thu, 27 Jan 2022 14:56:37 -0500 Date: Thu, 27 Jan 2022 21:56:30 +0200 Message-Id: <837daldkb5.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <877dalj9f5.fsf_-_@gnus.org> (message from Lars Ingebrigtsen on Thu, 27 Jan 2022 19:55:10 +0100) References: <4B06142D.40203@f2s.com> <877dalj9f5.fsf_-_@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Thu, 27 Jan 2022 19:55:10 +0100 > Cc: "Jason A. Spiro" , 4980@debbugs.gnu.org, > Lennart Borgman > > Jason Rumney 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. From unknown Mon Jun 23 02:25:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2022 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: larsi@gnus.org Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com, jasonr@f2s.com Received: via spool by 4980-submit@debbugs.gnu.org id=B4980.16433140809570 (code B ref 4980); Thu, 27 Jan 2022 20:08:02 +0000 Received: (at 4980) by debbugs.gnu.org; 27 Jan 2022 20:08:00 +0000 Received: from localhost ([127.0.0.1]:56650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDB3o-0002UI-Jw for submit@debbugs.gnu.org; Thu, 27 Jan 2022 15:08:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDB3m-0002U4-K0 for 4980@debbugs.gnu.org; Thu, 27 Jan 2022 15:07:59 -0500 Received: from [2001:470:142:3::e] (port=38042 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDB3f-0006XN-DJ; Thu, 27 Jan 2022 15:07:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=l+D9ZeLsaGrWjadpGlh6e9DKSsk+uFZKGqT5MAI48Nc=; b=qvAk9wnkjVqR P86kD3NoisdfnvdDmaKd4WLTuKcLnokkKMZPE3vE4Qdn7+wUnFNvTBPh56mxxxecBalRUql5kRFFE 21xgkL5IKUF8VzTSY305UPSl/9H0U31OWB2NrmkzjGPm4jKkE27lR1jnGBMa3kyM4X8LMnjd01uUA xPfis/tJ+N+QVkPgENk2svJjYkUpfeRvyY+eD37Ln2aOrlw7gu9eAHJou+MG1QwP0skCOWovGX7fN J/lYGejkHqhL7IXsmK40rGsh5NrDshRqHWYVOB5gdsZ+Lb4JyIt/2wFYoBQydSfgU6V7vZkZGCgJZ Jbk7kARYS3NLkoUtiFmelw==; Received: from [87.69.77.57] (port=2897 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDB3e-0008TB-R5; Thu, 27 Jan 2022 15:07:51 -0500 Date: Thu, 27 Jan 2022 22:07:46 +0200 Message-Id: <835yq5djsd.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <837daldkb5.fsf@gnu.org> (message from Eli Zaretskii on Thu, 27 Jan 2022 21:56:30 +0200) References: <4B06142D.40203@f2s.com> <877dalj9f5.fsf_-_@gnus.org> <837daldkb5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 27 Jan 2022 21:56:30 +0200 > From: Eli Zaretskii > Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com, > jasonr@f2s.com > > > > 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. Also, if you try this: emacs -Q C-x C-f /some/non-existent/file RET then insert some text and click File->Quit, then selecting "Close without saving" will still pop up an additional dialog asking whether to exit although modified buffers exist. But "Close without saving" was supposed to have already answered that question. From unknown Mon Jun 23 02:25:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2022 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com, jasonr@f2s.com Received: via spool by 4980-submit@debbugs.gnu.org id=B4980.164331886117373 (code B ref 4980); Thu, 27 Jan 2022 21:28:01 +0000 Received: (at 4980) by debbugs.gnu.org; 27 Jan 2022 21:27:41 +0000 Received: from localhost ([127.0.0.1]:56731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDCIv-0004W9-3o for submit@debbugs.gnu.org; Thu, 27 Jan 2022 16:27:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDCIt-0004Vo-0n for 4980@debbugs.gnu.org; Thu, 27 Jan 2022 16:27:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yAnkC7qq+aqE61G91mi3+V+hJVzo1I6JXbctccvJfh8=; b=guKS2xXDnDDnZq1HndajwHpgJg hDg/YPn4/qxBtLcGiuRglgtczTYEGIAFDIpbzhrA3QAKm+MP28FQlF7fDw2hHqxnh44pWNRGs4sia jlNidJ2Wgj173OO3WByrkoyuBC5VJk8YdEYu/LEXEYGOrCH/NH/Rj3o/1W3Iz3BAduCQ=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDCIi-0002ea-Rb; Thu, 27 Jan 2022 22:27:31 +0100 From: Lars Ingebrigtsen References: <4B06142D.40203@f2s.com> <877dalj9f5.fsf_-_@gnus.org> <837daldkb5.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX29fTKuqy4b0lL NkL////33QWbAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YBGxUaEAHGIDUAAAGISURBVDjLlZIBjiQh CEXRvoCUF2jxAlNw/7vNBy21ZzbZDElXbB/wESC6xApl/MIuHKo2PybpNy7aBDclk/c4i3FJiOAW YVVlOCEEhNi6GgM/AUQiZiVxeZWshbrK1BsqFVdv/1aZmUKFWYn0pgwPaRs0vrRlERYUtSQg8uaq mpiT4hnaTmAGXcrdvtaTXLwkiyJRn4scIJtCMwW4FshC9QD1/yAJvQCkXBOsl3dy8TCAfoBG5iEi 1b6K7VTdQkSim1mPd1iphq53M3vmN+d5I1fYnbqOXrnQ1bW8xj3qm9qYHYBX6aDswTrIEGUOgE2Y Esxj6sp8Yy71yRTAFwUx9cZ3zc9TUQriJuvZASKZm+6BDxCNdf/9OH7I5S3Z3aAW6n5kaVyWP8ki pyWAfxAskgAI7wxTliXADwL/a4JPAn8HOmbdyuHfZAMvoUR6F3Bgfe6HxF2kGWC07pfR7F1Y3/c2 l0B/+PcHDKRivePri7SAkwFQzgcAUWxdn/82gHTfXmfEp/0dfAO5nmwHBzlB3gAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMi0wMS0yN1QyMToyNjoxNiswMDowMBobppIAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjItMDEtMjdUMjE6MjY6MTYrMDA6MDBrRh4uAAAAAElFTkSuQmCC X-Now-Playing: David Sylvian's _Gone To Earth (1)_: "Camp Fire Coyote Country (Remix)" Date: Thu, 27 Jan 2022 22:27:28 +0100 In-Reply-To: <837daldkb5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Jan 2022 21:56:30 +0200") Message-ID: <87mtjgj2db.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > 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. Now fixed. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > 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. Now fixed. Eli Zaretskii writes: > Also, if you try this: > > emacs -Q > C-x C-f /some/non-existent/file RET > > then insert some text and click File->Quit, then selecting "Close > without saving" will still pop up an additional dialog asking whether > to exit although modified buffers exist. But "Close without saving" > was supposed to have already answered that question. I didn't change that logic -- you had to answer "no" twice before, and you still have to. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Mon Jun 23 02:25:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jan 2022 07:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com, jasonr@f2s.com Received: via spool by 4980-submit@debbugs.gnu.org id=B4980.164335363130489 (code B ref 4980); Fri, 28 Jan 2022 07:08:01 +0000 Received: (at 4980) by debbugs.gnu.org; 28 Jan 2022 07:07:11 +0000 Received: from localhost ([127.0.0.1]:57151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDLLj-0007vf-7O for submit@debbugs.gnu.org; Fri, 28 Jan 2022 02:07:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDLLh-0007vT-IB for 4980@debbugs.gnu.org; Fri, 28 Jan 2022 02:07:09 -0500 Received: from [2001:470:142:3::e] (port=50824 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDLLY-0003so-72; Fri, 28 Jan 2022 02:07:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=8JChVZ7XeKRGsW92Q62Ry3xyBNg9EUw7qnuPLXHpchU=; b=MVS/646VJrwO GQC/69vFzCG8dC1waNr2C5WiIvAl8VJT0XHvO6rKTS0qviOx9FNrfXoid3gLNrc05wxcbGiBoCkiN amZtoiExLbmI5sh9rGEzQThUpj+wRUCUcsLDKlewLoWlE+JzcFQ9gkkYiGKOEzlQnstg+iRmk3CsI 6AInps3A8fF1Zgdb/SF1BceR7Jiv/tprYClzcKchnKj1TA11XSvo08cerzS02rBlimeBtYmi71DJg RfigT4wXRf1YOV8HQpnh+EcjNeneLwVsvWzCwfi1z7SuxFDnLblEaPl4HunLx7ZUajeXGD9gF/FFP 7AarO656TgP9yMAne7Kf0Q==; Received: from [87.69.77.57] (port=3249 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDLLW-0003Me-D1; Fri, 28 Jan 2022 02:06:58 -0500 Date: Fri, 28 Jan 2022 09:06:54 +0200 Message-Id: <834k5oe3u9.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87mtjgj2db.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 27 Jan 2022 22:27:28 +0100) References: <4B06142D.40203@f2s.com> <877dalj9f5.fsf_-_@gnus.org> <837daldkb5.fsf@gnu.org> <87mtjgj2db.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: jasonr@f2s.com, jasonspiro4@gmail.com, 4980@debbugs.gnu.org, > lennart.borgman@gmail.com > Date: Thu, 27 Jan 2022 22:27:28 +0100 > > Eli Zaretskii writes: > > > 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. > > Now fixed. Thanks. > Eli Zaretskii writes: > > > Also, if you try this: > > > > emacs -Q > > C-x C-f /some/non-existent/file RET > > > > then insert some text and click File->Quit, then selecting "Close > > without saving" will still pop up an additional dialog asking whether > > to exit although modified buffers exist. But "Close without saving" > > was supposed to have already answered that question. > > I didn't change that logic -- you had to answer "no" twice before, and > you still have to. But save-some-buffers doesn't ask the same question: it asks about specific buffers, one by one. And popping 2 dialogs with basically the same question looks ... worse. From unknown Mon Jun 23 02:25:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jan 2022 13:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com, jasonr@f2s.com Received: via spool by 4980-submit@debbugs.gnu.org id=B4980.164337793713114 (code B ref 4980); Fri, 28 Jan 2022 13:53:01 +0000 Received: (at 4980) by debbugs.gnu.org; 28 Jan 2022 13:52:17 +0000 Received: from localhost ([127.0.0.1]:57732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDRfl-0003PS-2J for submit@debbugs.gnu.org; Fri, 28 Jan 2022 08:52:17 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDRfj-0003PG-HF for 4980@debbugs.gnu.org; Fri, 28 Jan 2022 08:52:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zvC3SMjgg3sSXsPlFIiIjSUVIsUlWt4Jg405QzPFofg=; b=R+wPKXK71bbkiSaAZkOXhoS5uP H3NKnpLX3Du/BWW1FvzdvMSQovl1pGi3UlcBQ4yqW1a4cgB1fqqXqQVBi1nlsD5Jo53uPioJczVXI Xe5yVLwENKLM8nvlDcy5CbtTdbT5hXnXNu5UPt/otnBHOAsb9DXGCK6tjEE/l4oE09ck=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDRfY-0002wH-VF; Fri, 28 Jan 2022 14:52:07 +0100 From: Lars Ingebrigtsen References: <4B06142D.40203@f2s.com> <877dalj9f5.fsf_-_@gnus.org> <837daldkb5.fsf@gnu.org> <87mtjgj2db.fsf@gnus.org> <834k5oe3u9.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXEaDflmFTJxsRW dKVaa4////95E3pLAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YBGBIkKQj8CisAAAGdSURBVDjLnZPr dcMgDIXhnAyAcQcIkhcwMEBPYP+ZeiVhGzfpnyqOE/NZ6HVxzi1qDubx1T+fTEBMRG/rMCIq5QPA an4HzmNdbDzJDgGXc4+u1u5g8Y9eW++lzx7CDofZA1X44EtpEqGW82U1v5bDRt1LXJaEHy69dly1 DRAGZuzSDAjxXjPS2s6tbsZ/AWSECLWe6R7WW2tVwv8CUl0Vr9avrXQOZYohjbMxBL9Q4pyp5Fx4 gBiXFHxMaQWA7evsgZHunIlL5rKaBLCLvMBzDDcUotn2VrXnkq4/gXfIsh4MM7Aow6Nfg1JgervH wEIkei5TD9GZooIh6i8CWaEn1isLiAKIUgAgYqmPM5uDGgo0gBppBmkA+QiIdLr4EduymoB7pLjq mKSOG9gZoFjlspQHcJnWquqFB00e/qgbEj3Aph4qhtZUcJG2l4CN7HRU7eQVvNt5ZEi0WVaexAG3 5EwoeXR3agkeAvEubWRr+gVwGmIhqMG6i822px2tAMnzGJS6bDpgH2xetdkEN4q3s74dov66BPEt t+D+YT/qaHW8auKAUgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wMS0yNFQxODozNjo0MSswMDow MITu0nkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDEtMjRUMTg6MzY6NDErMDA6MDD1s2rFAAAA AElFTkSuQmCC X-Now-Playing: Joe Jackson's _Big World_: "We Can't Live Together" Date: Fri, 28 Jan 2022 14:52:03 +0100 In-Reply-To: <834k5oe3u9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 28 Jan 2022 09:06:54 +0200") Message-ID: <87tudoge7w.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > But save-some-buffers doesn't ask the same question: it asks about > specific buffers, one by one. And popping 2 dialogs with basically > the same question looks ... worse. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > But save-some-buffers doesn't ask the same question: it asks about > specific buffers, one by one. And popping 2 dialogs with basically > the same question looks ... worse. Yes, previously it was "Save file <...>" and "No for all", and then "... exit anyway?". Since the first prompt is now "Close without saving" it feels a bit more nagging? But I think it still makes sense to ask twice, since it's pretty... drastic? So I dunno. I don't have any strong opinion here -- what do others feel? Should we keep the double prompt even though the first prompt is now less cryptic? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no