因为我使用 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/