Subject: bug#70596: 30.0.50; key-translate returns error for key sequences with punctuation marks

From: Eli Zaretskii <[email-masked]>
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" <[email-masked]>
> 
> 
> 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.