bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30462: flyspell-auto-correct-word 'corrects' more than the current w


From: Eli Zaretskii
Subject: bug#30462: flyspell-auto-correct-word 'corrects' more than the current word
Date: Thu, 15 Feb 2018 14:00:59 +0200
User-agent: K-9 Mail for Android

On February 15, 2018 8:24:25 AM GMT+02:00, "積丹尼 Dan Jacobson" 
<jidanni@jidanni.org> wrote:
>     C-M-i (translated from <escape> <tab>) runs the command
>   flyspell-auto-correct-word (found in flyspell-mode-map), which is an
>     interactive compiled Lisp function in ‘flyspell.el’.
> 
>     It is bound to C-., C-M-i.
> 
>     (flyspell-auto-correct-word)
> 
>     Correct the current word.
> This command proposes various successive corrections for the current
> word.
> 
> Well it turns out if the current word is already correct, then it
> searches backward up to several sentences looking for another word
> that
> it can correct.
> 
> Which can have disastrous consequences when the boss reads the final
> draft of what you sent him.
> 
> Therefore it would be best if this command would limit its helpfulness
> to what it says in the docstring: the current word.
> 
> Which to me means not some word 30 words back.

This happens only if you invoke the command more than once on the same
location.  So, while I agree that the doc string should be fixed, the problem
you describe can happen only by user request.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]