From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#22090: Isearch is sluggish and eventually refuses further service with "[Too many words]". Date: Fri, 4 Dec 2015 04:20:52 +0000 Message-ID: <20151204042052.GA1965@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1449203185 32350 80.91.229.3 (4 Dec 2015 04:26:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2015 04:26:25 +0000 (UTC) To: 22090@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 04 05:26:13 2015 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 1a4hwg-0002j7-Dy for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2015 05:26:10 +0100 Original-Received: from localhost ([::1]:38644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4hwf-0004as-Gx for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2015 23:26:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4hwb-0004a0-Hl for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 23:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4hwY-0003Ul-Ci for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 23:26:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4hwY-0003Ug-9D for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 23:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a4hwX-0006xw-VP for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 23:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Dec 2015 04:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22090 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144920315126759 (code B ref -1); Fri, 04 Dec 2015 04:26:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Dec 2015 04:25:51 +0000 Original-Received: from localhost ([127.0.0.1]:38021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4hwN-0006xX-9k for submit@debbugs.gnu.org; Thu, 03 Dec 2015 23:25:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45777) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4hw3-0006x5-FV for submit@debbugs.gnu.org; Thu, 03 Dec 2015 23:25:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4hw2-0003Qa-CB for submit@debbugs.gnu.org; Thu, 03 Dec 2015 23:25:31 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4hw2-0003QW-8o for submit@debbugs.gnu.org; Thu, 03 Dec 2015 23:25:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4hw1-0004Mg-5K for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 23:25:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4hvx-0003N4-Sx for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 23:25:29 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:33394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4hvx-0003Ma-Kt for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 23:25:25 -0500 Original-Received: (qmail 33552 invoked by uid 3782); 4 Dec 2015 04:18:43 -0000 Original-Received: from acm.muc.de (p579E9292.dip0.t-ipconnect.de [87.158.146.146]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 04 Dec 2015 05:18:42 +0100 Original-Received: (qmail 2126 invoked by uid 1000); 4 Dec 2015 04:20:52 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:109570 Archived-At: Hello, Emacs With a recent emacs-25 (last update eaa1fd6dbff8346eb38485de5ebf0fbfacf374d9 from Thursday 2015-12-03): emacs -Q C-c C-f src/xdisp.c Move point to L30 (paragraph beginning "Updating the display is triggered by the Lisp interpreter ...") C-s C-w repeatedly, to yank words onto the search string. After ~29 words have been yanked, the response becomes sluggish, pausing for between 0.5s and 1s before highlighting the "for" at the end of L31. Carrying on with C-w, some words are taking 2 or 3 seconds to be registered by Isearch. This is Bad. After having yanked "you as part of" from L32, (i) the " of" gets highlighted in the isearch-error face in the echo area; (ii) the text "[Too many words]" is appended to the echo area; (iii) the highlighting is removed from the match; (iv) point is placed at the start of the match (i.e. BOL 30). At this point, will still behave as expected, except it's action too is very sluggish - to remove two words from the current search took several seconds. Observation: it may be that C-w done in the vicinity of two or several spaces experiences extra delay. -- Alan Mackenzie (Nuremberg, Germany).