I would like to map a PgUp key on my keyboard to Alt modifier to produce A-
key sequence in Emacs, so that I can map it to a whole new set of key bindings.
I was looking at my keyboard mappigs and currently my left Alt key works as both Meta_L
and Alt_L modifier. This is the relevant output of xmodmap -pke
:
keycode 64 = Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L
I'm not sure how to tell emacs to treat Alt and Meta totally separately,
我看过x-alt-keysym
它是nil
Which keys Emacs uses for the alt modifier.
This should be one of the symbols `alt', `hyper', `meta', `super'.
For example, `alt' means use the Alt_L and Alt_R keysyms. The default
is nil, which is the same as `alt'.
同样是为了x-meta-keysym
这也是nil
:
Which keys Emacs uses for the meta modifier.
This should be one of the symbols `alt', `hyper', `meta', `super'.
For example, `meta' means use the Meta_L and Meta_R keysyms. The
default is nil, which is the same as `meta'.
由此可见Alt_L
应该开火alt
,但是它总是会触发meta
如其所示M-
在迷你吧里