Hi Lionel, > "xmodmodmap" output: > > shift Shift_L (0x32), Shift_R (0x3e) > lock Caps_Lock (0x42) > control Control_L (0x25), Control_R (0x69) > mod1 Alt_L (0x40), Alt_L (0xcc) > mod2 Num_Lock (0x4d) > mod3 ISO_Level5_Shift (0xcb) > mod4 Meta_L (0x85), Super_R (0x86), Meta_L (0xcd), Super_L (0xce), > Hyper_L (0xcf) > mod5 ISO_Level3_Shift (0x5c)
Given my vague knowledge of how Emacs recognized modifiers, the above weird `mod4` setup would indeed sound like a likely culprit (it doesn't sound like a "sane" setup to me), tho I can't see why you'd get `M-s-FOO` rather than `H-M-s-FOO`. > I tried "xmodmap -e 'remove mod4 = Super_R Super_L Hyper_L'" to get > > mod4 Meta_L (0x85), Meta_L (0xcd) That's also what I'd have done. > + start a new Emacs, but it did not change anything. Hmm... yeah, that's not what I would have expected either. It's possible that Emacs changed how it recognizes which key is which modifier, but even if it doesn't the behavior you describe (after the `xmodmap` made the setup sane) sounds like a bug, so I'd `M-x report-emacs-bug`. === Stefan

