Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
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 Oct 30 '12 at 7:43
    
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 Oct 31 '12 at 6:31
    
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 Jun 13 '13 at 12:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.