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#17837: 24.4.50; Search very slow Date: Tue, 24 Jun 2014 18:59:41 +0300 Message-ID: <83vbrqqowi.fsf@gnu.org> References: <837g47shrk.fsf@gnu.org> <834mzbrplv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1403625647 26679 80.91.229.3 (24 Jun 2014 16:00:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 16:00:47 +0000 (UTC) Cc: 17837@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 18:00:38 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 1WzT98-0003TZ-60 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 18:00:34 +0200 Original-Received: from localhost ([::1]:60575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzT97-0004vK-Le for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 12:00:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzT8k-0004WG-Fp for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 12:00:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzT8e-0000rN-8B for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 12:00:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzT8d-0000qm-TT for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 12:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WzT8c-0004WX-Uf for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 12:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jun 2014 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17837 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17837-submit@debbugs.gnu.org id=B17837.140362559917354 (code B ref 17837); Tue, 24 Jun 2014 16:00:02 +0000 Original-Received: (at 17837) by debbugs.gnu.org; 24 Jun 2014 15:59:59 +0000 Original-Received: from localhost ([127.0.0.1]:59470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzT8V-0004Vg-5z for submit@debbugs.gnu.org; Tue, 24 Jun 2014 11:59:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50992) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzT8P-0004VF-23 for 17837@debbugs.gnu.org; Tue, 24 Jun 2014 11:59:52 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N7O00D00KA9XF00@a-mtaout22.012.net.il> for 17837@debbugs.gnu.org; Tue, 24 Jun 2014 18:59:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7O00DR7KFIUO20@a-mtaout22.012.net.il>; Tue, 24 Jun 2014 18:59:43 +0300 (IDT) In-reply-to: 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:90742 Archived-At: > Date: Tue, 24 Jun 2014 11:42:13 -0400 > From: Richard Stallman > CC: monnier@iro.umontreal.ca, 17837@debbugs.gnu.org > > Anyway, you may wish to experiment with setting jit-lock-defer-time to > a non-nil value. E.g., try setting it to 0.25 or 0.5 sec, and see if > that gives good results. > > I tried setting that to .1, and here's what happened. > > I typed C-s C-s (which searched for "honor"). It found the first > occurrence and displayed it without fontifying that area. > > Then I typed C-f and got no response. I suspect it had already > started to highlight the other matches, and was fontifying the > regions where they occur. > > The C-f was executed after 30 seconds or more. Does anything change if you set redisplay-dont-pause to nil? Stefan, isn't jit-lock supposed to stop and relinquish control if input is available? I thought it did, but I cannot find any code to that effect. What am I missing?