From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4980: 23.1.50; In File > Quit GUI, add "Cancel", write "Save", and simplify Date: Thu, 27 Jan 2022 22:07:46 +0200 Message-ID: <835yq5djsd.fsf@gnu.org> References: <4B06142D.40203@f2s.com> <877dalj9f5.fsf_-_@gnus.org> <837daldkb5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27440"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jasonspiro4@gmail.com, 4980@debbugs.gnu.org, lennart.borgman@gmail.com, jasonr@f2s.com To: larsi@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 27 21:08:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDB41-0006wz-DA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 21:08:13 +0100 Original-Received: from localhost ([::1]:52690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDB40-0005Us-0v for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 15:08:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDB3q-0005Ug-N2 for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 15:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDB3q-0006aE-CG for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 15:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDB3q-0002UX-6c for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 15:08:02 -0500 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 4980-submit@debbugs.gnu.org id=B4980.16433140809570 (code B ref 4980); Thu, 27 Jan 2022 20:08:02 +0000 Original-Received: (at 4980) by debbugs.gnu.org; 27 Jan 2022 20:08:00 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: <837daldkb5.fsf@gnu.org> (message from Eli Zaretskii on Thu, 27 Jan 2022 21:56:30 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225398 Archived-At: > 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.