问题标签 [minor-mode]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
macos - macbook 上的 emacs 24 中的次要模式错误
这是我在某处网上找到的功能,在 linux 中从未出现过问题,但是当在 emacs 24 的 macbook 上运行时,出现以下错误。任何帮助,将不胜感激。
错误是:
emacs - 帮助模式下进入链接的键绑定是什么?
帮助模式下总是有链接,假设是通过<return>
按钮输入的。由于我将<return>
按钮重新映射到indent-and-new-line
,因此我无法再输入链接。我想为输入按钮找到正确的键映射。
我从描述模式中得到了帮助。我试过了,help-follow
但它不起作用。正确的键绑定应该是什么?
emacs - 字节编译次要模式键绑定时出现无效的键映射错误
我的 .emacs 下面的代码可以正常工作,但是当我尝试对其进行字节编译时,会出现“无效的键盘映射 my-keys-mode-map”错误。
错误在绑定键行上。我尝试过使用定义键而不是绑定键,或者使用 make-keymap 而不是 make-sparse-map 但没有运气。我对elisp不太精通。是否有其他方法来定义键映射以便字节编译器识别它?
emacs - Permanently disable a global minor for a major mode in Emacs
Since doc-view-mode
is very slow with the enabled linum-mode
, I am trying to disable it for that mode. The same question has been answered almost 6 years ago:
automatically disable a global minor mode for a specific major mode
Following the answer of phils, I have put the following in my .emacs file:
The problem is that I cannot make it work permanently. When I start a new buffer, the line numbers reappear in the buffer of doc-view-mode
. Please help!
emacs - 覆盖emacs中的次要模式键绑定
我在 emacs 中使用 paredit(一种 lisp 次要模式)。Paredit 绑定到我不喜欢的 barf 和 slurp 性爱C-<left>
。<C-right>
我正在尝试将键绑定设置为left-word
和right-word
如果我在缓冲区(使用 paredit 模式)中评估以下代码,我成功地覆盖了绑定:
但是,当我尝试做eval-after-load
同样的事情时,init.el
它没有任何效果。
我已经在我的末尾添加了上面的代码,init.el
但它似乎没有任何区别。
任何关于我做错了什么的想法将不胜感激。
emacs - emacs:一种以各种基数显示数字的次要模式
我正在寻找可以识别数字及其基数的 Emacs 包。
我希望它是交互式的(给出所选数字或点的值)。
返回的值可以打印到迷你缓冲区(然后是消息缓冲区)或单独的缓冲区。
有人可以解释我如何才能访问这些值以及创建这样一个函数需要采取哪些步骤?