--- Begin Message ---
Subject: |
flyspell-auto-correct-word 'corrects' more than the current word |
Date: |
Thu, 15 Feb 2018 14:24:25 +0800 |
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.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#30462: flyspell-auto-correct-word 'corrects' more than the current word |
Date: |
Sat, 03 Mar 2018 12:49:13 +0200 |
> Date: Tue, 20 Feb 2018 06:08:26 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
>
> > > Please try the patch below (you will need to byte-compile flyspell.el
> > > after applying the patch). If it gives good results, please run with
> > > it for a while and see if there are any problems left. If this change
> > > has no adverse effects, I will push it.
> >
> > It does fix the scenarios I could come up with. Looks like a good change
> > to me, thanks!
>
> Thanks for testing. I will wait a few more days before pushing.
Pushed to the release branch.
--- End Message ---