GNU bug report logs - #6504
24.0.50; flyspell-check-previous-highlighted-word does not unmark checked word when inserted in dictionary

Previous Next

Package: emacs;

Reported by: Gregor Zattler <telegraph <at> gmx.net>

Date: Thu, 24 Jun 2010 17:24:02 UTC

Severity: minor

Found in version 24.0.50

Done: Agustin Martin <agustin.martin <at> hispalinux.es>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 6504-done <at> debbugs.gnu.org (full text, mbox):

From: Agustin Martin <agustin.martin <at> hispalinux.es>
To: Gregor Zattler <telegraph <at> gmx.de>, 6504-done <at> debbugs.gnu.org
Subject: Re: 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
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.

-- 
Agustin




This bug report was last modified 14 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.