GNU bug report logs - #55708
(key-description (kbd "C-F")) becomes "C-f"

Previous Next

Package: emacs;

Reported by: meedstrom <at> teknik.io

Date: Sun, 29 May 2022 15:35:02 UTC

Severity: normal

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: 55708 <at> debbugs.gnu.org
Cc: meedstrom <at> teknik.io
Subject: bug#55708: (key-description (kbd "C-F")) becomes "C-f"
Date: Sun, 29 May 2022 18:41:04 +0200
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 <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 2 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.