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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: meedstrom <at> teknik.io
Cc: 55708 <at> debbugs.gnu.org
Subject: bug#55708: (key-description (kbd "C-F")) becomes "C-f"
Date: Thu, 02 Jun 2022 11:40:28 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> 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




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.