emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#22090: closed (Isearch is sluggish and eventually


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#22090: closed (Isearch is sluggish and eventually refuses further service with "[Too many words]".)
Date: Fri, 04 Dec 2015 17:02:01 +0000

Your message dated 4 Dec 2015 17:01:00 -0000
with message-id <address@hidden>
and subject line Re: bug#22090: Isearch is sluggish and eventually refuses 
further service      with "[Too many words]".
has caused the debbugs.gnu.org bug report #22090,
regarding Isearch is sluggish and eventually refuses further service with "[Too 
many words]".
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
22090: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22090
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Isearch is sluggish and eventually refuses further service with "[Too many words]". Date: Fri, 4 Dec 2015 04:20:52 +0000 User-agent: Mutt/1.5.23 (2014-03-12)
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, <BKSP> 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).



--- End Message ---
--- Begin Message --- Subject: Re: bug#22090: Isearch is sluggish and eventually refuses further service with "[Too many words]". Date: 4 Dec 2015 17:01:00 -0000 User-agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.1-RELEASE-p16 (amd64))
Hello, Artur.

In article <address@hidden> you wrote:
> 2015-12-04 9:23 GMT+00:00 Eli Zaretskii <address@hidden>:
>>> Date: Fri, 4 Dec 2015 04:20:52 +0000
>>> From: Alan Mackenzie <address@hidden>
>>>
>>> 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.

> Thanks for the report. The source for this (and for a similar bug
> mentioned on a thread in emacs-devel) was the code I had added for
> special case-folding support.
> For now, I've just removed the code. I can think of a way of solving
> this, but it adds some complexity to isearch, which I don't wanna do
> (and I don't think this feature was that important anyway). Here's a
> full copy of the commit message explaining why the bug happens.

Thanks for reacting to this so quickly.  I confirm that both symptoms of
the bug have been resolved.

So I'm closing this bug.

[ .... ]

-- 
Alan Mackenzie (Nuremberg, Germany).



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]