From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#28343: 24.5; isearch highlighting slow - suppress for single space character Date: Sun, 03 May 2020 03:41:08 +0200 Message-ID: <87zhap23t7.fsf@stefankangas.se> References: <863782u6we.fsf@waniasset.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="52037"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 28343@debbugs.gnu.org To: Ed Avis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 03 03:45:03 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jV3gl-000DRG-LF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 May 2020 03:45:03 +0200 Original-Received: from localhost ([::1]:53030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV3gk-0005pt-8w for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 May 2020 21:45:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV3gZ-0005pD-S7 for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:44:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV3dr-00068l-Hp for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:44:51 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV3dp-00068g-UM for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jV3dp-0003TE-Qe for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 May 2020 01:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28343 X-GNU-PR-Package: emacs Original-Received: via spool by 28343-submit@debbugs.gnu.org id=B28343.158847007713282 (code B ref 28343); Sun, 03 May 2020 01:42:01 +0000 Original-Received: (at 28343) by debbugs.gnu.org; 3 May 2020 01:41:17 +0000 Original-Received: from localhost ([127.0.0.1]:54375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3d7-0003SA-19 for submit@debbugs.gnu.org; Sat, 02 May 2020 21:41:17 -0400 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:42522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3d5-0003Rv-LV for 28343@debbugs.gnu.org; Sat, 02 May 2020 21:41:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ElAVcaezyXNGghT0XtKndKKC3PuJeUawv9UvmPosNME=; b=QX8qe8LyKysf1AIOgCmnsNUHUd SUdUscZ9Y2PIsBvLPbE+Zo05lbWs7BAyTmNCfcl5hb+zh8TkWJAUPf08pSaTaVBulAVqmoz6PPUp3 oxoYOVEK+RwXeWK4X97cJHlTeOeTzGIJluXQEWhfxteJ3yy6TlbMCwWoG9L+YwqVZ7iwLbSHDEItH GNaFSV55QoJNhQh8L4xMngwnhnlSIWYrmcP0q/qkyyDHOkhnWiRDMzLecfMJIf2E2hYNFQRheM9j3 bsw6ERMHTNXOKB2pBGFAZE9xXq3eXsRDXbhET3NQ75r6rID90dUBrS4YCtLP5oPNs5Z/N4rUd2+yo 73g31ebw==; Original-Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:35414 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jV3cz-001Hjg-Qb; Sat, 02 May 2020 21:41:10 -0400 In-Reply-To: <863782u6we.fsf@waniasset.com> (Ed Avis's message of "Mon, 4 Sep 2017 10:53:21 +0100") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179558 Archived-At: Ed Avis writes: > Run Emacs in a fairly large terminal, say 200x200 characters. Go to the > end of a buffer with some text in it (long enough to fill the screen) > and do C-r SPACE. This is an isearch backwards for the space character. > If you have highlighting turned on, Emacs then starts highlighting > backwards all the space characters in the buffer. But this can be slow, > a noticeable few seconds even on a fast machine. (I think it depends on > the vagaries of memory management and possibly Lisp compiling, since > it's not always quite that bad; a second attempt takes only about half a > second. But still it seems a long time.) > > A small tweak to isearch would suppress the highlighting when what has > been typed so far is just a space character. If the user types space > and then C-s or C-r again, to indicate that he or she really does want > to search for single spaces, then you can highlight at that point of > course. I'm unable to reproduce this on Emacs 28.0.50 (current master). Are you still seeing this on a recent version of Emacs? If I don't hear back from you within a couple of weeks, I'll just close this bug as unreproducible. Thanks in advance. Best regards, Stefan Kangas