From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#29360: 26.0; Add full-buffer choice for `isearch-lazy-highlight' Date: Mon, 20 Nov 2017 22:53:55 +0200 Organization: LINKOV.NET Message-ID: <87shd8lli4.fsf@mail.linkov.net> References: <7ec3c778-ee77-48c9-ba10-f21202cac955@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1511211679 2178 195.159.176.226 (20 Nov 2017 21:01:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Nov 2017 21:01:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 29360@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 20 22:01:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGtBl-0008N6-Au for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Nov 2017 22:01:09 +0100 Original-Received: from localhost ([::1]:59740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtBq-0005Zq-Vf for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Nov 2017 16:01:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtBk-0005Ye-1c for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2017 16:01:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGtBf-0001NA-6i for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2017 16:01:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40817) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGtBf-0001Mx-1w for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2017 16:01:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGtBe-0004vW-IZ for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2017 16:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Nov 2017 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29360-submit@debbugs.gnu.org id=B29360.151121162818890 (code B ref 29360); Mon, 20 Nov 2017 21:01:02 +0000 Original-Received: (at 29360) by debbugs.gnu.org; 20 Nov 2017 21:00:28 +0000 Original-Received: from localhost ([127.0.0.1]:49498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGtB6-0004uc-G1 for submit@debbugs.gnu.org; Mon, 20 Nov 2017 16:00:28 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:43757 helo=homiemail-a12.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGtB5-0004uU-C7 for 29360@debbugs.gnu.org; Mon, 20 Nov 2017 16:00:27 -0500 Original-Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id 5B0D926206A; Mon, 20 Nov 2017 13:00:26 -0800 (PST) Original-Received: from localhost.linkov.net (m91-131-26-23.cust.tele2.ee [91.131.26.23]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPSA id 87B4D262065; Mon, 20 Nov 2017 13:00:25 -0800 (PST) In-Reply-To: <7ec3c778-ee77-48c9-ba10-f21202cac955@default> (Drew Adams's message of "Sun, 19 Nov 2017 11:05:54 -0800 (PST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:140171 Archived-At: > See bug #21092 for the motivation and reasons behind this bug report. > The aim of that bug report was never taken care of, which was to let > you force lazy-highlight highlighting on the full visible portion of > the buffer (where that refers to the full buffer or the current > buffer restriction). IOW, optionally do not restrict highlighting > to what is currently on screen, as is done now. > > The #21092 bug report mistakenly took a `nil' value of > `lazy-highlight-max-at-a-time' as meaning just that - just what the doc > said: act on the full buffer, not just on the text that is currently in > the window. The true meaning of nil for that variable is just to > highlight all of the search hits visible in the window. > > This new bug aims to finally get what was really being requested in > #21092: the ability to cause lazy highlight to act on the full buffer, > not just the text currently visible in the window. > > The outcome of #21092 and other bugs led to the creation of variable > `isearch-lazy-highlight'. At the end of #21092, realizing that closing > #21092 did not, in fact, respond to the aim of #21092, Juri suggested > that a separate report be filed, to request a new possible value for > `isearch-lazy-highlight' which will cause the full buffer to get the > lazy-highlight highlighting. That is the purpose of this bug report: > please add such a `buffer' or `full-buffer' value. Are you sure this should be part of isearch, not hi-lock? Isearch used to highlight only the visible part of the buffer because it is modal and doesn't allow the user to scroll the current search match out of view. Whereas hi-lock is intended to highlight all matches in the whole buffer.