emacs - 消除语义模式键盘与组织模式的冲突

标签 emacs conflict org-mode keymapping

semantic-mode 使用 C-c, 作为多个命令的前缀。 org-mode 使用 C-c, 作为 org-priority。我不在 org-mode 中使用 semantic-mode。有没有办法仅在 Emacs 24.3 的 org-mode 缓冲区中禁用 semantic-mode

最佳答案

也许是这样的——在加载 org-mode 之前的初始化中:

(add-hook 'org-mode-hook (lambda () (and (featurep 'semantic) (unload-feature 'semantic))))

所有其他模式都需要一个反向 Hook 加载语义。不是那么优雅... :(

关于emacs - 消除语义模式键盘与组织模式的冲突,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16826056/

相关文章:

emacs - 摆脱 "reference to free variable"字节编译警告

java - 调度上的多线程冲突(竞争条件)

javascript - Jquery/Javascript 冲突?

javascript - 我有这个错误 : $(. ..).datepicker 不是函数

emacs 组织模式 : folder alias for links in org-files

java - Emacs Java 马拉巴模式

emacs - Emacs 中的拆分窗口——Tabbar 仅显示事件缓冲区

emacs - 如何在 Emacs 组织模式中自动触发 TODO 状态的更改

emacs - Emacs 上 utf-8-emacs 和 utf-8 的区别

emacs - 组织模式。在列 View 中排序