Emacs ispell goto previous word?

How I use Mx ispell to test LaTeX code I use SPC to skip many entries that should not be fixed. But then I sometimes miss the real word with an error. What is the key to return with ispell to the previous word?

+4
source share
1 answer

I checked the source code of ispell.el and, unfortunately, there is no key binding for this (the keys are actually hardcoded in the ispell-command-loop function). As a quick hack, if you don't mind your buffer local label being cluttered, you can do something like this:

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

Then you can always go back to previous errors with Cu C-SPC. In addition, you can create your own ring for this function.

+2
source

Source: https://habr.com/ru/post/1490107/


All Articles