为什么所有元键在 org-mode 中都是未绑定的?
Why are all meta keys unbound in org-mode?
我最近重新启动了 Emacs,现在我所有以 Meta 开头的键绑定,例如 M-x
和 M-q
,都在 org-mode
中解除绑定。这真的很奇怪,因为我试图在 org-mode
和
中专门定义它
(org-defkey org-mode-map [(meta x)] 'execute-extended-command)
但我收到错误消息:
Key sequence M-x starts with non-prefix key ESC
所以暂时修复它是行不通的,但更大的问题是我不知道从哪里开始搜索为什么这些东西在 org-mode
.
中是未绑定的
我知道一定是我,因为emacs -Q
和emacs -q
没有问题。
有什么线索或建议吗?
我将 C-[
绑定到某个东西上并接管了 M-x
,因为 M-x
实际上是 ESC x
而 ESC x
实际上是 C-[ x
.
(org-defkey org-mode-map (kbd "C-[") 'org-metaleft)
我最近重新启动了 Emacs,现在我所有以 Meta 开头的键绑定,例如 M-x
和 M-q
,都在 org-mode
中解除绑定。这真的很奇怪,因为我试图在 org-mode
和
(org-defkey org-mode-map [(meta x)] 'execute-extended-command)
但我收到错误消息:
Key sequence M-x starts with non-prefix key ESC
所以暂时修复它是行不通的,但更大的问题是我不知道从哪里开始搜索为什么这些东西在 org-mode
.
我知道一定是我,因为emacs -Q
和emacs -q
没有问题。
有什么线索或建议吗?
我将 C-[
绑定到某个东西上并接管了 M-x
,因为 M-x
实际上是 ESC x
而 ESC x
实际上是 C-[ x
.
(org-defkey org-mode-map (kbd "C-[") 'org-metaleft)