From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21092: 25.0.50; Option `lazy-highlight-max-at-a-time' does not work Date: Sun, 30 Aug 2015 05:40:01 +0300 Message-ID: <83r3ml1ou6.fsf@gnu.org> References: <6ef534bf-ecf3-48a4-9414-46de26d911c7@default> <87oahpbxu1.fsf@mail.linkov.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1440902423 16296 80.91.229.3 (30 Aug 2015 02:40:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Aug 2015 02:40:23 +0000 (UTC) Cc: 21092@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 30 04:40:12 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 1ZVsXT-0001VW-JK for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Aug 2015 04:40:11 +0200 Original-Received: from localhost ([::1]:56081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVsXT-00084Y-9p for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Aug 2015 22:40:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVsXP-00082Y-Rk for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 22:40:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVsXK-0003pB-RL for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 22:40:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVsXK-0003oa-OP for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 22:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVsXK-0001pp-B3 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2015 22:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2015 02:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21092 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21092-submit@debbugs.gnu.org id=B21092.14409023997041 (code B ref 21092); Sun, 30 Aug 2015 02:40:02 +0000 Original-Received: (at 21092) by debbugs.gnu.org; 30 Aug 2015 02:39:59 +0000 Original-Received: from localhost ([127.0.0.1]:42388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVsXH-0001pS-EH for submit@debbugs.gnu.org; Sat, 29 Aug 2015 22:39:59 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42651) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVsXF-0001pI-0s for 21092@debbugs.gnu.org; Sat, 29 Aug 2015 22:39:58 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NTV00M00J50X600@a-mtaout22.012.net.il> for 21092@debbugs.gnu.org; Sun, 30 Aug 2015 05:39:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTV00MW9JEJTV20@a-mtaout22.012.net.il>; Sun, 30 Aug 2015 05:39:55 +0300 (IDT) In-reply-to: <87oahpbxu1.fsf@mail.linkov.net> X-012-Sender: halo1@inter.net.il 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:105971 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , 21092@debbugs.gnu.org > Date: Sun, 30 Aug 2015 00:10:10 +0300 > > > IOW, I would like nil to behave as advertised: no limit. This is the > > use case that prompted me to file the bug and look for a solution. > > There is no bug. I have ‘lazy-highlight-max-at-a-time’ set to nil > in my .emacs for years, and it worked as intended to optimize the > performance of the screen-limited lazy-highlighting. Please don't break > this useful option. With your proposed changes Isearch will be horribly slow > to highlight all matches in a large buffer on every search state change. > > There is no need to highlight all matches in the buffer during Isearch. What if someone wants to? > If you want a new feature, please create a new feature request > with a subject like ‘Feature request: lazy-hi-lock on Isearch exit’ > that will highlight all matches in the buffer after you exit Isearch. How about leaving the current meaning of nil as it is, i.e. limit the highlighting to the visible portion of the buffer, and introducing a special value like zero or -1 to mean highlight the whole buffer?