From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#17837: 24.4.50; Search very slow Date: Tue, 24 Jun 2014 11:42:13 -0400 Message-ID: References: <837g47shrk.fsf@gnu.org> <834mzbrplv.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1403624689 13665 80.91.229.3 (24 Jun 2014 15:44:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 15:44:49 +0000 (UTC) Cc: 17837@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 17:44:43 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 1WzStn-0001gb-89 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 17:44:43 +0200 Original-Received: from localhost ([::1]:60415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzStm-00080Z-E7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 11:44:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzSsC-0005lq-IY for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 11:43:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzSsB-0002KN-2Z for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 11:43:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzSsA-0002KE-Vw for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 11:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WzSsA-00041O-De for bug-gnu-emacs@gnu.org; Tue, 24 Jun 2014 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jun 2014 15:43: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.140362454415408 (code B ref 17837); Tue, 24 Jun 2014 15:43:02 +0000 Original-Received: (at 17837) by debbugs.gnu.org; 24 Jun 2014 15:42:24 +0000 Original-Received: from localhost ([127.0.0.1]:59450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzSrT-00040N-SC for submit@debbugs.gnu.org; Tue, 24 Jun 2014 11:42:23 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:59268 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzSrO-00040D-VW for 17837@debbugs.gnu.org; Tue, 24 Jun 2014 11:42:18 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WzSrN-0006ul-1w; Tue, 24 Jun 2014 11:42:13 -0400 In-reply-to: <834mzbrplv.fsf@gnu.org> (message from Eli Zaretskii on Tue, 24 Jun 2014 05:46:52 +0300) 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:90737 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Yes, I see some slowdown wrt 23.2, although not as drastic. Are you sure both binaries were compiled similarly, e.g. as far as compiler optimization switches are concerned? Perhaps not. The 23.2 was not built by me. I picked it because it was the oldest I have. 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. The current code gives bad results with all settings of that variable. The code needs to be fixed. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call.