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#12535: 24.2.50; [PATCH] `edmacro-parse-keys' is incorrect for M- Date: Wed, 14 Oct 2020 19:28:40 +0300 Message-ID: <83blh4zs93.fsf@gnu.org> References: <<<584510D2C7DE47CBAE19B5058B21B51C@us.oracle.com>>> <<<87eh3ba7s9.fsf@building.gnus.org>>> <<>> <<<877fhuej87.fsf@gnus.org>>> <<>> <<<87bn4t7ih6.fsf@gnus.org>>> <<<2493efa4-e079-446c-8926-f7ee14c04ec9@default>>> <<<87eg9oa7kp.fsf@gnus.org>>> <<>> <<<6b5e4737-edb3-4f0c-b4e7-252330d3436e@default>>> <<<8736ji3vgs.fsf@gmail.com>>> <<<9551e332-3baf-49d0-a6ff-4b2432457d5d@default>>> <<<83r2717si6.fsf@gnu.org>>> <> <<83o8l4zwda.fsf@gnu.org>> <1d10d47c-2777-4c8f-89a3-e2693262391c@default> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40331"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 12535@debbugs.gnu.org, larsi@gnus.org, npostavs@gmail.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 14 18:47:49 2020 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 1kSjwL-000AP6-IU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 18:47:49 +0200 Original-Received: from localhost ([::1]:52436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSjwK-00049D-CZ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 12:47:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSjeA-00063x-SR for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 12:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSjeA-0004he-Iw for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 12:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSjeA-0008AI-Dn for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 12:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Oct 2020 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12535 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12535-submit@debbugs.gnu.org id=B12535.160269292231359 (code B ref 12535); Wed, 14 Oct 2020 16:29:02 +0000 Original-Received: (at 12535) by debbugs.gnu.org; 14 Oct 2020 16:28:42 +0000 Original-Received: from localhost ([127.0.0.1]:52884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSjdp-00089i-QF for submit@debbugs.gnu.org; Wed, 14 Oct 2020 12:28:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSjdo-00089S-2J for 12535@debbugs.gnu.org; Wed, 14 Oct 2020 12:28:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60570) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSjdh-0004gA-SF; Wed, 14 Oct 2020 12:28:34 -0400 Original-Received: from [176.228.60.248] (port=2374 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kSjdf-000211-Tr; Wed, 14 Oct 2020 12:28:33 -0400 In-Reply-To: <1d10d47c-2777-4c8f-89a3-e2693262391c@default> (message from Drew Adams on Wed, 14 Oct 2020 09:13:22 -0700 (PDT)) 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:190512 Archived-At: > Date: Wed, 14 Oct 2020 09:13:22 -0700 (PDT) > From: Drew Adams > Cc: npostavs@gmail.com, 12535@debbugs.gnu.org, larsi@gnus.org > > > > If so, that's incorrect - the bug is still present. > > > > Btw, I'm not sure I agree with the proposed fix: and TAB are > > different keys. > > Yes, but then why wouldn't we also consider and > ESC to be different keys? Because they aren't. TAB is the ASCII character Ctrl-I, whereas is the _function_ key Tab. Modern keyboards can produce both, and Emacs maps the latter to the former. But there's no function key Esc on the keyboard. > Likewise, all the others in the same clause: > > "\\<\\(NUL\\|RET\\|LFD\\|ESC\\|SPC\\|DEL\\)$" We do have the same situation with DEL vs and . But not with the others you mention. > Why, for all of those, does Emacs consider and > WORD to be the same key, where WORD is any of those > ASCII control-char names (NUL, RET, LFD, ESC, SPC, DEL), > but it doesn't consider and TAB to be the same key. You are missing the point: the brackets is not some syntactic sugar, it is an indication of a function key, like and .