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: Fri, 28 Aug 2015 11:57:27 +0300 Message-ID: <83lhcv4wp4.fsf@gnu.org> References: <9e1b9e19-6a1e-4241-a3e6-2876509e1423@default> <7245a30d-355a-425e-b19b-1c9ecc5e94e3@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1440752312 7613 80.91.229.3 (28 Aug 2015 08:58:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 08:58:32 +0000 (UTC) Cc: 21092@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 10:58:22 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 1ZVFUJ-0004aB-Sq for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 10:58:20 +0200 Original-Received: from localhost ([::1]:46828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVFUJ-000140-6R for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 04:58:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVFU7-0000tV-Pu for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 04:58:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVFU2-000400-N9 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 04:58:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVFU2-0003zw-L5 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 04:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVFU2-0001Sz-99 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 04:58: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: Fri, 28 Aug 2015 08:58: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.14407522495580 (code B ref 21092); Fri, 28 Aug 2015 08:58:02 +0000 Original-Received: (at 21092) by debbugs.gnu.org; 28 Aug 2015 08:57:29 +0000 Original-Received: from localhost ([127.0.0.1]:40791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVFTV-0001Rv-2a for submit@debbugs.gnu.org; Fri, 28 Aug 2015 04:57:29 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:57536) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVFTS-0001Rm-Hw for 21092@debbugs.gnu.org; Fri, 28 Aug 2015 04:57:27 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NTS00O00BH6HY00@mtaout29.012.net.il> for 21092@debbugs.gnu.org; Fri, 28 Aug 2015 11:57:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTS00GBFBK1EH80@mtaout29.012.net.il>; Fri, 28 Aug 2015 11:57:37 +0300 (IDT) In-reply-to: <7245a30d-355a-425e-b19b-1c9ecc5e94e3@default> 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:105908 Archived-At: > Date: Thu, 27 Aug 2015 13:29:58 -0700 (PDT) > From: Drew Adams > > > 1. emacs -Q > > 2. Visit a file - anything other than a tiny one will do. > > 3. Use `customize-option' to set `lazy-highlight-cleanup' to nil > > and set `lazy-max-at-a-time' to nil. > > 4. Search once for a simple string that occurs multiple times throughout > > the buffer - e.g., `C-s the RET`. > > 5. Scroll down to see that the matches were not highlighted throughout > > the buffer. `lazy-highlight-max-at-a-time' does not work as > > advertised. > > [Typo in step 3: `lazy-max-at-a-time' should be > `lazy-highlight-max-at-a-time' (as in step 5).] > > It would be great to hear back about this. Is this a bug or am I > misunderstanding something? What do you mean by "scroll down" in step 5 above? Scroll down how? Scrolling (as any other command that exits I-search) removes all highlighting, at least by default. And "all matches" in the variable's doc string means "all matches shown on the screen", as the display engine never does anything beyond the displayed portion (that's a simplification, but it will do for the purposes of this discussion).