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#15839: 24.3.50; `isearch-allow-scroll': be able to scroll point off screen temporarily Date: Sun, 10 Nov 2013 08:52:00 -0800 (PST) Message-ID: <00b78895-dc80-4dc1-9f0b-8f5485da6155@default> References: <51df60b6-e152-4989-a27e-70dadb9b7474@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 1384102401 20594 80.91.229.3 (10 Nov 2013 16:53:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2013 16:53:21 +0000 (UTC) Cc: 15839@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 10 17:53:24 2013 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 1VfYGK-0003vm-07 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2013 17:53:24 +0100 Original-Received: from localhost ([::1]:60881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfYGJ-0002KA-GX for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2013 11:53:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfYG7-0002J1-L5 for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:53:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfYFz-000205-1P for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:53:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfYFy-0001zz-UG for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VfYFy-0007uN-B2 for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Nov 2013 16:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15839-submit@debbugs.gnu.org id=B15839.138410233030331 (code B ref 15839); Sun, 10 Nov 2013 16:53:02 +0000 Original-Received: (at 15839) by debbugs.gnu.org; 10 Nov 2013 16:52:10 +0000 Original-Received: from localhost ([127.0.0.1]:45725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfYF7-0007t8-73 for submit@debbugs.gnu.org; Sun, 10 Nov 2013 11:52:09 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:45889) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfYF5-0007sm-PQ for 15839@debbugs.gnu.org; Sun, 10 Nov 2013 11:52:08 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rAAGq16c029867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 10 Nov 2013 16:52:01 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAAGpxXO014831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Nov 2013 16:51:59 GMT Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAAGpwDP025120; Sun, 10 Nov 2013 16:51:58 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] 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: 140.186.70.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:80223 Archived-At: > > That restriction is general for Emacs, and it generally makes > > sense. >=20 > It makes sense, but it would also be desirable to make it > customizable. I agree. > > It does not necessarily make sense during Isearch, however. Why? >=20 > To some extent I can see that it is slightly different in the > Isearch context. I'm not sure if it is sufficiently different to > justify changing the default in Isearch, but I'm not necessarily > opposed to it either. No need to change the default. `isearch-allow-scroll' should default to nil (less confusing, probably). The only change for it would be to provide a special value, e.g., `unlimited', which would not impose a limit on how much you can scroll. (Scrolling beyond the current limit when the value is `unlimited' should lazy-highlight whatever is shown, and resuming search should resume from the search hit current before scrolling. IOW, scrolling should not change which search hit is current.) > IOW, I agree with both feature requests. Great. > > 2. What's more, the lazy highlighting of search hits is even more > > limited currently. When you scroll to the current limit, there > > can be lots of search hits that are not highlighted. >=20 > Yes, that's a bug. I don't see that all the time, BTW. I don't have a recipe to repro it. The more important bugs are these: a. Scrolling backwards is not limited currently (it should be unlimited only when the option value is `unlimited', i.e., after the requested enhancement). b. Forward scrolling after backward scrolling throws everything off currently: the highlighting that should apply only to the current search hit (face `isearch') is applied to the entire window (buffer?). Bug (b) is the most serious, but I'm guessing that (b) and (a) are due to the same code problem.