GNU bug report logs - #31372
26.1; flyspell highlighting for all misspelled words vanishes after adding a word to dictionary

Previous Next

Package: emacs;

Reported by: emacs user <user.emacs <at> gmail.com>

Date: Sun, 6 May 2018 07:59:02 UTC

Severity: normal

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: emacs user <user.emacs <at> gmail.com>
Cc: 31372-done <at> debbugs.gnu.org
Subject: Re: bug#31372: 26.1;
 flyspell highlighting for all misspelled words vanishes after adding
 a word to dictionary
Date: Sun, 06 May 2018 21:26:55 +0300
> From: emacs user <user.emacs <at> gmail.com>
> Date: Sun, 6 May 2018 10:58:33 +0300
> 
> Hello, I am encountering the problem described in
> 
> https://emacs.stackexchange.com/questions/30653/flyspells-highlight-cleared-after-a-save-word-action
> 
> to quote from there:
> 
> After running flyspell-buffer, all misspelled words are highlighted.
> However, after saving a word, all of the highlighting is gone. How can
> I avoid that?
> 
> this has been a problem for a while now for me, in different emacs versions.

When the personal dictionary is saved, ispell.el restarts Flyspell
mode, and that removes all the overlays used for highlighting.  This
code was a deliberate change to fix bug#11963, which see.  However,
since then, a better solution for the same scenario was already
installed, so this semi-kludgey fix is no longer needed.  I removed
that code now on the master branch, and that fixes this particular
bug.

Thanks.




This bug report was last modified 7 years and 48 days ago.

Previous Next


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