Alt, Meta and other modifier keys

3

I want to get more combos in Emacs, so I tried to bind Alt, Super, Hyper via modmap to keys. I failed at it. So I tried to use xdotool.

I started emacs -Q for clean experiment. Pressed C-hc and executed in other terminal:

xdotool key  --window 119537875 "meta+x"
xdotool key  --window 119537875 "alt+x" 

Both commands resulted in M-x runs the command execute-extended-command. So, Emacs do not differ between Alt and Meta. How can I fix it?

KAction

Posted 2012-10-30T03:15:35.520

Reputation: 281

How do you distinguish from Alt and Meta, what physical keys would they be? Also I think you mean C-h c as C-h C-c is describe-copying here. (What's Hyper? too.) – Nikana Reklawyks – 2012-10-30T07:43:16.467

This fancy modifiers bound to keys I bind them to via modmap. C-h c is describe-key-briefly. EDIT: Sorry for mistype of this binding. Thanks for correction. – KAction – 2012-10-31T06:31:46.180

Could someone explain to me how to bind ANY key to the meta key in emacs through the terminal? I am running OS X 10.8.3. Preferably I would like to bind [left-shift] to the meta-key – CodeKingPlusPlus – 2013-06-13T12:30:24.127

No answers