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: Fri, 26 Apr 2024 21:28:59 +0300
> Date: Fri, 26 Apr 2024 17:29:35 +0000
> From:  Alexander Prähauser via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> I think this is a bug: emacs returns an error message for the
> following command:
> 
> (key-translate "C-." "C-a")
> 
> The backtrace is the following:
> 
> Debugger entered--Lisp error: (wrong-type-argument characterp 67108910)
> key-translate("C-." "C-g")

That's because C-. is not a valid character.  Valid characters with
the Control modifier are C-SPC to C-z.




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.