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:59:18 -0700 (PDT) Message-ID: <360259eb-56eb-49d2-9c98-edd0c79fc4d6@default> References: <<56e13714-27a7-47f9-93df-299b4a25457d@default>> <<83wpwf2z6m.fsf@gnu.org>> <> <<83twrj2ye6.fsf@gnu.org>> <9948c583-9ab8-4c2e-a5fd-82df1e98e5c1@default> <31c8bd13-e53c-41b8-ae36-cbbb13d2001d@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="__1440781160895310179abhmp0010.oracle.com" X-Trace: ger.gmane.org 1440781230 1267 80.91.229.3 (28 Aug 2015 17:00:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 17:00:30 +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 19:00:17 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 1ZVN0i-0007cK-MQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 19:00:16 +0200 Original-Received: from localhost ([::1]:49057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVN0h-0007Pl-Uu for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 13:00:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVN0a-0007LR-Dn for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 13:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVN0X-0008SK-8w for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 13:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVN0X-0008R8-6q for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 13:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVN0W-0005wO-Pw for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 13:00:04 -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 17:00:04 +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.144078116622753 (code B ref 21092); Fri, 28 Aug 2015 17:00:04 +0000 Original-Received: (at 21092) by debbugs.gnu.org; 28 Aug 2015 16:59:26 +0000 Original-Received: from localhost ([127.0.0.1]:41621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVMzt-0005uv-M7 for submit@debbugs.gnu.org; Fri, 28 Aug 2015 12:59:25 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:18359) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVMzr-0005un-GQ for 21092@debbugs.gnu.org; Fri, 28 Aug 2015 12:59:24 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7SGxL8j032414 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Aug 2015 16:59:22 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t7SGxLWb030245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 28 Aug 2015 16:59:21 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t7SGxLdl017842; Fri, 28 Aug 2015 16:59:21 GMT In-Reply-To: <31c8bd13-e53c-41b8-ae36-cbbb13d2001d@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: aserv0022.oracle.com [141.146.126.234] 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:105926 Archived-At: --__1440781160895310179abhmp0010.oracle.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable > OK, I think I found the problem. I have something working, > but will send it in the form of a patch in a while. >=20 > 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. >=20 > 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. Attached is a quick patch that seems to be OK wrt fixing things for a nil value of `isearch-lazy-highlight-max-at-a-time'. Please give it a try. If OK then I will update the doc and defcustom to make clear that (for now) this works only for nil and not for a large value. Feel free to adjust the fix. Or to extend it to also take a numeric value into account. But I will be happy if it is fixed at least for nil. --__1440781160895310179abhmp0010.oracle.com Content-Type: application/octet-stream; name="isearch-2015-08-28.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="isearch-2015-08-28.patch" ZGlmZiAtdXcgaXNlYXJjaC5lbCBpc2VhcmNoLXBhdGNoZWQtMjAxNS0wOC0yOC5lbAotLS0gaXNl YXJjaC5lbAkyMDE1LTA4LTI4IDA5OjQ3OjQ1LjQzMTI1MjgwMCAtMDcwMAorKysgaXNlYXJjaC1w YXRjaGVkLTIwMTUtMDgtMjguZWwJMjAxNS0wOC0yOCAwOTo1MTo0MC42ODM3MDg1MDAgLTA3MDAK QEAgLTMwOTIsMTMgKzMwOTIsMTMgQEAKIAkJCQkoKyBpc2VhcmNoLWxhenktaGlnaGxpZ2h0LXN0 YXJ0CiAJCQkJICAgOzsgRXh0ZW5kIGJvdW5kIHRvIG1hdGNoIHdob2xlIHN0cmluZyBhdCBwb2lu dAogCQkJCSAgICgxLSAobGVuZ3RoIGlzZWFyY2gtbGF6eS1oaWdobGlnaHQtbGFzdC1zdHJpbmcp KSkKLQkJCSAgICAgICh3aW5kb3ctZW5kKSkpCisJCQkgICAgICAoaWYgbGF6eS1oaWdobGlnaHQt bWF4LWF0LWEtdGltZSAod2luZG93LWVuZCkgKHBvaW50LW1heCkpKSkKIAkJICAgICAobWF4IChv ciBpc2VhcmNoLWxhenktaGlnaGxpZ2h0LXN0YXJ0LWxpbWl0IChwb2ludC1taW4pKQogCQkJICAo aWYgaXNlYXJjaC1sYXp5LWhpZ2hsaWdodC13cmFwcGVkCiAJCQkgICAgICAoLSBpc2VhcmNoLWxh enktaGlnaGxpZ2h0LWVuZAogCQkJCSA7OyBFeHRlbmQgYm91bmQgdG8gbWF0Y2ggd2hvbGUgc3Ry aW5nIGF0I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