unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22090: Isearch is sluggish and eventually refuses further service with "[Too many words]".
@ 2015-12-04  4:20 Alan Mackenzie
  2015-12-04  9:23 ` Eli Zaretskii
       [not found] ` <mailman.1363.1449242229.31583.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 26+ messages in thread
From: Alan Mackenzie @ 2015-12-04  4:20 UTC (permalink / raw)
  To: 22090

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).





^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-12-06 12:50 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-04  4:20 bug#22090: Isearch is sluggish and eventually refuses further service with "[Too many words]" Alan Mackenzie
2015-12-04  9:23 ` Eli Zaretskii
2015-12-04 15:16   ` Artur Malabarba
2015-12-04 15:23     ` Eli Zaretskii
2015-12-04 16:06       ` Artur Malabarba
2015-12-04 16:27         ` Eli Zaretskii
2015-12-04 16:37           ` Artur Malabarba
2015-12-04 18:48             ` Eli Zaretskii
2015-12-04 19:59               ` Artur Malabarba
2015-12-05  9:19                 ` Eli Zaretskii
2015-12-04 15:49     ` Random832
2015-12-04 16:21       ` Artur Malabarba
2015-12-04 16:37         ` Random832
2015-12-04 16:51           ` Artur Malabarba
2015-12-04 18:24           ` Eli Zaretskii
     [not found] ` <mailman.1363.1449242229.31583.bug-gnu-emacs@gnu.org>
2015-12-04 17:01   ` Alan Mackenzie
2015-12-04 19:21   ` Alan Mackenzie
2015-12-04 20:08     ` Eli Zaretskii
2015-12-04 20:49     ` Artur Malabarba
2015-12-04 23:00       ` Alan Mackenzie
2015-12-05 17:23         ` Artur Malabarba
2015-12-05 17:32           ` Eli Zaretskii
2015-12-05 18:12             ` Artur Malabarba
2015-12-05 18:34               ` Eli Zaretskii
2015-12-05 18:52           ` Alan Mackenzie
2015-12-06 12:50             ` Artur Malabarba

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).