From unknown Mon Jun 23 02:21:37 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#44328 <44328@debbugs.gnu.org> To: bug#44328 <44328@debbugs.gnu.org> Subject: Status: 27.1; [PATCH] Add expand-abbrev-maybe condition key binding Reply-To: bug#44328 <44328@debbugs.gnu.org> Date: Mon, 23 Jun 2025 09:21:37 +0000 retitle 44328 27.1; [PATCH] Add expand-abbrev-maybe condition key binding reassign 44328 emacs submitter 44328 Zhu Zihao severity 44328 normal tag 44328 wontfix patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 10:48:15 2020 Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 14:48:15 +0000 Received: from localhost ([127.0.0.1]:59199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYVhO-0006L7-Td for submit@debbugs.gnu.org; Fri, 30 Oct 2020 10:48:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:32868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYVhM-0006Kz-VS for submit@debbugs.gnu.org; Fri, 30 Oct 2020 10:48:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYVhM-0004jL-Kt for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 10:48:12 -0400 Received: from mail-m971.mail.163.com ([123.126.97.1]:33020) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYVhE-0003bC-Iw for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 10:48:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=iKh1f eALUoAO2725E/aiG2xajCsBwZS3BMwyC4xdgZE=; b=PujeA+IYMMPWot3mu7jbA FXtrSoVMCoo9MHNwXyv8syXiYTp7+Lo/qiakmPiBsFffkWtcKh2xgJhwsjMyd/Tq AgZBbVzm7X/QnzU7OgSmHUTAHqeT4SGN79+TSlG8sJCqoM2oIttFFZP5RA8EoQkf /hov3Iqo8TF2ss18w8k6r0= Received: from asus-laptop (unknown [27.39.88.51]) by smtp1 (Coremail) with SMTP id GdxpCgC3TLgDJJxfyvVLAA--.16S2; Fri, 30 Oct 2020 22:32:35 +0800 (CST) User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: bug-gnu-emacs@gnu.org Subject: 27.1; [PATCH] Add expand-abbrev-maybe condition key binding Date: Fri, 30 Oct 2020 22:32:32 +0800 Message-ID: <86h7qbdbsv.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: GdxpCgC3TLgDJJxfyvVLAA--.16S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUcUDJDUUUU X-Originating-IP: [27.39.88.51] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/1tbiTwTNr1sGWSlJOgAAs3 Received-SPF: pass client-ip=123.126.97.1; envelope-from=all_but_last@163.com; helo=mail-m971.mail.163.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/30 10:32:39 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit 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: -2.4 (--) --=-=-= Content-Type: text/plain This patch add expand-abbrev-maybe. A conditional keybinding inspired from YASnippet. When bound to something like "TAB", it will expand abbrev if there's some at point, it will do original binding(e.g. indent) if there's no abbrev. This is helpful for somebody doesn't like aggressive expand strategy in abbrev-mode, but still doesn't want to give a exclusive keybinding for expand-abbrev. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Add-conditonal-key-binding-expand-abbrev-maybe.patch >From 3df90b6c045d8f9e5e91890b44a96a9685e872ae Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 30 Oct 2020 22:24:54 +0800 Subject: [PATCH] Add conditonal key binding expand-abbrev-maybe A binding which will expand any existing abbrev at point and act like original keybinding when there's none abbrev at point. * lisp/abbrev.el (expand-abbrev-maybe): New variable. * doc/emacs/abbrevs.texi (Abbrev Concepts): New vindex "expand-abbrev-maybe". --- doc/emacs/abbrevs.texi | 6 ++++++ lisp/abbrev.el | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi index e3766aae9e..2d7b4e1698 100644 --- a/doc/emacs/abbrevs.texi +++ b/doc/emacs/abbrevs.texi @@ -210,6 +210,12 @@ Expanding Abbrevs unexpand-abbrev} to cancel the last expansion without deleting the terminating character. +@vindex expand-abbrev-maybe + If you don't want to check expand for every @code{self-insert-command} +like Abbrev mode. There's a variable describing a conditional key definition +You can bind it to some key like @kbd{TAB}. It' ll expand abbrev if +there's some abbrev at point, and act like usual @kbd{TAB} if there's not. + @findex expand-region-abbrevs @kbd{M-x expand-region-abbrevs} searches through the region for defined abbrevs, and for each one found offers to replace it with its expansion. diff --git a/lisp/abbrev.el b/lisp/abbrev.el index f35c637eed..7d4bb9621f 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -978,6 +978,13 @@ expand-abbrev (if abbrev-suggest (abbrev--suggest-maybe-suggest)))) +(defconst expand-abbrev-maybe + '(menu-item "" expand-abbrev + :filter (lambda (cmd) (and (abbrev--before-point) cmd))) + "A conditional key definition for `expand-abbrev'. +When this was bound, it will expand abbrev at point if there're any possible +abbrev.") + (defun abbrev--default-expand () "Default function to use for `abbrev-expand-function'. This also respects the obsolete wrapper hook `abbrev-expand-functions'. -- 2.29.1 --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp Zihao --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+cJAAVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRhamxAAH/ie4a1k40GvllyhvZpYhlr1KyxoQ 0YzdgCa6rDFKfpzyn+lV9N/XDx0e4kf1hOap8bJjtROuRpyG2LIMVczJ5RDfxhwk /KYEUzu6kEp4cNtfgAJawQEsT45O5UxAsIi5SHm+jpyNHvXP7Q/bzFGdDiXUFA/H gDYXyTfLtMVNmAgzX8VMjIoTQZZqsSyT42ZNVMnfywyPeyNaIo3Qgt0CQjCdTzOf tbTO9ow2mp6eUSnlva4S6brnzLuB0gYmBowlYaReLRHB8s2fPbhUzX2hIVLV2HrD e3cKeO7HhQaFgGGhVPNMyMdd6Z8m+P8UuXPc/TPRs5kTm/DRCnt1YqGMINk= =H9S7 -----END PGP SIGNATURE----- --==-=-=-- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 01 09:25:33 2020 Received: (at 44328) by debbugs.gnu.org; 1 Nov 2020 14:25:33 +0000 Received: from localhost ([127.0.0.1]:36092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZEIX-000607-4e for submit@debbugs.gnu.org; Sun, 01 Nov 2020 09:25:33 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZEIV-0005zs-SZ for 44328@debbugs.gnu.org; Sun, 01 Nov 2020 09:25:32 -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=ao/0vbIbLrzoFTnunIo09jK1qQ5T1dIyuaS9ca7ZpHw=; b=DyUZw9L1NrhFEoMaH3b9E9ufHv gBiIpE50F2fpD0pN6bL2cgNcpVCg/fwKEqnh4BFdlV3EAdIfsrgp5nXBVePT9dR9yJJSK+7E3ud0f KYNVHT7icbzyYFixyHUMDrXWnErcTyAl/6oIlilwa7xbH1PHDd/ESqC3CpglT7pKL3O4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZEIM-0000yK-QF; Sun, 01 Nov 2020 15:25:25 +0100 From: Lars Ingebrigtsen To: Zhu Zihao Subject: Re: bug#44328: 27.1; [PATCH] Add expand-abbrev-maybe condition key binding References: <86h7qbdbsv.fsf@163.com> X-Now-Playing: Blaine Reiniger's _Songs From The Rain Palace_: "Pere Lachaise" Date: Sun, 01 Nov 2020 15:25:21 +0100 In-Reply-To: <86h7qbdbsv.fsf@163.com> (Zhu Zihao's message of "Fri, 30 Oct 2020 22:32:32 +0800") Message-ID: <87v9ep9msu.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 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: Zhu Zihao writes: > +@vindex expand-abbrev-maybe > + If you don't want to check expand for every @code{self-insert-command} > +like Abbrev mode. There's a variable describing a conditional key definition > +You can bin [...] 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.0 (/) X-Debbugs-Envelope-To: 44328 Cc: 44328@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.0 (-) Zhu Zihao writes: > +@vindex expand-abbrev-maybe > + If you don't want to check expand for every @code{self-insert-command} > +like Abbrev mode. There's a variable describing a conditional key definition > +You can bind it to some key like @kbd{TAB}. It' ll expand abbrev if > +there's some abbrev at point, and act like usual @kbd{TAB} if there's not. [...] > +(defconst expand-abbrev-maybe > + '(menu-item "" expand-abbrev > + :filter (lambda (cmd) (and (abbrev--before-point) cmd))) > + "A conditional key definition for `expand-abbrev'. > +When this was bound, it will expand abbrev at point if there're any possible > +abbrev.") I'm afraid I don't understand the meaning of this constant, or what this is trying to achieve. You talk about adding a new key binding, which should presumably refer to a new command (i.e. function)? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 02 00:42:07 2020 Received: (at 44328) by debbugs.gnu.org; 2 Nov 2020 05:42:07 +0000 Received: from localhost ([127.0.0.1]:39326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZSbW-0004Dp-Mn for submit@debbugs.gnu.org; Mon, 02 Nov 2020 00:42:07 -0500 Received: from m1368.mail.163.com ([220.181.13.68]:46970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZSbT-0004DB-KR for 44328@debbugs.gnu.org; Mon, 02 Nov 2020 00:42:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=hwso/ XqGhhd8cFmPh8vP4jkFeamvRHdeQZaa0LBnI3E=; b=ktVhtPj6Ft/62GahXVVoz jtynKT1jKYbxOU3zjVk1mpX3+vb34Rseb0Yf8Kjpc+NUvLyI8yCPpvKN+arjcdoJ ua6FwSIayUzyAVTp2+7Q0YyYwD+XDiXUyBMB/HG1vjFm34qAIgengKv//2LigjJk bNzlXTjyzDnKmxouq4aXJo= Received: from all_but_last$163.com ( [27.39.89.124] ) by ajax-webmail-wmsvr68 (Coremail) ; Mon, 2 Nov 2020 13:41:37 +0800 (CST) X-Originating-IP: [27.39.89.124] Date: Mon, 2 Nov 2020 13:41:37 +0800 (CST) From: "Zhu Zihao" To: "Lars Ingebrigtsen" Subject: Re:Re: bug#44328: 27.1; [PATCH] Add expand-abbrev-maybe condition key binding X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.10 build 20190724(ac680a23) Copyright (c) 2002-2020 www.mailtech.cn 163com In-Reply-To: <87v9ep9msu.fsf@gnus.org> References: <86h7qbdbsv.fsf@163.com> <87v9ep9msu.fsf@gnus.org> X-CM-CTRLDATA: l06hgmZvb3Rlcl9odG09MTg2Mzo1Ng== Content-Type: multipart/alternative; boundary="----=_Part_63899_614300313.1604295697601" MIME-Version: 1.0 Message-ID: <33826ad9.44e2.1758779a4c1.Coremail.all_but_last@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: RMGowAC3vw8jnJ9fiU+3AA--.63207W X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbCmAnQr1zmU4NR8wACsk X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44328 Cc: 44328@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.0 (-) ------=_Part_63899_614300313.1604295697601 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 QWN0dWFsbHksIGl0J3MgYSBtZW51LWl0ZW0gZGVmaW5pdGlvbiwgZGVzY3JpYmVkIGluIGh0dHBz Oi8vd3d3LmdudS5vcmcvc29mdHdhcmUvZW1hY3MvbWFudWFsL2h0bWxfbm9kZS9lbGlzcC9FeHRl bmRlZC1NZW51LUl0ZW1zLmh0bWwKCgoKSXQgY2FuIGJlIGJvdW5kIHRvIGEga2V5bWFwIGFuZCB1 c2UgaXQgbGlrZSBrZXkgYmluZGluZ3MsIGl0IGFsc28gc3VwcG9ydCBzb21lIGR5bmFtaWMgZmVh dHVyZXMgd2hpY2ggbm9ybWFsIGtleWJpbmRpbmcgY2FuJ3QgZG8sIGFjY29yZGluZyB0byBtYW51 YWwuCgoKCgoKCgoKCgoKCgoKCgoKCkF0IDIwMjAtMTEtMDEgMjI6MjU6MjEsICJMYXJzIEluZ2Vi cmlndHNlbiIgPGxhcnNpQGdudXMub3JnPiB3cm90ZToKPlpodSBaaWhhbyA8YWxsX2J1dF9sYXN0 QDE2My5jb20+IHdyaXRlczoKPgo+PiArQHZpbmRleCBleHBhbmQtYWJicmV2LW1heWJlCj4+ICsg IElmIHlvdSBkb24ndCB3YW50IHRvIGNoZWNrIGV4cGFuZCBmb3IgZXZlcnkgQGNvZGV7c2VsZi1p bnNlcnQtY29tbWFuZH0KPj4gK2xpa2UgQWJicmV2IG1vZGUuIFRoZXJlJ3MgYSB2YXJpYWJsZSBk ZXNjcmliaW5nIGEgY29uZGl0aW9uYWwga2V5IGRlZmluaXRpb24KPj4gK1lvdSBjYW4gYmluZCBp dCB0byBzb21lIGtleSBsaWtlIEBrYmR7VEFCfS4gSXQnIGxsIGV4cGFuZCBhYmJyZXYgaWYKPj4g K3RoZXJlJ3Mgc29tZSBhYmJyZXYgYXQgcG9pbnQsIGFuZCBhY3QgbGlrZSB1c3VhbCBAa2Jke1RB Qn0gaWYgdGhlcmUncyBub3QuCj4KPlsuLi5dCj4KPj4gKyhkZWZjb25zdCBleHBhbmQtYWJicmV2 LW1heWJlCj4+ICsgICcobWVudS1pdGVtICIiIGV4cGFuZC1hYmJyZXYKPj4gKyAgICA6ZmlsdGVy IChsYW1iZGEgKGNtZCkgKGFuZCAoYWJicmV2LS1iZWZvcmUtcG9pbnQpIGNtZCkpKQo+PiArICAi QSBjb25kaXRpb25hbCBrZXkgZGVmaW5pdGlvbiBmb3IgYGV4cGFuZC1hYmJyZXYnLgo+PiArV2hl biB0aGlzIHdhcyBib3VuZCwgaXQgd2lsbCBleHBhbmQgYWJicmV2IGF0IHBvaW50IGlmIHRoZXJl J3JlIGFueSBwb3NzaWJsZQo+PiArYWJicmV2LiIpCj4KPkknbSBhZnJhaWQgSSBkb24ndCB1bmRl cnN0YW5kIHRoZSBtZWFuaW5nIG9mIHRoaXMgY29uc3RhbnQsIG9yIHdoYXQgdGhpcwo+aXMgdHJ5 aW5nIHRvIGFjaGlldmUuICBZb3UgdGFsayBhYm91dCBhZGRpbmcgYSBuZXcga2V5IGJpbmRpbmcs IHdoaWNoCj5zaG91bGQgcHJlc3VtYWJseSByZWZlciB0byBhIG5ldyBjb21tYW5kIChpLmUuIGZ1 bmN0aW9uKT8KPgo+LS0gCj4oZG9tZXN0aWMgcGV0cyBvbmx5LCB0aGUgYW50aWRvdGUgZm9yIG92 ZXJkb3NlLCBtaWxrLikKPiAgIGJsb2dneSBibG9nOiBodHRwOi8vbGFycy5pbmdlYnJpZ3RzZW4u bm8K ------=_Part_63899_614300313.1604295697601 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: base64 PGRpdiBzdHlsZT0ibGluZS1oZWlnaHQ6MS43O2NvbG9yOiMwMDAwMDA7Zm9udC1zaXplOjE0cHg7 Zm9udC1mYW1pbHk6QXJpYWwiPkFjdHVhbGx5LCBpdCdzIGEgbWVudS1pdGVtIGRlZmluaXRpb24s IGRlc2NyaWJlZCBpbiBodHRwczovL3d3dy5nbnUub3JnL3NvZnR3YXJlL2VtYWNzL21hbnVhbC9o dG1sX25vZGUvZWxpc3AvRXh0ZW5kZWQtTWVudS1JdGVtcy5odG1sPGJyPjxkaXYgc3R5bGU9Im1h cmdpbjogMDsiPjxicj48L2Rpdj48ZGl2IHN0eWxlPSJtYXJnaW46IDA7Ij5JdCBjYW4gYmUgYm91 bmQgdG8gYSBrZXltYXAgYW5kIHVzZSBpdCBsaWtlIGtleSBiaW5kaW5ncywgaXQgYWxzbyBzdXBw b3J0IHNvbWUgZHluYW1pYyBmZWF0dXJlcyB3aGljaCBub3JtYWwga2V5YmluZGluZyBjYW4ndCBk bywgYWNjb3JkaW5nIHRvIG1hbnVhbC48YnI+PC9kaXY+PHAgc3R5bGU9Im1hcmdpbjogMDsiPjxi cj48L3A+PHAgc3R5bGU9Im1hcmdpbjogMDsiPjxicj48L3A+PHAgc3R5bGU9Im1hcmdpbjogMDsi Pjxicj48L3A+PHAgc3R5bGU9Im1hcmdpbjogMDsiPjxicj48L3A+PGRpdiBzdHlsZT0icG9zaXRp b246cmVsYXRpdmU7em9vbToxIj48L2Rpdj48ZGl2IGlkPSJkaXZOZXRlYXNlTWFpbENhcmQiPjwv ZGl2PjxwIHN0eWxlPSJtYXJnaW46IDA7Ij48YnI+PC9wPjxwcmU+PGJyPkF0IDIwMjAtMTEtMDEg MjI6MjU6MjEsICJMYXJzIEluZ2VicmlndHNlbiIgJmx0O2xhcnNpQGdudXMub3JnJmd0OyB3cm90 ZToKJmd0O1podSBaaWhhbyAmbHQ7YWxsX2J1dF9sYXN0QDE2My5jb20mZ3Q7IHdyaXRlczoKJmd0 OwomZ3Q7Jmd0OyArQHZpbmRleCBleHBhbmQtYWJicmV2LW1heWJlCiZndDsmZ3Q7ICsgIElmIHlv dSBkb24ndCB3YW50IHRvIGNoZWNrIGV4cGFuZCBmb3IgZXZlcnkgQGNvZGV7c2VsZi1pbnNlcnQt Y29tbWFuZH0KJmd0OyZndDsgK2xpa2UgQWJicmV2IG1vZGUuIFRoZXJlJ3MgYSB2YXJpYWJsZSBk ZXNjcmliaW5nIGEgY29uZGl0aW9uYWwga2V5IGRlZmluaXRpb24KJmd0OyZndDsgK1lvdSBjYW4g YmluZCBpdCB0byBzb21lIGtleSBsaWtlIEBrYmR7VEFCfS4gSXQnIGxsIGV4cGFuZCBhYmJyZXYg aWYKJmd0OyZndDsgK3RoZXJlJ3Mgc29tZSBhYmJyZXYgYXQgcG9pbnQsIGFuZCBhY3QgbGlrZSB1 c3VhbCBAa2Jke1RBQn0gaWYgdGhlcmUncyBub3QuCiZndDsKJmd0O1suLi5dCiZndDsKJmd0OyZn dDsgKyhkZWZjb25zdCBleHBhbmQtYWJicmV2LW1heWJlCiZndDsmZ3Q7ICsgICcobWVudS1pdGVt ICIiIGV4cGFuZC1hYmJyZXYKJmd0OyZndDsgKyAgICA6ZmlsdGVyIChsYW1iZGEgKGNtZCkgKGFu ZCAoYWJicmV2LS1iZWZvcmUtcG9pbnQpIGNtZCkpKQomZ3Q7Jmd0OyArICAiQSBjb25kaXRpb25h bCBrZXkgZGVmaW5pdGlvbiBmb3IgYGV4cGFuZC1hYmJyZXYnLgomZ3Q7Jmd0OyArV2hlbiB0aGlz IHdhcyBib3VuZCwgaXQgd2lsbCBleHBhbmQgYWJicmV2IGF0IHBvaW50IGlmIHRoZXJlJ3JlIGFu eSBwb3NzaWJsZQomZ3Q7Jmd0OyArYWJicmV2LiIpCiZndDsKJmd0O0knbSBhZnJhaWQgSSBkb24n dCB1bmRlcnN0YW5kIHRoZSBtZWFuaW5nIG9mIHRoaXMgY29uc3RhbnQsIG9yIHdoYXQgdGhpcwom Z3Q7aXMgdHJ5aW5nIHRvIGFjaGlldmUuICBZb3UgdGFsayBhYm91dCBhZGRpbmcgYSBuZXcga2V5 IGJpbmRpbmcsIHdoaWNoCiZndDtzaG91bGQgcHJlc3VtYWJseSByZWZlciB0byBhIG5ldyBjb21t YW5kIChpLmUuIGZ1bmN0aW9uKT8KJmd0OwomZ3Q7LS0gCiZndDsoZG9tZXN0aWMgcGV0cyBvbmx5 LCB0aGUgYW50aWRvdGUgZm9yIG92ZXJkb3NlLCBtaWxrLikKJmd0OyAgIGJsb2dneSBibG9nOiBo dHRwOi8vbGFycy5pbmdlYnJpZ3RzZW4ubm8KPC9wcmU+PC9kaXY+PGJyPjxicj48c3BhbiB0aXRs ZT0ibmV0ZWFzZWZvb3RlciI+PHA+Jm5ic3A7PC9wPjwvc3Bhbj4= ------=_Part_63899_614300313.1604295697601-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 02 10:30:20 2020 Received: (at 44328) by debbugs.gnu.org; 2 Nov 2020 15:30:20 +0000 Received: from localhost ([127.0.0.1]:42168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZbmm-0002yi-AL for submit@debbugs.gnu.org; Mon, 02 Nov 2020 10:30:20 -0500 Received: from quimby.gnus.org ([95.216.78.240]:48330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZbmk-0002yN-Jo for 44328@debbugs.gnu.org; Mon, 02 Nov 2020 10:30:19 -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=33byhQPMNPU8AuKHbq0o5JsO+dvbOhF247zaBqrHAQI=; b=LFZiJicPdw49bPnGS/lcde9mgY xJp1mM9A/76BQpYskiOJMHVpVOwkhbhNmHC7UqImwIhBHjkwoOQhTlC/xdBFt3UYtGr2O22sExL+e yrLmZ8ycr3nPIlmwLl2Sep2DWisBwlKFQrbrw+1zz300i36w2RHYY6xL5j9dGHDjGEps=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZbmT-0001p3-V0; Mon, 02 Nov 2020 16:30:12 +0100 From: Lars Ingebrigtsen To: "Zhu Zihao" Subject: Re: bug#44328: 27.1; [PATCH] Add expand-abbrev-maybe condition key binding References: <86h7qbdbsv.fsf@163.com> <87v9ep9msu.fsf@gnus.org> <33826ad9.44e2.1758779a4c1.Coremail.all_but_last@163.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXftaDTkHOeamBJ Nj+GeIP///9UTBKyAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+QLAg47MxUkqYoAAAGFSURBVDjLbZQN bsMgDIXN1gMAu8Cwd4DVzgGqJfc/055NkkJaS5Uqf/jvGUKU6YNb6VaZuRHs0ygR8QSWG8DNKGeA chiAbkSJjUo+MlEHtoFsRvUokSl1sGwPopWYhMOLzFHEPORPqCVB8eytUI9wsAr9VgAEwZ/cD4Bc q9E9gGnJpYjtpmKkVVpJYmgAh/2MA7S71BW+KncqTiv3kIjgMKrGLbpyEwDzEg4Uf84yDqquD7QF sNppBHfhWlrKtZXbj+gJWH2ukqhy8ol4BNCkhMh9wg4wW8nQD8d9yDoBNwch8BWUWGQdUlmsoxVx sGsygsQawJ4gVp5TrP4VIJVcge8iQekQV0bQsHMxe6q+Azhyqu/AXtVFkwmoLyjmuwI+zSYAhdk1 H/wH8J/YaB2oXtwH6MPzO8DjDCPQqfITaPfKDNhBXI+53e+AjBvOUyo8ppjd7+mYKvuj1iA6RcC+ /KH4Q7YLwODSk12BR+h0/gTzcAcQ4xcNLT4oS2J+F2G/VF9C/gEWf6lMTPjvrwAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMC0xMS0wMlQxNDo1OTo1MSswMDowMAfa8TcAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjAtMTEtMDJUMTQ6NTk6NTErMDA6MDB2h0mLAAAAAElFTkSuQmCC X-Now-Playing: Richard And Linda Thompson's _Pour Down Like Silver_: "Hard Luck Stories" Date: Mon, 02 Nov 2020 16:30:00 +0100 In-Reply-To: <33826ad9.44e2.1758779a4c1.Coremail.all_but_last@163.com> (Zhu Zihao's message of "Mon, 2 Nov 2020 13:41:37 +0800 (CST)") Message-ID: <87r1pb6akn.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 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: "Zhu Zihao" writes: > Actually, it's a menu-item definition, described in > https://www.gnu.org/software/emacs/manual/html_node/elisp/Extended-Menu-Items.html > > It can be bound to a keymap and use it like key bindings, [...] 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.0 (/) X-Debbugs-Envelope-To: 44328 Cc: 44328@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.0 (-) "Zhu Zihao" writes: > Actually, it's a menu-item definition, described in > https://www.gnu.org/software/emacs/manual/html_node/elisp/Extended-Menu-Items.html > > It can be bound to a keymap and use it like key bindings, it also support some > dynamic features which normal keybinding can't do, according to manual. OK, but a normal command would surely make more sense here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 02 23:41:11 2020 Received: (at 44328) by debbugs.gnu.org; 3 Nov 2020 04:41:11 +0000 Received: from localhost ([127.0.0.1]:43125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZo87-0001E3-5i for submit@debbugs.gnu.org; Mon, 02 Nov 2020 23:41:11 -0500 Received: from mail-m971.mail.163.com ([123.126.97.1]:55756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZo84-0001Ds-9a for 44328@debbugs.gnu.org; Mon, 02 Nov 2020 23:41:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=QWCvi NkUlSlioRgaczERHF7F9UZoQAOq2MILxU036u8=; b=SmqO81mJDiBznNkab8i2m 0lsm5RK9D9CJf441+62xqGCsN98s+SceXJqcG45SsE2dlQpzB837FLi896D0eFBR ivL8Xc1PkQh3Isc2gGyqUnMWOxjzKMuqgwJBN85oRLCoEKpJE86sbzz/0x+X7Tfl laQCjygMu2LkPT5WVFe81g= Received: from asus-laptop (unknown [112.93.142.125]) by smtp1 (Coremail) with SMTP id GdxpCgBnb9Na36Bf8UkBAA--.12S2; Tue, 03 Nov 2020 12:41:02 +0800 (CST) References: <86h7qbdbsv.fsf@163.com> <87v9ep9msu.fsf@gnus.org> <33826ad9.44e2.1758779a4c1.Coremail.all_but_last@163.com> <87r1pb6akn.fsf@gnus.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: Lars Ingebrigtsen Subject: Re: bug#44328: 27.1; [PATCH] Add expand-abbrev-maybe condition key binding In-reply-to: <87r1pb6akn.fsf@gnus.org> Date: Tue, 03 Nov 2020 12:40:52 +0800 Message-ID: <86eelbaw8b.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: GdxpCgBnb9Na36Bf8UkBAA--.12S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7uF4xKry3Jr4kCw48ZryDtrb_yoW8WrWDpa yF9ryrtrW0qFyUJa1kKF1kZrWIq397tFWYqa1DXrWxua13J3yI93y3tFs3ua47Ww4Iva4a qF4DC3s29a4kCFJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07Uv0PDUUUUU= X-Originating-IP: [112.93.142.125] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbCChDRr12MYlryKwAAsU X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44328 Cc: 44328@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.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'm afraid that a normal command can't do this. Please see following example. ``` (defvar my-override-map (make-sparse-keymap)) (define-minor-mode my-keymap-override-mode "" :keymap my-override-map) (defconst expand-abbrev-maybe '(menu-item "" expand-abbrev :filter (lambda (cmd) (and (abbrev--before-point) cmd)))) (define-key my-override-map (kbd "C-'") expand-abbrev-maybe) (global-set-key (kbd "C-'") #'eww) (define-abbrev emacs-lisp-mode-abbrev-table "lb" ";; -*- lexical-binding: t= -*-") ``` I first create a minor mode for keymap overriding, then set the global key C-' to eww. And bind expand-abbrev-maybe to the keymap of minor mode my-keymap-override-mode. And I define a abbrev "lb" in Elisp mode. then enable minor mode my-override-map in Elisp mode. If my cursor is following "lb"(like "lb|"), it will expand the abbrev, otherwise it will execute eww. Now I change the key binding of C-' in global map(change to gnus). the behaviour of keybinding in my-override-map will become "Expand abbrev if possible otherwise execute gnus"=20 Lars Ingebrigtsen writes: > "Zhu Zihao" writes: > >> Actually, it's a menu-item definition, described in >> https://www.gnu.org/software/emacs/manual/html_node/elisp/Extended-Menu-= Items.html >> >> It can be bound to a keymap and use it like key bindings, it also suppor= t some >> dynamic features which normal keybinding can't do, according to manual. > > OK, but a normal command would surely make more sense here? =2D-=20 Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+g31YVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRhamMOAIAImx3YQsh1BpKZ6wj4XdK4/z7Fv7 9UZCwRN864FN26RkztdXpPWJImCsdlBPYwgVO3hlKacvC0ip8yr46Jnmb2YxJGo0 08TNStpQpcqHX8khdcz6iUC1GXzNjUFRkWGqm7u2j0R0AnJCtHeYsGexmWdlG3Qy AGzZfL/tcR5W6Tj+kBfGTE2umAACOi1mVUI6LDOTM86i65KfNSqc7JPIheZL/2qY ugRjtWecT43sa9RkFcExGlQqyW6Uqp9AReKpsabEm+LyvPtYNAccYVFjziiusPBz /WuqpcrA40+CUdyH69kr2wvQ8OlrlF+xZKp6AxQ8hx8SbgKd//h4LomnD8k= =rh+/ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 13 07:26:03 2021 Received: (at 44328) by debbugs.gnu.org; 13 May 2021 11:26:03 +0000 Received: from localhost ([127.0.0.1]:41461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh9Tf-0005gT-Gq for submit@debbugs.gnu.org; Thu, 13 May 2021 07:26:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh9Td-0005fu-7m for 44328@debbugs.gnu.org; Thu, 13 May 2021 07:26:01 -0400 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=kvVJfT4UyTNSfxAxTCHwny6QmD1CMpkKy6nXElLaPRY=; b=VFx13HYHPn6rjEriwdLjBTsaQ5 8EcnEijuf/qSDwwyN6cxCZZcbsXxHWhAB3L58gQr3pGYadUusg/eGAd06B3EcXR8Xu0gaGPs+XwTO 4RaoRCjb8sLX9LW4Hp2xOfoksWSJowfoYpcDJtRnvRCT4F/3njretu//6uhRoPFge794=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lh9TU-00048l-JE; Thu, 13 May 2021 13:25:54 +0200 From: Lars Ingebrigtsen To: Zhu Zihao Subject: Re: bug#44328: 27.1; [PATCH] Add expand-abbrev-maybe condition key binding References: <86h7qbdbsv.fsf@163.com> <87v9ep9msu.fsf@gnus.org> <33826ad9.44e2.1758779a4c1.Coremail.all_but_last@163.com> <87r1pb6akn.fsf@gnus.org> <86eelbaw8b.fsf@163.com> X-Now-Playing: Martina Topley-Bird's _Quixotic_: "I Still Feel" Date: Thu, 13 May 2021 13:25:52 +0200 In-Reply-To: <86eelbaw8b.fsf@163.com> (Zhu Zihao's message of "Tue, 03 Nov 2020 12:40:52 +0800") Message-ID: <87zgwyq3i7.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 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: Zhu Zihao writes: > And I define a abbrev "lb" in Elisp mode. then enable minor mode > my-override-map in Elisp mode. If my cursor is following "lb"(like > "lb|"), it will expand the abbrev, otherwise it will execute e [...] 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.0 (/) X-Debbugs-Envelope-To: 44328 Cc: 44328@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.0 (-) Zhu Zihao writes: > And I define a abbrev "lb" in Elisp mode. then enable minor mode > my-override-map in Elisp mode. If my cursor is following "lb"(like > "lb|"), it will expand the abbrev, otherwise it will execute eww. > > Now I change the key binding of C-' in global map(change to gnus). the > behaviour of keybinding in my-override-map will become "Expand abbrev if > possible otherwise execute gnus" Ah, I understand what you mean now -- you want a key that's normally bound to a different command, but if it's after an abbreviation, it should expand the abbreviation instead. Yes, that menu trick does work for that use case, but you could also use a command like: (defun my-expand () (interactive) (if (abbrev--before-point) (expand-abbrev) (call-interactively (lookup-key (delq my-override-map (current-active-maps)) (this-command-keys))))) In any case, I don't think these sort of "chained" keystrokes are very common -- I think most users would find them somewhat confusing, so I don't think adding something like this to Emacs would be appropriate. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu May 13 07:26:06 2021 Received: (at control) by debbugs.gnu.org; 13 May 2021 11:26:07 +0000 Received: from localhost ([127.0.0.1]:41464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh9Ti-0005gi-Oo for submit@debbugs.gnu.org; Thu, 13 May 2021 07:26:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh9Ti-0005g4-8u for control@debbugs.gnu.org; Thu, 13 May 2021 07:26:06 -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=Mjn/ChPLQsVsW7sr7puKP9elfWSo+Hq/T0R3acW0+do=; b=E0504XQGVlxqvQzFJ8wuO4mbR+ jTb3x2JcB8TEmfJPUshcTGov4x95kBrYwm99RmUhuFqXEmjv65Iu7UFW4x3ArQd9pVz+n9kG10XcB mO+DndFhlu4KvKo/ymdINOcSy5ezxdJgt0x9QWBugOuHbP3+APbS/E6H4u0+vgHkbgcM=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lh9Ta-00048v-Qr for control@debbugs.gnu.org; Thu, 13 May 2021 13:26:00 +0200 Date: Thu, 13 May 2021 13:25:58 +0200 Message-Id: <87y2ciq3i1.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #44328 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: tags 44328 wontfix close 44328 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: 0.0 (/) 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: -1.0 (-) tags 44328 wontfix close 44328 quit From unknown Mon Jun 23 02:21:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 Jun 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