Subject: Re: bug#67070: 29.1; broken keybindings with emacs 29

From: Enrico Scholz <[email-masked]>
Date: Thu, 16 Nov 2023 15:26:24 +0100

Po Lu <[email-masked]> writes:

>> $ xmodmap -query
>> xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):
>>
>> shift       Shift_L (0x32),  Shift_R (0x3e)
>> lock      
>> control     Control_L (0x42),  Control_R (0x69)
>> mod1        Alt_L (0x85),  Alt_R (0x87),  Alt_L (0xcc)
>> mod2        Num_Lock (0x4d)
>> mod3        ISO_Level5_Shift (0xcb)
>> mod4        Meta_L (0x40),  Meta_R (0x6c),  Meta_R (0x86),  Meta_L (0xcd)
>> mod5        ISO_Level3_Shift (0x5c)
>
> What if you assign Super_L to a modifier bit just for testing?

After an additional

| add Mod3 = Super_L Super_R

emacs reports 'H-M-x is undefined' on 'Meta_L (0x40) + x'.  Difference
to previous xmodmap is

| -mod3        ISO_Level5_Shift (0xcb)
| +mod3        ISO_Level5_Shift (0xcb),  Super_L (0xce)

As before, I can recover by 'xkbcomp :0 - | xkbcomp - :0'.

Enrico