GNU bug report logs - #70596
30.0.50; key-translate returns error for key sequences with punctuation marks

Previous Next

Package: emacs;

Reported by: Alexander Prähauser <ahprae <at> protonmail.com>

Date: Fri, 26 Apr 2024 17:31:07 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alexander Prähauser <ahprae <at> protonmail.com>
Cc: 70596 <at> debbugs.gnu.org
Subject: bug#70596: 30.0.50; key-translate returns error for key sequences with punctuation marks
Date: Sat, 27 Apr 2024 13:12:49 +0300
> Date: Sat, 27 Apr 2024 09:24:58 +0000
> From: Alexander Prähauser <ahprae <at> protonmail.com>
> Cc: 70596 <at> debbugs.gnu.org
> 
> "Eli Zaretskii" <eliz <at> gnu.org> writes:
> 
> I see. But shouldn't (key-valid-p "C-.") return nil then?

No, because it's a valid key (but not a valid character).

Not every key is a character.  In fact, most keys are not valid
characters, because they name GUI function keys, like <Delete>.




This bug report was last modified 1 year and 21 days ago.

Previous Next


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