From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83fvn3wj3m.fsf@gnu.org> References: <83vbw72t05.fsf@gnu.org> <20140222160217.GA15616@openwall.com> <83ios72j8b.fsf@gnu.org> <20140222185511.GA23643@openwall.com> <838ut23lo9.fsf@gnu.org> <20140223195659.GA23581@openwall.com> <20140223230251.GA30257@openwall.com> <20140224160317.GA2475@openwall.com> <20140226203202.GA23749@agmartin.aq.upm.es> <20140228114545.GA8669@agmartin.aq.upm.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1393588339 28570 80.91.229.3 (28 Feb 2014 11:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2014 11:52:19 +0000 (UTC) Cc: 16800@debbugs.gnu.org, aleksey.4erepanov@gmail.com To: Agustin Martin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 28 12:52:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJLzN-0001Az-0K for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 12:52:25 +0100 Original-Received: from localhost ([::1]:50598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJLzM-0002T7-Ll for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Feb 2014 06:52:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJLzD-0002Sj-Ka for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:52:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJLz0-0002Lz-IS for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:52:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJLz0-0002Lp-F1 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WJLz0-0003mj-1H for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2014 06:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2014 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16800-submit@debbugs.gnu.org id=B16800.139358830314513 (code B ref 16800); Fri, 28 Feb 2014 11:52:01 +0000 Original-Received: (at 16800) by debbugs.gnu.org; 28 Feb 2014 11:51:43 +0000 Original-Received: from localhost ([127.0.0.1]:43717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJLyh-0003m1-ES for submit@debbugs.gnu.org; Fri, 28 Feb 2014 06:51:43 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:35313) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WJLyf-0003lq-C4 for 16800@debbugs.gnu.org; Fri, 28 Feb 2014 06:51:42 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N1P00400ESVT600@a-mtaout21.012.net.il> for 16800@debbugs.gnu.org; Fri, 28 Feb 2014 13:51:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1P004K2FM3NV80@a-mtaout21.012.net.il>; Fri, 28 Feb 2014 13:51:39 +0200 (IST) In-reply-to: <20140228114545.GA8669@agmartin.aq.upm.es> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86380 Archived-At: > Date: Fri, 28 Feb 2014 12:45:45 +0100 > From: Agustin Martin > > 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.