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

[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: Alexander Prähauser
Subject: bug#70596: 30.0.50; key-translate returns error for key sequences with punctuation marks
Date: Sat, 27 Apr 2024 09:24:58 +0000

"Eli Zaretskii" <eliz@gnu.org> writes:

I see. But shouldn't (key-valid-p "C-.") return nil then?

>> 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.






reply via email to

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