From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4511: 23.1; flyspell-mode slow editing near end of big html file Date: Tue, 22 Sep 2009 17:40:03 -0400 Message-ID: References: <87ws3sgcm1.fsf@blah.blah> Reply-To: Stefan Monnier , 4511@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253657267 16825 80.91.229.12 (22 Sep 2009 22:07:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Sep 2009 22:07:47 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 4511@emacsbugs.donarmstrong.com To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 23 00:07:40 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MqDWD-0001qz-Rt for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2009 00:07:30 +0200 Original-Received: from localhost ([127.0.0.1]:40695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqDWD-0002rA-9y for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Sep 2009 18:07:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqDVx-0002mM-Rt for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 18:07:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqDVt-0002lu-C2 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 18:07:13 -0400 Original-Received: from [199.232.76.173] (port=49804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqDVt-0002lr-9X for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 18:07:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41483) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqDVs-0000Vs-Il for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2009 18:07:08 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8MM73PG007939; Tue, 22 Sep 2009 15:07:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8MLo9qM004481; Tue, 22 Sep 2009 14:50:09 -0700 Resent-Date: Tue, 22 Sep 2009 14:50:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 22 Sep 2009 21:50:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4511 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4511-submit@emacsbugs.donarmstrong.com id=B4511.12536556072943 (code B ref 4511); Tue, 22 Sep 2009 21:50:08 +0000 Original-Received: (at 4511) by emacsbugs.donarmstrong.com; 22 Sep 2009 21:40:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8MLe5kh002891 for <4511@emacsbugs.donarmstrong.com>; Tue, 22 Sep 2009 14:40:06 -0700 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n8MLe3TW025237; Tue, 22 Sep 2009 17:40:03 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 873DB3A122; Tue, 22 Sep 2009 17:40:03 -0400 (EDT) In-Reply-To: <87ws3sgcm1.fsf@blah.blah> (Kevin Ryde's message of "Tue, 22 Sep 2009 08:24:38 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3368=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 22 Sep 2009 18:07:13 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31368 Archived-At: > I track the slowness to where `sgml-mode-flyspell-verify' does > (looking-back "<[^>\n]*") > I take it this func is asking whether point is within a or not. > Does that regexp end up asking re-search-backward to consider every "<" > in the buffer or something, before deciding no match is possible? Yes, looking-back is a dog. You need to pass it a `limit' argument. I think the `limit' argument should be mandatory. Stefan