From unknown Sat Sep 06 02:32:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49821 <49821@debbugs.gnu.org> To: bug#49821 <49821@debbugs.gnu.org> Subject: Status: [PATCH] * lisp/delsel.el (minibuffer-keyboard-quit): Use abort-minibuffers Reply-To: bug#49821 <49821@debbugs.gnu.org> Date: Sat, 06 Sep 2025 09:32:51 +0000 retitle 49821 [PATCH] * lisp/delsel.el (minibuffer-keyboard-quit): Use abor= t-minibuffers reassign 49821 emacs submitter 49821 Miha Rihtar=C5=A1i=C4=8D severity 49821 normal tag 49821 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 02 07:13:57 2021 Received: (at submit) by debbugs.gnu.org; 2 Aug 2021 11:13:57 +0000 Received: from localhost ([127.0.0.1]:37784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAVtE-00040E-6G for submit@debbugs.gnu.org; Mon, 02 Aug 2021 07:13:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:43944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAVtC-000406-5f for submit@debbugs.gnu.org; Mon, 02 Aug 2021 07:13:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAVtA-0005JQ-3M for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 07:13:44 -0400 Received: from kamnitnik.top ([209.250.245.214]:53380 helo=mail.kamnitnik.top) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAVt8-000553-Lf for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 07:13:43 -0400 Received: from localhost (unknown [IPv6:2a00:ee2:e04:9300:e609:6c46:d026:8c47]) by mail.kamnitnik.top (Postfix) with ESMTPSA id C1444BCF6B; Mon, 2 Aug 2021 11:13:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1627902818; bh=Tpa2Va8GOV+qO+VcEUGOIa7tpB743mlrc9Yz3hUZW1o=; h=From:To:Cc:Subject:Date:From; b=dzl9IueV37R6ZQ7BBcMuzQyN+AVfCd9j+CCYt0jZQr5BQpOm2rQ4orMGrUjQyM0lP YgwsHMSyHWmPtH4q9WlIBQF7163jf3E7lkwYKFnOectzb8HmJx+1QeB8Y1VvT3Ofj0 +nQVfeoEQEEvYnSCFbB4KRlOkbXwThj7pYG1ITzBLKv653mCrCpd4wPqqR7m8xDrBR ozyREA12/HL41k9xs6nggkGZ1x4nghkXWrK6lvak1SDCWa+T/wJ0j1PsONsItikZrx BjKK1P22Zlr0zfJayDNzN5HWYYh4hPF1/2H7GqrVfgAOpE+bG5vyrtSVF0VDWcb4gx 89ro6JWiCIrmQ== From: =?UTF-8?q?Miha=20Rihtar=C5=A1i=C4=8D?= To: bug-gnu-emacs@gnu.org Subject: [PATCH] * lisp/delsel.el (minibuffer-keyboard-quit): Use abort-minibuffers Date: Mon, 2 Aug 2021 13:16:01 +0200 Message-Id: <20210802111601.8077-1-miha@kamnitnik.top> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=209.250.245.214; envelope-from=miha@kamnitnik.top; helo=mail.kamnitnik.top X-Spam_score_int: 13 X-Spam_score: 1.3 X-Spam_bar: + X-Spam_report: (1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=0.921, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: --- Previously, C-g was bound to abort-recursive-edit, now it is bound to abort-minibuffers. However, after requiring delsel, it gets bound to minibuffer-keyboard-quit, which still uses abort-recursiv [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=miha%40kamnitnik.top; ip=209.51.188.17; r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Miha=20Rihtar=C5=A1i=C4=8D?= 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: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: --- Previously, C-g was bound to abort-recursive-edit, now it is bound to abort-minibuffers. However, after requiring delsel, it gets bound to minibuffer-keyboard-quit, which still uses abort-recursiv [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --- Previously, C-g was bound to abort-recursive-edit, now it is bound to abort-minibuffers. However, after requiring delsel, it gets bound to minibuffer-keyboard-quit, which still uses abort-recursive-edit. Use the new function instead. lisp/delsel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/delsel.el b/lisp/delsel.el index 3c99dd2344..93fdc6a886 100644 --- a/lisp/delsel.el +++ b/lisp/delsel.el @@ -300,7 +300,7 @@ minibuffer-keyboard-quit (interactive) (if (and delete-selection-mode (region-active-p)) (setq deactivate-mark t) - (abort-recursive-edit))) + (abort-minibuffers))) (define-key minibuffer-local-map "\C-g" 'minibuffer-keyboard-quit) -- 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 03:15:58 2021 Received: (at 49821) by debbugs.gnu.org; 4 Aug 2021 07:15:58 +0000 Received: from localhost ([127.0.0.1]:42327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB8A-0002fC-7J for submit@debbugs.gnu.org; Wed, 04 Aug 2021 03:15:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB88-0002ey-Bn for 49821@debbugs.gnu.org; Wed, 04 Aug 2021 03:15:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=t+tf9Ki+gHIDYKn584I7XukUdtRrNNDa1+yKzr2Nv/w=; b=PpUaQmbx++02xdx9ZNsizvdK6T JpIzTsxfNIN5efTUnv3lee4oibk9W3uMZHR4iEULQofXLm1Vh9x+pbJvoAsKgU1+eklLLQTsX2TkG rYL2guV91AoxmPEET+8yP/gNn/Qxns0u63cDKB5NNQJ/asA3ED9K3XGLG5WfetFuHwRI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBB7z-0004nn-I5; Wed, 04 Aug 2021 09:15:50 +0200 From: Lars Ingebrigtsen To: Miha =?utf-8?B?UmlodGFyxaFpxI0=?= Subject: Re: bug#49821: [PATCH] * lisp/delsel.el (minibuffer-keyboard-quit): Use abort-minibuffers References: <20210802111601.8077-1-miha@kamnitnik.top> Date: Wed, 04 Aug 2021 09:15:47 +0200 In-Reply-To: <20210802111601.8077-1-miha@kamnitnik.top> ("Miha =?utf-8?B?UmlodGFyxaFpxI0iJ3M=?= message of "Mon, 2 Aug 2021 13:16:01 +0200") Message-ID: <87wnp1fzoc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Miha Rihtaršič writes: > Previously, C-g was bound to abort-recursive-edit, now it is bound to > abort-minibuffers. However, after requiring delsel, it gets bound to > minibuffer-keyboard-quit, which still uses abort-recurs [...] 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: -0.3 (/) X-Debbugs-Envelope-To: 49821 Cc: 49821@debbugs.gnu.org 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: -1.3 (-) Miha Rihtar=C5=A1i=C4=8D writes: > Previously, C-g was bound to abort-recursive-edit, now it is bound to > abort-minibuffers. However, after requiring delsel, it gets bound to > minibuffer-keyboard-quit, which still uses abort-recursive-edit. Use > the new function instead. Makes sense to me; applied to Emacs 28. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 04 03:16:01 2021 Received: (at control) by debbugs.gnu.org; 4 Aug 2021 07:16:01 +0000 Received: from localhost ([127.0.0.1]:42330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB8D-0002fZ-EA for submit@debbugs.gnu.org; Wed, 04 Aug 2021 03:16:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB8C-0002f3-5u for control@debbugs.gnu.org; Wed, 04 Aug 2021 03:16:00 -0400 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=jMDjq9LkgRdSDpIRytfZvK3iHroj9QZWyjZiTeRDh8w=; b=NKqmeFEuunWNiEGHcyuhAg07fV ejaHVRdimuo9l6Ye+ulrKEYro44DlVOTdXAbPUobPfvrmAHMCiFlhxWmqMEqieNMXsEpVzXCy1xL+ dwEyspRUdVQP0C9ID4psPh6sIYjcwXjRmMb+TbljSeXQY88jKWGICuR//qf0GW626/fE=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBB84-0004nz-Hp for control@debbugs.gnu.org; Wed, 04 Aug 2021 09:15:54 +0200 Date: Wed, 04 Aug 2021 09:15:52 +0200 Message-Id: <87v94lfzo7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49821 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 49821 28.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 49821 28.1 quit From unknown Sat Sep 06 02:32:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Sep 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator