My emacs's M-x key is failure.What's the matter?

link|improve this question
You'll need to explain your problem way better if you want to get help. For example, what happens when you use it? How do you know it's bad? – ojrac Dec 9 '09 at 6:23
1  
This reminds me of when a Cisco technical support agent told me my router had "gone bad". "Gone bad? Like a fruit???" I asked. "Yes sir, gone bad like fruit," he said. – Donnie DeBoer Dec 9 '09 at 8:22
feedback

migrated from stackoverflow.com Dec 9 '09 at 8:23

This question came from our site for professional and enthusiast programmers.

4 Answers

There is an example here of rebinding the M-x extended command to anything you wish.

(global-set-key "\C-x\C-m" 'execute-extended-command)
(global-set-key "\C-c\C-m" 'execute-extended-command)

Good to stop the RSI. Other options are:

  • ESC x
link|improve this answer
Ooh... an actual answer. +1 – beggs Dec 9 '09 at 8:34
feedback

The M-x key doesn't like you. Buy a new keyboard.

link|improve this answer
2  
I want a keyboard with an M-x key. – Josh Lee Dec 9 '09 at 8:19
1  
On my debian machine the Windows context menu key, known as <apps> on windows is bound to "M-x". On windows you can do this by (global-set-key (kbd "<apps>") 'execute-extended-command). You can then sand off the icon and etch in "M-x"! Viola! – kjfletch Dec 9 '09 at 11:27
feedback

As @ojrac said, without more info, it's going to be hard to diagnose your problem.

That said, if your meta key is not working, you can also use the escape key. Instead of typing M-x, press and release ESC and then press and release x.

link|improve this answer
feedback

Unless that is what you are doing, then try Alt-X.

link|improve this answer
haha... say it ain't so. – beggs Dec 9 '09 at 8:34
feedback

Your Answer

 
or
required, but never shown