From unknown Mon Jun 23 23:49:19 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#55708 <55708@debbugs.gnu.org> To: bug#55708 <55708@debbugs.gnu.org> Subject: Status: (key-description (kbd "C-F")) becomes "C-f" Reply-To: bug#55708 <55708@debbugs.gnu.org> Date: Tue, 24 Jun 2025 06:49:19 +0000 retitle 55708 (key-description (kbd "C-F")) becomes "C-f" reassign 55708 emacs submitter 55708 meedstrom@teknik.io severity 55708 normal tag 55708 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 29 11:34:48 2022 Received: (at submit) by debbugs.gnu.org; 29 May 2022 15:34:48 +0000 Received: from localhost ([127.0.0.1]:41618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvKwK-0004ws-7W for submit@debbugs.gnu.org; Sun, 29 May 2022 11:34:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:52242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvKwE-0004we-Jc for submit@debbugs.gnu.org; Sun, 29 May 2022 11:34:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvKwE-00008i-Du for bug-gnu-emacs@gnu.org; Sun, 29 May 2022 11:34:42 -0400 Received: from mail.teknik.io ([5.79.72.163]:50811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvKwC-0001OI-4x for bug-gnu-emacs@gnu.org; Sun, 29 May 2022 11:34:42 -0400 dkim-signature: v=1; a=rsa-sha256; d=teknik.io; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type; bh=clOX1QcR3hjTTDCJPv/0eeuf1FrogeshnudDPrXwY1A=; b=M1eK6LQlNmIdfngciq7tbZk1/++cDMgw+4fIuMfRzRSAoP6IYy+BMF0Rh5ZZuryziaoSG+rYgy+iBE2L6SFFoozcQTSbUhiTjNqqErZSMRi4p58IXrdo0BO0DdwXlUdvFoA8PUUcJWMBWs6Os+XnY9c+XSaop3VeU7Y6LsYe3REXkc4hRHlr8E0kDTWREHjAazVzFgOj04DhVlLZFe0/ZanBXUm1sJwC5a6CiTHv9uZgCN2nREtLnHOXvl SEWfvM3kePLZX6DIThzvcjUGhGFGV6LViDKlkmZ3OKGCRJkX1VAxdh0Gcr6bZCvjBWIV5ArZtCfAMKCzoZs+GFUPEW4g== Received: from mail.teknik.io (TEKNIK-SERVER [5.79.72.163]) by mail.teknik.io with ESMTPSA (version=TLSv1.2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128) ; Sun, 29 May 2022 07:34:00 -0700 MIME-Version: 1.0 Date: Sun, 29 May 2022 14:34:00 +0000 Content-Type: multipart/alternative; boundary="496250e2-9380-44aa-9950-df905c642905-1" From: meedstrom@teknik.io Message-ID: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> Subject: (key-description (kbd "C-F")) becomes "C-f" To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=5.79.72.163; envelope-from=meedstrom@teknik.io; helo=mail.teknik.io 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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 (--) --496250e2-9380-44aa-9950-df905c642905-1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable In Emacs 29, running emacs -Q, we get inconsistent results: (key-description (kbd "M-F")) returns "M-F" (key-description (kbd "H-F")) returns "H-F" (key-description (kbd "A-F")) returns "A-F" but (key-description (kbd "C-F")) returns "C-f" I would have expected to see either "C-F" or "C-S-f". =C2=A0=20 It's=20probably not related to `translate-upper-case-key-bindings' is nil= , it's the same result either way. I don't know if you consider this behavior a bug, but I rely on this func= tion chain to "normalize"=C2=A0 descriptions such as C- to C= -M-.=C2=A0 If there's an alternative way to do that I'd be hap= py to hear about it! Martin In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30,= cairo version 1.16.0) System Description: Guix System Configured using: 'configure CONFIG_SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5= .1.8/bin/bash SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bi= n/bash --prefix=3D/gnu/store/bf2n69a7pqj3w22z8702h90l77rh2bkf-emacs-next-pgtk-29= .0.50-0.38d87c4 --enable-fast-install --with-pgtk --with-xwidgets --with-modules --with-cairo --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS GTK3 ZLIB Important settings: =C2=A0 value of $EMACSLOADPATH: /home/kept/guix-profiles/emacs/emacs/shar= e/emacs/site-lisp:/gnu/store/bf2n69a7pqj3w22z8702h90l77rh2bkf-emacs-next-= pgtk-29.0.50-0.38d87c4/share/emacs/29.0.50/lisp:/gnu/store/bf2n69a7pqj3w2= 2z8702h90l77rh2bkf-emacs-next-pgtk-29.0.50-0.38d87c4/share/emacs/29.0.50/= lisp =C2=A0 value of $LANG: en_DK.utf8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 tool-bar-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 line-number-mode: t =C2=A0 indent-tabs-mode: t =C2=A0 transient-mark-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils two-column iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty make-network-process emacs) Memory information: ((conses 16 44769 5884) (symbols 48 5735 1) (strings 32 15969 2383) (string-bytes 1 541844) (vectors 16 12239) (vector-slots 8 171121 8958) (floats 8 21 42) (intervals 56 263 9) (buffers 992 11)) --496250e2-9380-44aa-9950-df905c642905-1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
In Emacs 29, running emacs -= Q, we get inconsistent results:

(key-descrip= tion (kbd "M-F")) returns "M-F"
(key-description (kbd "H-F")) r= eturns "H-F"
(key-description (kbd "A-F")) returns "A-F"

but

(key-description= (kbd "C-F")) returns "C-f"

I would have expecte= d to see either "C-F" or "C-S-f".

It's probably= not related to `translate-upper-case-key-bindings' is nil, it's the same= result either way.

I don't know if you cons= ider this behavior a bug, but I rely on this function chain to "normalize= " descriptions such as C-<M-backspace> to C-M-<backspace>. If= there's an alternative way to do that I'd be happy to hear about it!
=

Martin

In GNU Emac= s 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo vers= ion 1.16.0)
System Description: Guix System

Configured using:
'configure
CONFIG_SHELL=3D/gn= u/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash
SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.= 1.8/bin/bash
--prefix=3D/gnu/store/bf2n69a7pqj3w22z8702h9= 0l77rh2bkf-emacs-next-pgtk-29.0.50-0.38d87c4
--enable-fast-inst= all --with-pgtk --with-xwidgets --with-modules
--with-cairo --d= isable-build-details'

Configured features:
=
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ J= PEG
JSON LIBOTF LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMP= ER PGTK PNG
RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCR= OLL_BARS XIM XWIDGETS
GTK3 ZLIB

Import= ant settings:
value of $EMACSLOADPATH: /home/kept/guix-profile= s/emacs/emacs/share/emacs/site-lisp:/gnu/store/bf2n69a7pqj3w22z8702h90l77= rh2bkf-emacs-next-pgtk-29.0.50-0.38d87c4/share/emacs/29.0.50/lisp:/gnu/st= ore/bf2n69a7pqj3w22z8702h90l77rh2bkf-emacs-next-pgtk-29.0.50-0.38d87c4/sh= are/emacs/29.0.50/lisp
value of $LANG: en_DK.utf8
l= ocale-coding-system: utf-8-unix

Major mode: Lisp= Interaction

Minor modes in effect:
t= ooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mod= e: t
file-name-shadow-mode: t
global-font-lock-mode= : t
font-lock-mode: t
blink-cursor-mode: t
line-number-mode: t
indent-tabs-mode: t
transien= t-mark-mode: t
auto-composition-mode: t
auto-encryp= tion-mode: t
auto-compression-mode: t

Load-path shadows:
None found.

Featur= es:
(shadow sort mail-extr emacsbug message mailcap yank-media = rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache= epa derived epg
rfc6068 epg-config gnus-util text-property-sea= rch time-date seq gv
subr-x byte-opt bytecomp byte-compile ccon= v mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev g= mm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045= ietf-drums mm-util mail-prsvr mail-utils
two-column iso-transl= tooltip eldoc paren electric uniquify ediff-hook
vc-hooks lisp= -float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/commo= n-win tool-bar dnd fontset image regexp-opt fringe
tabulated-li= st replace newcomment text-mode lisp-mode prog-mode register
pa= ge tab-bar menu-bar rfn-eshadow isearch easymenu timer select
s= croll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
=
frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang<= /div>
misc-lang vietnamese tibetan thai tai-viet lao korean japanese = eucjp-ms
cp51932 hebrew greek romanian slovak czech european et= hiopic indian
cyrillic chinese composite emoji-zwj charscript c= harprop case-table
epa-hook jka-cmpr-hook help abbrev obarray o= closure cl-preloaded button
loaddefs faces cus-face macroexp fi= les window text-properties overlay
sha1 md5 base64 format env c= ode-pages mule custom widget keymap
hashtable-print-readable ba= ckquote threads xwidget-internal dbusbind
inotify dynamic-setti= ng system-font-setting font-render-setting cairo
gtk pgtk multi= -tty make-network-process emacs)

Memory informat= ion:
((conses 16 44769 5884)
(symbols 48 5735 1)
(strings 32 15969 2383)
(string-bytes 1 541844)
(vectors 16 12239)
(vector-slots 8 171121 8958)
(flo= ats 8 21 42)
(intervals 56 263 9)
(buffers 992 11))

--496250e2-9380-44aa-9950-df905c642905-1-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 29 12:20:23 2022 Received: (at 55708) by debbugs.gnu.org; 29 May 2022 16:20:23 +0000 Received: from localhost ([127.0.0.1]:41657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvLeR-00065o-36 for submit@debbugs.gnu.org; Sun, 29 May 2022 12:20:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvLeD-00065J-HU for 55708@debbugs.gnu.org; Sun, 29 May 2022 12:20:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvLe8-0007le-3n; Sun, 29 May 2022 12:20:04 -0400 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=mWb8tcOSXgyNHkh+EHkkilWnD6gVN6boNpeuNlzRuTU=; b=bdWssJmLtq+g cUcwVFOedChu+tqay7xMcOOl2Lzhuuvn5B90Sc+RMsl9OOH9xnB7WUGMaj5EiIMYqlld1+oGFVgh3 qR3vjt+ruMCZ+r0xAECRj715hAyDnvnJyJ56LbzAw7Q6YDbPE49L1Ai7rNhTDhb3k+nro6F8p3Q7c tToxe/3U6PMenuzJzJLvWN2FPmq8+xcOe67AvQOL4ABIqfdtx5fUTcoUVworCzfxDapaoFHcIhciO vF2QPnriMFD501lkpDoI/d661M5Z9HsIK6D4RTJm+yrT6763OTaJyO+8TDRSCJMXQS6tUCMjSyfaG 312YRlFpeg0iskHOieQrZA==; Received: from [87.69.77.57] (port=1855 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 1nvLe7-000083-Hl; Sun, 29 May 2022 12:20:03 -0400 Date: Sun, 29 May 2022 19:20:03 +0300 Message-Id: <83tu98jop8.fsf@gnu.org> From: Eli Zaretskii To: meedstrom@teknik.io In-Reply-To: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> (bug-gnu-emacs@gnu.org) Subject: Re: bug#55708: (key-description (kbd "C-F")) becomes "C-f" References: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55708 Cc: 55708@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: -3.3 (---) > Date: Sun, 29 May 2022 14:34:00 +0000 > From: meedstrom--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > In Emacs 29, running emacs -Q, we get inconsistent results: > > (key-description (kbd "M-F")) returns "M-F" > (key-description (kbd "H-F")) returns "H-F" > (key-description (kbd "A-F")) returns "A-F" > > but > > (key-description (kbd "C-F")) returns "C-f" > > I would have expected to see either "C-F" or "C-S-f". > > It's probably not related to `translate-upper-case-key-bindings' is nil, it's the same result either way. I think it's because C-f is a character, unlike M-f and H-f. From debbugs-submit-bounces@debbugs.gnu.org Sun May 29 12:41:15 2022 Received: (at submit) by debbugs.gnu.org; 29 May 2022 16:41:15 +0000 Received: from localhost ([127.0.0.1]:41711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvLyd-0006eU-2z for submit@debbugs.gnu.org; Sun, 29 May 2022 12:41:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:41932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvLyb-0006eM-EO for submit@debbugs.gnu.org; Sun, 29 May 2022 12:41:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvLyb-0007fc-82 for bug-gnu-emacs@gnu.org; Sun, 29 May 2022 12:41:13 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:56836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvLyZ-0002JS-8G for bug-gnu-emacs@gnu.org; Sun, 29 May 2022 12:41:12 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4LB46p57M6z1qyJ7; Sun, 29 May 2022 18:41:06 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4LB46p3Q4mz1qqkG; Sun, 29 May 2022 18:41:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Zaf66QqBu3sI; Sun, 29 May 2022 18:41:05 +0200 (CEST) X-Auth-Info: UzA/AqfSMscJeEvXmPj8KWo50A01GhNDzGJwjodoBop66RW9wcEyPOTTTLqnLkCW Received: from igel.home (ppp-46-244-162-203.dynamic.mnet-online.de [46.244.162.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 29 May 2022 18:41:05 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 0A1F92C3BB9; Sun, 29 May 2022 18:41:05 +0200 (CEST) From: Andreas Schwab To: meedstrom--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#55708: (key-description (kbd "C-F")) becomes "C-f" References: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> X-Yow: Remember, in 2039, MOUSSE & PASTA will be available ONLY by prescription!! Date: Sun, 29 May 2022 18:41:04 +0200 In-Reply-To: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> (meedstrom's message of "Sun, 29 May 2022 14:34:00 +0000") Message-ID: <875ylofg0v.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=212.18.0.9; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: meedstrom@teknik.io, 55708@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: -2.1 (--) On Mai 29 2022, meedstrom--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > In Emacs 29, running emacs -Q, we get inconsistent results: > > (key-description (kbd "M-F")) returns "M-F" > (key-description (kbd "H-F")) returns "H-F" > (key-description (kbd "A-F")) returns "A-F" > > but > > (key-description (kbd "C-F")) returns "C-f" This is consistent with the lisp reader, which also returns ?\C-f for ?\C-F. Note that this happens for all keys that contain control modified letters, independent of the other modifiers. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun May 29 19:14:25 2022 Received: (at 55708) by debbugs.gnu.org; 29 May 2022 23:14:25 +0000 Received: from localhost ([127.0.0.1]:42157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvS76-0003P4-2H for submit@debbugs.gnu.org; Sun, 29 May 2022 19:14:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvS71-0003Op-V9 for 55708@debbugs.gnu.org; Sun, 29 May 2022 19:14:23 -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=tHwHqX8OpBjlD55QLRYE63gNs7pHIps5R8GeqsT3W9c=; b=N/0p+Vr34Exjs0MJ49Rotw94X9 kvmQdkZpfdrGgZaYQAjzRmLBsbZgOTpD906EyzCisU97u5C2UQ1JgQLQhVQpLtu2Lwy3vg/kJAZ8e ttOgD29DYDStK81Xn8uDc33Wyskxsw/JABmG/vpmi6lAxlPPAvXeI12AuJCylXSWn+KY=; Received: from [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 1nvS6t-0002d4-0r; Mon, 30 May 2022 01:14:13 +0200 From: Lars Ingebrigtsen To: meedstrom@teknik.io Subject: Re: bug#55708: (key-description (kbd "C-F")) becomes "C-f" References: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> X-Now-Playing: Dead Can Dance's _Dead Can Dance_: "Carnival of Light" Date: Mon, 30 May 2022 01:14:08 +0200 In-Reply-To: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> (meedstrom@teknik.io's message of "Sun, 29 May 2022 14:34:00 +0000") Message-ID: <87mtf0x77j.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: meedstrom@teknik.io writes: > (key-description (kbd "C-F")) returns "C-f" As others have alluded to, this is for historical reasons, and I'm not sure that we can change this now. That is, 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: 55708 Cc: 55708@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: -3.3 (---) meedstrom@teknik.io writes: > (key-description (kbd "C-F")) returns "C-f" As others have alluded to, this is for historical reasons, and I'm not sure that we can change this now. That is, (equal (kbd "C-F") (kbd "C-f")) => t (And on terminals, there's no difference between `C-f' and `C-F'.) However, (key-description (kbd "C-S-f")) => "C-S-f" That is, if you explicitly put a shift modifier in there, you can round-trip the key. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 05:40:53 2022 Received: (at 55708) by debbugs.gnu.org; 2 Jun 2022 09:40:53 +0000 Received: from localhost ([127.0.0.1]:52845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwhK1-0002W6-C8 for submit@debbugs.gnu.org; Thu, 02 Jun 2022 05:40:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwhJl-0002VP-J0 for 55708@debbugs.gnu.org; Thu, 02 Jun 2022 05:40:52 -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=4TJJKKggXAlHipXFBeRUCYGTwCMMZfQFxownmFFMjxo=; b=cedjKJzN78GA12oNLZUSX0rQkH JueaAmIUFqkfNuX8HxpAXKQi3pUi7pshlyMvrXsETHWBy+2y7blF4KR84YrvdASz48T84+ePfQ6v+ edooqKz7gjbUmyZHfTkJbIwlCHL4asV/zzZcTVTkTr29xbxztSGOsm8GXCMUtpnWsfA0=; Received: from 109.179.87.109.tmi.telenormobil.no ([109.179.87.109] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwhJd-0005d1-8r; Thu, 02 Jun 2022 11:40:31 +0200 From: Lars Ingebrigtsen To: meedstrom@teknik.io Subject: Re: bug#55708: (key-description (kbd "C-F")) becomes "C-f" References: <19b450018899f6056274b6e2ca2acf6586ef9b9e@teknik.io> <87mtf0x77j.fsf@gnus.org> Date: Thu, 02 Jun 2022 11:40:28 +0200 In-Reply-To: <87mtf0x77j.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 30 May 2022 01:14:08 +0200") Message-ID: <87sfonz9mb.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Lars Ingebrigtsen writes: >> (key-description (kbd "C-F")) returns "C-f" > > As others have alluded to, this is for historical reasons, and I'm not > sure that we can change this now. That is, > > (equal (kbd "C-F") (kbd "C-f" [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55708 Cc: 55708@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: -3.3 (---) Lars Ingebrigtsen writes: >> (key-description (kbd "C-F")) returns "C-f" > > As others have alluded to, this is for historical reasons, and I'm not > sure that we can change this now. That is, > > (equal (kbd "C-F") (kbd "C-f")) > => t > > (And on terminals, there's no difference between `C-f' and `C-F'.) > > However, > > (key-description (kbd "C-S-f")) > => "C-S-f" > > That is, if you explicitly put a shift modifier in there, you can > round-trip the key. So I don't think there's anything we want to do here, and I'm therefore 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 Jun 02 05:40:45 2022 Received: (at control) by debbugs.gnu.org; 2 Jun 2022 09:40:45 +0000 Received: from localhost ([127.0.0.1]:52843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwhJt-0002Vj-6J for submit@debbugs.gnu.org; Thu, 02 Jun 2022 05:40:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwhJr-0002VW-Pf for control@debbugs.gnu.org; Thu, 02 Jun 2022 05:40:44 -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=KZ10ydlaRoVx7gqLaz+GiqE2Zw0tWWqObNHKAitgQJI=; b=VEa4AIpVKv3MmLX/ocdTxl0OtA BCyJ39s6Wh6oWZyxBaMaiBX+bJoYRnAUMG+0JaubB6b5dcjGrKNLacmohkniYOns4hvTUFviu2u5k X1TP2ZDavPw1ESaZHqnwhroEeGj5wSt/A7Y3Dc8VH9hZKz+lUTqWXcOJ8oRtecP2wfmk=; Received: from 109.179.87.109.tmi.telenormobil.no ([109.179.87.109] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwhJk-0005d8-54 for control@debbugs.gnu.org; Thu, 02 Jun 2022 11:40:38 +0200 Date: Thu, 02 Jun 2022 11:40:35 +0200 Message-Id: <87r147z9m4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55708 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 55708 wontfix close 55708 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 0.0 TVD_RCVD_IP Message was received from an IP address -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 (---) tags 55708 wontfix close 55708 quit From unknown Mon Jun 23 23:49:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 30 Jun 2022 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