From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams 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 09:44:32 -0700 (PDT) Message-ID: <31c8bd13-e53c-41b8-ae36-cbbb13d2001d@default> References: <<56e13714-27a7-47f9-93df-299b4a25457d@default>> <<83wpwf2z6m.fsf@gnu.org>> <> <<83twrj2ye6.fsf@gnu.org>> <9948c583-9ab8-4c2e-a5fd-82df1e98e5c1@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1440780328 16578 80.91.229.3 (28 Aug 2015 16:45:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 16:45:28 +0000 (UTC) Cc: 21092@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 18:45:13 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 1ZVMm6-0008EI-RO for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 18:45:10 +0200 Original-Received: from localhost ([::1]:48898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVMm6-0007sF-21 for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 12:45:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVMm2-0007rc-Ea for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 12:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVMlz-0007ln-3u for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 12:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVMlz-0007lE-1d for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 12:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVMly-0005bV-KN for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 12:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Aug 2015 16:45: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.144078027921490 (code B ref 21092); Fri, 28 Aug 2015 16:45:02 +0000 Original-Received: (at 21092) by debbugs.gnu.org; 28 Aug 2015 16:44:39 +0000 Original-Received: from localhost ([127.0.0.1]:41609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVMlb-0005aY-20 for submit@debbugs.gnu.org; Fri, 28 Aug 2015 12:44:39 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:29523) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVMlY-0005aP-Ki for 21092@debbugs.gnu.org; Fri, 28 Aug 2015 12:44:37 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7SGiYj9030178 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Aug 2015 16:44:35 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t7SGiYY1007093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 28 Aug 2015 16:44:34 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t7SGiY7T021195; Fri, 28 Aug 2015 16:44:34 GMT In-Reply-To: <9948c583-9ab8-4c2e-a5fd-82df1e98e5c1@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:105925 Archived-At: > OK, great to hear. So this is a real Isearch bug, and there is a > possibility for it to be fixed. >=20 > Hopefully someone knowledgable will contribute to a solution. > I can try to help, but it would be great if Juri or someone else > who understands the code well could lead. OK, I think I found the problem. I have something working, but will send it in the form of a patch in a while. Essentially, it is the isearch.el code itself that imposes, in a few places, not searching past (window-end) or before (window-start), regardless of the value of `isearch-lazy-highlight-max-at-a-time'. This is what needs to be fixed, to be (point-max) and (point-min) when `isearch-lazy-highlight-max-at-a-time' is nil. A more thoroughgoing fix would take into account a numeric value of `isearch-lazy-highlight-max-at-a-time', but I won't bother with that, for now.