GNU bug report logs - #16800
24.3; flyspell works slow on very short words at the end of big file

Previous Next

Package: emacs;

Reported by: Aleksey Cherepanov <aleksey.4erepanov <at> gmail.com>

Date: Tue, 18 Feb 2014 20:59:02 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.5

Done: Agustin Martin <agustin6martin <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Agustin Martin <agustin.martin <at> hispalinux.es>
Cc: 16800 <at> debbugs.gnu.org, aleksey.4erepanov <at> gmail.com
Subject: bug#16800: 24.3; flyspell works slow on very short words at the end of big file
Date: Fri, 28 Feb 2014 13:51:41 +0200
> Date: Fri, 28 Feb 2014 12:45:45 +0100
> From: Agustin Martin <agustin.martin <at> hispalinux.es>
> 
> Please find attached my first candidate for commit. Is similar to what I
> sent before, but needed to add an explicit check for word at eob in
> `flyspell-word-search-forward'. 
> 
> Will try to have more testing before committing. Seems to work well with the
> file generated by your one-liner, even with corner cases like new
> misspellings added at bob or eob, but the wider the testing the better.
> 
> Hope no one will generate files with words containing something in
> OTHERCHARS.
> 
> Thanks for all your help

Thanks to both of you, but I still think that having flyspell search
without limits for duplicate mis-spellings is not a good idea.  We
have no control on how big user buffers could be.

So I think we should limit that search by default.




This bug report was last modified 10 years and 137 days ago.

Previous Next


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