Mail Archives: djgpp/1997/03/18/06:48:10
On 17 Mar 1997, David Bassin wrote:
> seems well, except that the right alt key seems to have no effect; for
> example, holding the right alt key down and typing `a', followed by M-x
> view-lossage, shows just `a' rather than `M-a'.
This is a feature. The ``Keyboard and Mouse on MS-DOS'' section of
the Emacs manual says that only the LEFT Alt key is mapped to the Meta
key. The reason is that people who use MS-DOS or MS-Windows on non-US
keyboards need the right Alt key to generate some special characters,
so Emacs tries not to break that international keyboard support.
This cannot be corrected on the Elisp level, but I have a source patch
that will make both Alt keys work as Meta keys when the international
support is not installed (the patch checks for KEYB.COM to see if
international support is required and modifies the right Alt key
handling accordingly). This change will be in the next Emacs release,
but if you can't wait, I can send you the patch. You will have to
install the Emacs sources (em1934s1.zip from the same place you got
Emacs should be enough) and rebuild Emacs on your machine, though.
- Raw text -