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: Thu, 23 Nov 2017 23:49:46 +0200 Organization: LINKOV.NET Message-ID: <87efoomzr9.fsf@mail.linkov.net> References: <7ec3c778-ee77-48c9-ba10-f21202cac955@default> <87shd8lli4.fsf@mail.linkov.net> <36f5e57c-2eb3-45eb-ae43-3f8fdf7586dd@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1511473931 17778 195.159.176.226 (23 Nov 2017 21:52:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Nov 2017 21:52:11 +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 Thu Nov 23 22:52:05 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 1eHzPg-00048f-Ed for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Nov 2017 22:52:04 +0100 Original-Received: from localhost ([::1]:46133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHzPn-0000QR-Oi for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Nov 2017 16:52:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHzPh-0000QA-AT for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 16:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHzPe-00072W-8n for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 16:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHzPe-000727-63 for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 16:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHzPd-0005hL-V6 for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 16:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Nov 2017 21:52:01 +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.151147391321889 (code B ref 29360); Thu, 23 Nov 2017 21:52:01 +0000 Original-Received: (at 29360) by debbugs.gnu.org; 23 Nov 2017 21:51:53 +0000 Original-Received: from localhost ([127.0.0.1]:54250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHzPV-0005gz-JO for submit@debbugs.gnu.org; Thu, 23 Nov 2017 16:51:53 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:57589 helo=homiemail-a15.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHzPT-0005gr-PS for 29360@debbugs.gnu.org; Thu, 23 Nov 2017 16:51:52 -0500 Original-Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id 6898476C06E; Thu, 23 Nov 2017 13:51:48 -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-a15.g.dreamhost.com (Postfix) with ESMTPSA id 96D8A76C06B; Thu, 23 Nov 2017 13:51:47 -0800 (PST) In-Reply-To: <36f5e57c-2eb3-45eb-ae43-3f8fdf7586dd@default> (Drew Adams's message of "Mon, 20 Nov 2017 14:40:52 -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:140278 Archived-At: >> Are you sure this should be part of isearch, not hi-lock? > > No relation to hi-lock. This is not about font-lock > highlighting. hi-lock is not about font-lock highlighting too when font-lock is not active. See the variable =E2=80=98hi-lock-highlight-range=E2=80=99 with its default limit of 20000= 0. I'm thinking about using lazy-highlight in hi-lock to overcome this limitation after adding support for full-buffer to lazy-highlight. Maybe better to generalize the current implementation of isearch-lazy-highlight-update to apply a function given as an argument to perform different actions on the found matches (by default, adding the lazy-highlight overlay, and for hi-lock adding the hi-lock-overlay).