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: Sat, 22 Feb 2014 23:03:02 +0200 Message-ID: <838ut23lo9.fsf@gnu.org> References: <85zjlo5ecy.fsf@gmail.com> <83ob204vrv.fsf@gnu.org> <20140221143855.GA6018@agmartin.aq.upm.es> <83k3co4hzd.fsf@gnu.org> <20140222124413.GA4971@openwall.com> <83vbw72t05.fsf@gnu.org> <20140222160217.GA15616@openwall.com> <83ios72j8b.fsf@gnu.org> <20140222185511.GA23643@openwall.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1393103050 17061 80.91.229.3 (22 Feb 2014 21:04:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2014 21:04:10 +0000 (UTC) Cc: 16800@debbugs.gnu.org, agustin.martin@hispalinux.es To: Aleksey Cherepanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 22 22:04:17 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 1WHJk8-0005KX-Je for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 22:04:16 +0100 Original-Received: from localhost ([::1]:50819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHJk8-00083m-7I for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 16:04:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHJjz-00083U-GZ for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 16:04:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHJju-0002MN-7O for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 16:04:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHJju-0002MJ-4Z for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 16:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WHJjt-0002Bp-Q3 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 16:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2014 21:04: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.13931029988341 (code B ref 16800); Sat, 22 Feb 2014 21:04:01 +0000 Original-Received: (at 16800) by debbugs.gnu.org; 22 Feb 2014 21:03:18 +0000 Original-Received: from localhost ([127.0.0.1]:35997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHJjC-0002AT-5o for submit@debbugs.gnu.org; Sat, 22 Feb 2014 16:03:18 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:33924) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHJjA-0002AB-Av for 16800@debbugs.gnu.org; Sat, 22 Feb 2014 16:03:17 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N1F00F000YDPY00@mtaout25.012.net.il> for 16800@debbugs.gnu.org; Sat, 22 Feb 2014 23:01:48 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1F006GB130DH90@mtaout25.012.net.il>; Sat, 22 Feb 2014 23:01:48 +0200 (IST) In-reply-to: <20140222185511.GA23643@openwall.com> 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:86047 Archived-At: > Date: Sat, 22 Feb 2014 22:55:11 +0400 > From: Aleksey Cherepanov > Cc: agustin.martin@hispalinux.es, 16800@debbugs.gnu.org > > > > BTW solution around reduction of jump points does not not affect > > > faces: "nd" or "badnd" at the end of "good badnd good " does not call > > > spell check on the first "badnd". > > > > Not sure I understand what you are saying here. What "first badnd"? > > you have only one in this example. > > "nd" does not cause spell check of "badnd". Another "badnd" at the end > does not cause spell check of the first "badnd". Of course, it isn't; why should it? > > > Emacs words are language sensitive too. > > > > But not in the same way as ispell/flyspell is. The CASECHARS, > > NON-CASECHARS, and OTHERCHARS parameters of the dictionary are only > > taken into account by ispell/flyspell. > > I think one could define a dictionary like: ("my" "[a]" "[^a]" "" ...) > So the only letter for flyspell words is "a". That way "qqaaqqaaqq" is > one word for emacs and two words with garbage around for flyspell. I > think my solution fails in such case. It's more complex than that: with some languages, and at least with aspell, we take these parameters from the dictionary. So they cannot be known in advance in some cases.