我想将PgUp键盘上的一个键映射到Alt修饰符以在 Emacs 中生成A-
键序列,这样我就可以将它映射到一组全新的键绑定。
我正在查看我的键盘映射,目前我的左键
同时Alt用作修饰符。这是相关的输出:Meta_LAlt_Lxmodmap -pke
keycode 64 = Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L
我不确定如何告诉 emacs完全分开对待Alt,Meta
我看过了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-
迷你吧中的所示