Re: A proposal for the keybindings issue
Re: A proposal for the keybindings issue
- Subject: Re: A proposal for the keybindings issue
- From: Merton Campbell Crockett <email@hidden>
- Date: Sat, 24 Nov 2007 11:08:36 -0800
On 24 Nov 2007, at 09:03:42, Harald Hanche-Olsen wrote:
+ "Nathaniel Gray" <email@hidden>:
Doesn't emacs have the option to use Alt for Meta?
Not as far as I am able to find out.
Terminal.app does allow you to use Alt for Meta. It is set in
Preferences > Settings > Keyboard by enabling Use Alt as meta key.
This was discovered while playing with "xev" to understand the key
binding issues being discussed in this thread. One thing that I
discovered with xev is that the numeric keys in the keypad did not
generate keypress and keyrelease events. They produced keymotion
events.
While searching for the cause of the unexpected keymotion events, I
discovered that the keypad characteristics can be changed in System
Preferences > Universal Access > Mouse & Trackpad by setting Mouse
Keys On. I don't recall this being set prior to replacing my classic
Apple keyboard with the new aluminum keyboard. Perhaps, this was set
when Mac OS X detected that a "fn" key was present.
I first noticed this when playing with remote connections and
confirmed it with xev. If you have Spaces enabled and press a Ctrl-
numeric key combination, the key combination will not be passed to the
window that currently has focus. It will be intercepted by Spaces and
focus will be shifted to the desktop corresponding to the numeric key
pressed.
Obviously, X applications that use Ctrl-numeric key combinations will
not work when Spaces are enabled. It also means that when using a
remote connection that you can only access the first desktop when
connected to a remote system with Spaces enabled.
This raises the issue of inheritance in key bindings. If you have
enabled "Use Alt as meta key" in Terminal.app and invoke emacs at the
terminal prompt, will you get the same behavior when using X11.app to
open an xterm and invoke emacs from there?
Now that you can use Terminal.app as if it were an xterm (TERM=xterm-
color), I would want there to be consistent key bindings for an
application regardless of whether it was launched from the
Terminal.app or from an xterm.
Merton Campbell Crockett
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden