Subject: Re: bug#14178: 24.2; Adding words to the spelling dictionary does not cause them immediately to be marked as correct in flyspell
From: Agustin Martin <[email-masked]>
To: [email-masked]
Date: Mon, 15 Apr 2013 12:12:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Thu, Apr 11, 2013 at 12:56:25AM +0100, Reuben Thomas wrote:
> 0. M-x flyspell-mode
> 
> 1. Type "fooble" (where "fooble" is not a word in your default
> wordlist); note that the word is highlighted as an error
> 
> 2. M-x ispell-buffer, press "a" to accept the word
> 
> 3. Oops, it's still highlighted.
> 
> I appreciate that fixing this may involve some cooperation between
> ispell and flyspell, but suggest that a lot of users used to editors
> with an integrated spell-checking facility may not have this sympathy
> and be wondering what on earth is the problem!

Just committed a change using

(and (fboundp 'flyspell-unhighlight-at)
     (flyspell-unhighlight-at start))

after ispell accepts word. This should care of that, so I am closing this
bug report. Please check and reopen if appropriate.

Thanks for your feedback,

-- 
Agustin