From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48581: 27.2; Default value of lazy-highlight-buffer-max-at-a-time is too low Date: Sat, 22 May 2021 15:30:58 +0300 Message-ID: <8335ufkl19.fsf@gnu.org> References: <87k0nr9l2f.fsf@gmail.com> <83eedzksqj.fsf@gnu.org> <87eedzujpv.fsf@gmail.com> <838s47kov8.fsf@gnu.org> <87k0nrklnu.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48581@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 22 14:32:32 2021 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 1lkQnv-0004bh-1D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 May 2021 14:32:31 +0200 Original-Received: from localhost ([::1]:55184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkQnu-00043U-3Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 May 2021 08:32:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkQnS-00043J-9A for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 08:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkQnS-00084G-19 for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 08:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lkQnR-00075A-Ue for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 08:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 May 2021 12:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48581 X-GNU-PR-Package: emacs Original-Received: via spool by 48581-submit@debbugs.gnu.org id=B48581.162168666424241 (code B ref 48581); Sat, 22 May 2021 12:32:01 +0000 Original-Received: (at 48581) by debbugs.gnu.org; 22 May 2021 12:31:04 +0000 Original-Received: from localhost ([127.0.0.1]:38474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkQmW-0006IU-2t for submit@debbugs.gnu.org; Sat, 22 May 2021 08:31:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkQmU-0006C2-6D for 48581@debbugs.gnu.org; Sat, 22 May 2021 08:31:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58666) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkQmP-0007hC-01; Sat, 22 May 2021 08:30:57 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2734 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkQmO-0005sE-GZ; Sat, 22 May 2021 08:30:56 -0400 In-Reply-To: <87k0nrklnu.fsf@gmail.com> (message from Augusto Stoffel on Sat, 22 May 2021 14:17:25 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:207040 Archived-At: > From: Augusto Stoffel > Cc: 48581@debbugs.gnu.org > Date: Sat, 22 May 2021 14:17:25 +0200 > > On Sat, 22 May 2021 at 14:08, Eli Zaretskii wrote: > > > In most real-life cases, at least in mine, you never need to look at > > all the matches, only at the first few. > > That's right. However, despite the name, > `lazy-highlight-buffer-max-at-a-time' also influences the time needed to > compute the number of matches in the buffer. So, when you set > `isearch-lazy-count' to t, those numbers in the table of my first > message indicate the delay between typing a search string and seeing the > number of matches in the buffer (as well as the relative position of the > current match) in the echo area. That was exactly my point: the variable you suggest changing affects more than just one use case, and it affects them in ways that in a sense contradict one another. If we want to change the default value, we should find a way of doing that without hurting "the other" use case.