Subject: bug#73607: 30.0.90; Strange behaviour of C-x with define-prefix-command

From: Andreas Schwab <[email-masked]>
Date: Thu, 03 Oct 2024 13:58:36 +0200

On Okt 03 2024, Eli Zaretskii wrote:

>> >> 1. emacs -q
>> >> 2. (global-set-key "\C-z" (define-prefix-command 'foo))
>> >> 3. C-z C-c => "C-z C-c is undefined" as expected
>> >>
>> >> However:
>> >>
>> >> 4. C-z C-x => "C-z C-x- (C-h for help)"
>> >> 5. C-z C-x C-h => "No commands with a binding that start with C-z C-x."
>> >
>> > Why is that a problem?
>> 
>> It should say "C-z C-x is undefined" right away, like with every other key.
>
> C-x is not like other keys, it is handled specially.  I think.

C-x starts a key translation.  If you type C-z C-x 8 " s you get the
same binding as C-z ß.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."