[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70596: 30.0.50; key-translate returns error for key sequences with p
From: |
Eli Zaretskii |
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@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.
bug#70596: 30.0.50; key-translate returns error for key sequences with punctuation marks, Stefan Monnier, 2024/04/27