【发布时间】:2014-05-05 01:05:31
【问题描述】:
我想将我键盘上的 PgUp 键映射到 Alt 修饰符以在 Emacs 中生成 A- 键序列,这样我就可以将它映射到一个整体一组新的键绑定。
我正在查看我的键盘映射,目前我的左 Alt 键同时用作 Meta_L
和 Alt_L 修饰符。这是xmodmap -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- 所指示的那样
【问题讨论】: