I tried to use Alt as meta key for the FSF Emacs 23 Windows version and for EmacsW32 but especially M-x (Alt-x) does not work.
Somehow I cannot use Alt as Meta key for Alt-x (M-x). I searched really hard and all I got is how to switch the meta key to Alt in w32-meta-style. Currently this variable has the value 'use Alt as Meta key'. I also tried all other values with no success. Furthermore I installed the unpatched version of emacs from http://ourcomments.org/Emacs/EmacsW32.html and the original binaries from gnu.org. All versions have the same problem.
Alt works as Meta, except for Alt-x (Meta-x).
My setup is as follows:
This question is Windows specific as I have a working Ubuntu version of Emacs 23.
EDIT: It was Growl for Windows. It loads on start up and caputes all Alt-x inputs. So my solution was to just disable Growl as I do not need it anymore. Might be another App for you.
The META key is sometimes labelled ALT . If you do not have it, press ESCAPE instead, followed by, say, x . frame: the rectangular "area" in which Emacs runs; Emacs starts with only one, but you can create more (look under the menu Files, or type C-x 5 2 ).
Meta is Alt in Practice By default on all major operating systems in use (Windows, Linux, OS X), emacs maps its Meta to Alt key. So, practically speaking, the Meta key is the Alt key.
Meta (abbreviated as 'M' in Emacs documentation) is either the 'Esc' ("Escape") or 'Alt' ("Alternate") key on your keyboard, depending on how you set up your personal access to Emacs. We recommend using Alt as your Meta key. To do this in SecureCRT: From SecureCRT's menu, choose Options | Session Options.
Use. Generally, the Meta key worked similar to Macintosh's Command key, in that when held down it modified letters and symbols into immediate commands (shortcuts). On these keyboards the Control key was placed closest to the space bar, then the Meta key outside Control.
It should work out of the box. Does Alt+x work as M-x if you start Emacs with the -Q flag? That inhibits loading of your customizations, in case one of them is breaking M-x on Windows.
Also, Emacs only treats the left Alt key as Meta by default, the right Alt (AltGr), is used for entering special characters .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With