Subject: bug#48136: 28.0.50; [feature/pgtk] ISO_Level5_Shift broken

From: Yuuki Harano <[email-masked]>
Date: Sun, 09 May 2021 19:17:18 +0900 (JST)

On Sat, 08 May 2021 13:50:28 +0200,
	"Elia Nolz" <[email-masked]> wrote:
> I was able to work around the bug by using `(define-key key-translation-map (kbd "H-<down>") (kbd "<down>"))` etc. for all ISO_Level5 keys but that is a bit too cluncky and static for my tastes. Is there a way to just translate every "H-" binding to just not have the modifier applied? Is there a list of all possible keys Emacs accepts and that I can use to just `map` over the `define-key` statement.
> 
> xmodmap output:
> 
> ```
> xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):
> 
> shift       Shift_L (0x32),  Shift_R (0x3e)
> lock        Shift_L (0x32)
> control     Control_L (0x40),  Control_R (0x69)
> mod1        Alt_L (0x85),  Meta_L (0xcd)
> mod2        BadKey (0xcf)
> mod3        ISO_Level5_Shift (0xcb)
> mod4        Super_L (0x25),  Super_R (0x86),  Super_L (0xce)
> mod5        ISO_Level3_Shift (0x5c)
> ```

Thanks for xmodmap output.
mod3 is used as hyper in pgtk emacs.

Does this work for you?

(put 'none 'modifier-value 0)
(setq x-hyper-keysym 'none)

-- 
Yuuki Harano