Emacs ispell goto 上一个单词?

标签 emacs ispell

因为我使用 M-x ispell 来检查 LaTeX 代码
我使用 SPC 跳过了很多不应该更正的条目。
但有时我会跳过一个实际拼写错误的单词。
用 ispell 返回上一个单词的关键是什么?

最佳答案

我检查了 ispell.el 的源代码,不幸的是,它似乎没有键绑定(bind)(键实际上是在函数 ispell-command-loop 中硬编码的)。作为一个快速破解,如果您不介意缓冲区本地标记环困惑,您可以执行以下操作:

(defadvice ispell-command-loop (after leave-breadcrumbs activate)
  "Leave a trail in the mark-ring when waiting for user input"
  (push-mark (point) t))

然后你总是可以用 C-u C-SPC 回到以前的错误。或者,您可以为此功能创建自己的标记环。

关于Emacs ispell goto 上一个单词?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17510249/

相关文章:

debugging - 使用 GDB 在 Fortran 中调试 MPI 程序(在 MAC 上)

emacs - 使用 emacs 在本地禁用自动填充模式(或取消填充段落)

emacs - 在 Emacs flyspell-mode 中,如何在字典中添加新单词?

linux - 在 Mac OS X 上运行 "yes 0 | script -c ' ispell text.txt'/dev/null"

emacs - 杀死 paredit 中的下一个表达式

emacs - 在Emacs中,其他窗口(C-x o)的相反功能是什么?

html - 在 emacs 中使用 aspell 编辑 HTML 页面

接受本地文件字典的单词时 Emacs ispell 错误

emacs - 是否有任何 ECB(或其他)增强的查找文件 mojo?