[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50443: Fwd: Flyspell error traversal additions
From: |
Juri Linkov |
Subject: |
bug#50443: Fwd: Flyspell error traversal additions |
Date: |
Thu, 09 Sep 2021 20:24:44 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> IMO the best course of action would be to modify
> `flyspell-goto-next-error' to accept a prefix argument. The prefix
> would control the direction and number of jumps performed; negative
> arguments would jump backwards -ARG errors (by calling
> flyspell-goto-previous-error), while positive arguments would jump
> forwards ARG errors. This would be similar to how commands like
> `forward-word' handle prefix arguments. This would allow us to leave
> the mode-map unchanged, but still distribute the improvement to all
> users.
Adding a negative argument to `flyspell-goto-next-error'
is the most non-conflicting solution. There was an idea
to use 'M-g n' and 'M-g p' to navigate flyspell errors.
But I don't believe this is workable since often 'M-g n'
and 'M-g p' are needed to navigate errors or search hits
displayed in another window with a list of results.