bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55708: (key-description (kbd "C-F")) becomes "C-f"


From: Lars Ingebrigtsen
Subject: bug#55708: (key-description (kbd "C-F")) becomes "C-f"
Date: Mon, 30 May 2022 01:14:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]