[Top][All Lists]

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

bug#6504: 24.0.50; flyspell-check-previous-highlighted-word does not unm

From: Agustin Martin
Subject: bug#6504: 24.0.50; flyspell-check-previous-highlighted-word does not unmark checked word when inserted in dictionary
Date: Fri, 25 Jun 2010 10:27:07 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jun 24, 2010 at 06:43:14PM +0200, Gregor Zattler wrote:
> It's not possible to check several misspelled words via  
> flyspell-check-previous-highlighted-word.  
> Recipe to reproduce the bug:
> - start emacs -Q
> - M-x flyspell-mode
> - type a misspelled word a blank and a second misspelled word and a few
>   blanks
> - fylspell highlights the misspelled words
> - M-x - flyspell-check-previous-highlighted-word
> - type 'i' in order to save the second misspelled word as correct in
>   your dictionary (sanitize the dictionary afterwards)
> - cursor is at eol but the second misspelled word is still marked as
>   misspelled
> - M-x - flyspell-check-previous-highlighted-word
>   in order to check the first misspelled word
> - nothing happens except for a message in the echo area: 
>   "<second misspelled word> is correct"
> Therefore it is not possible to check the first misspelled word after
> checking the second.  I consider this to be a bug because it is
> necessary to move cursor in order to check the first missspelled word
> whilst the whole purpose fo flyspell-check-previous-highlighted-word is
> to minimize breaks for spell checking while writing.

I have committed a change that should make sure `flyspell-word' rechecks
word after `flyspell-check-previous-highlighted-word' run, so highlight
is removed if appropriate.

This should close bug report. Please reopen if needed.

Thanks for your feedback.


reply via email to

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