From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.bugs Subject: bug#1111: describe-key's key notation display inconsistency Date: Sat, 25 Sep 2021 22:07:38 -0700 Message-ID: References: <06D80DE1-FCD6-45BB-B2D9-A968F797971C@xahlee.org> Reply-To: xahlee@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003ef86b05ccdef622" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 1111@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 26 10:11:05 2021 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 1mUPFY-0008lW-O2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 10:11:04 +0200 Original-Received: from localhost ([::1]:59842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUPFX-0008FQ-Bp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 04:11:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUMOQ-0000qY-Ss for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 01:08:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUMOQ-0005yf-Lb for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 01:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUMOQ-0006qq-CZ for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 01:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Xah Lee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Sep 2021 05:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1111 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 1111-submit@debbugs.gnu.org id=B1111.163263287826326 (code B ref 1111); Sun, 26 Sep 2021 05:08:02 +0000 Original-Received: (at 1111) by debbugs.gnu.org; 26 Sep 2021 05:07:58 +0000 Original-Received: from localhost ([127.0.0.1]:35438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUMOM-0006qY-08 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 01:07:58 -0400 Original-Received: from mail-lf1-f48.google.com ([209.85.167.48]:38899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUMOJ-0006qJ-QV for 1111@debbugs.gnu.org; Sun, 26 Sep 2021 01:07:56 -0400 Original-Received: by mail-lf1-f48.google.com with SMTP id x27so60107339lfu.5 for <1111@debbugs.gnu.org>; Sat, 25 Sep 2021 22:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=Ph2olgpFmMrcY2LS6jDFMnOOuyw1vqG7PS28MTIAn8M=; b=aGXBmK9swmHhpDlGG3VXoRmg4gbcqg6T/soviZpW4tDiQpFQUaa+w4wZrd2Rh7KCzv Wt06OasDtI65XqsKLb9Z3mXdQeHAgAAaRruyNtuNwoWTc4qs0CkV5dw+BVrCvY66FpZL QnrA8ng/1Wi5/gD01bHTJw9B+6wwh8RIaFHXCUcHc9WHQK9gI7G/JY12x21WJyn3A6lu pre4hg6e6NVcaZMZaDTkDam4QDT+JrBJOA3xgXRS776sIGpS7Ye02o4VcS9zTBSTPSJz ayH5naRcQVbJjtAWkBMVJzXR7cj/jxAEXkfhdXQvN2rptf9yb0TSEYhE+3kcstWZ4XV/ zAZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=Ph2olgpFmMrcY2LS6jDFMnOOuyw1vqG7PS28MTIAn8M=; b=cDuX3UebDnXrn8GJjQmJv+s9yRMuCGPDM8qyijr3cs6alafcPYjA+hlWMrvVWdOw6I d4rA3XTeX+NxiOE3thvcH+5f+NlrjydPNTXu4uPux/QY00kbsOBRa1OL590Bw2b4RcHr I3LuVRqvOnPjf5oeYv1+zztrUo74k6oZluzsBUm+tX77BojtjjPcEUz0Vi3jf86L1g3Q Cu25iZl856N/hzStEWVhZiRtI3NxmPkegdOseiTtWt20uMifHaucvZS1LcrcpZRmvGNt AcTmZosBJKOqABaSmjJlCtSuBNOA/MK4eN/tYh/dxuwGcVVv6dW9d6cKQWCjwQprkdzQ ybDg== X-Gm-Message-State: AOAM531cuy5uMl2ozw3xkIvkWScHcYxyxJnkIoFAgJcVm+Kml0hnhH9a rjmdbS+Ke7tIPGgfiYVfP9m6h9GqWgJrEd+YepM= X-Google-Smtp-Source: ABdhPJyykUwRoQkLq5rGT4ov1r8MplKZ2B71JpglqVRimzFBbm9xwpCHxVqvJ82pTyUBC33uh9YuCPibp6YXSKcv7+k= X-Received: by 2002:a05:6512:2090:: with SMTP id t16mr18030955lfr.119.1632632869680; Sat, 25 Sep 2021 22:07:49 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 26 Sep 2021 04:10:55 -0400 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:215572 Archived-At: --0000000000003ef86b05ccdef622 Content-Type: text/plain; charset="UTF-8" thank you. On Fri, Sep 24, 2021 at 3:00 PM Stefan Kangas wrote: > tags 1111 fixed > close 1111 28.1 > thanks > > xah lee writes: > > > When doing a describe-key on C-, emacs prints > > instead. Similar for any other special key whose macro notation are > bracketed by > > angle brackets. e.g. , , , , etc. Where, emacs > puts the > > entire thing inside angle brackets instead of the more traditional of > modifier > > followed by dash followed by key name. > > > > Although these are identical as far as kbd function is concerned, but > wouldn't > > it be more intuitively consistent by using C- instead of ? > > This is now the case in Emacs 28, from NEWS: > > ** Modifiers now go outside angle brackets in pretty-printed key > bindings. > For example, 'RET' with Control and Meta modifiers is now shown as > 'C-M-' instead of ''. Either variant can be used > as input; functions such as 'kbd' and 'read-kbd-macro' accept both > styles as equivalent (they have done so for a long time). > > I'm therefore closing this bug report. > --0000000000003ef86b05ccdef622 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
thank you.

On Fri, Sep 24, 2021 at 3:00 PM= Stefan Kangas <stefan@marxist.se> wrote:
ta= gs 1111 fixed
close 1111 28.1
thanks

xah lee <
xah@xahlee.= org> writes:

> When doing a describe-key on C-<backspace>, emacs prints <C-b= ackspace>
> instead. Similar for any other special key whose macro notation are br= acketed by
> angle brackets. e.g. <down>, <F6>, <return>, <kp-= 1>, etc. Where, emacs puts the
> entire thing inside angle brackets instead of the more traditional of = modifier
> followed by dash followed by key name.
>
> Although these are identical as far as kbd function is concerned, but = wouldn't
> it be more intuitively consistent by using C-<key> instead of &l= t;C-key>?

This is now the case in Emacs 28, from NEWS:

=C2=A0 =C2=A0 ** Modifiers now go outside angle brackets in pretty-printed = key bindings.
=C2=A0 =C2=A0 For example, 'RET' with Control and Meta modifiers is= now shown as
=C2=A0 =C2=A0 'C-M-<return>' instead of '<C-M-return&g= t;'.=C2=A0 Either variant can be used
=C2=A0 =C2=A0 as input; functions such as 'kbd' and 'read-kbd-m= acro' accept both
=C2=A0 =C2=A0 styles as equivalent (they have done so for a long time).

I'm therefore closing this bug report.
--0000000000003ef86b05ccdef622--