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: Mon, 11 Nov 2013 11:08:43 -0800 (PST) Message-ID: <60b6139e-c202-4a49-b58b-4efd22ce365a@default> References: <51df60b6-e152-4989-a27e-70dadb9b7474@default> <00b78895-dc80-4dc1-9f0b-8f5485da6155@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 1384196963 31854 80.91.229.3 (11 Nov 2013 19:09:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 19:09:23 +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 Mon Nov 11 20:09:26 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 1VfwrW-0007Rj-2v for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 20:09:26 +0100 Original-Received: from localhost ([::1]:39208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfwrU-00073n-Jl for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 14:09:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfwrJ-0006qP-2D for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 14:09:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vfwr9-0001ZN-56 for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 14:09:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfwr9-0001ZI-1J for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 14:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vfwr8-0007UK-H0 for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 14:09: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: Mon, 11 Nov 2013 19:09: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.138419693728774 (code B ref 15839); Mon, 11 Nov 2013 19:09:02 +0000 Original-Received: (at 15839) by debbugs.gnu.org; 11 Nov 2013 19:08:57 +0000 Original-Received: from localhost ([127.0.0.1]:47336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfwr3-0007U1-5c for submit@debbugs.gnu.org; Mon, 11 Nov 2013 14:08:57 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:16614) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfwr0-0007Tl-CD for 15839@debbugs.gnu.org; Mon, 11 Nov 2013 14:08:54 -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 rABJ8l47030790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Nov 2013 19:08:47 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rABJ8j8L023643 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Nov 2013 19:08:45 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rABJ8iBH023616; Mon, 11 Nov 2013 19:08:44 GMT In-Reply-To: <00b78895-dc80-4dc1-9f0b-8f5485da6155@default> 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:80271 Archived-At: > The more important bugs are these: >=20 > a. Scrolling backwards is not limited currently (it should be > unlimited only when the option value is `unlimited', i.e., after the > requested enhancement). >=20 > 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?). >=20 > Bug (b) is the most serious, but I'm guessing that (b) and (a) are > due to the same code problem. (BTW, (b) is the case symmetrically: if you start searching backward and then scroll up (in the search direction) and then scroll down, you get the same extension of `isearch-overlay' across the whole window.) I've tried to look into (b) a bit. I tried adding some code that calls `isearch-dehighlight' during scrolling and `isearch-highlight' when finished scrolling, just to see. I added calls to `message' to print the value of `isearch-overlay' at various points. It turns out that (because of the call I added to dehighlight) the overlay is properly deleted (overlay in no buffer) but it is still showing. (And it extends across the window.) I tried adding (redisplay t), but that had no effect. So this is apparently a case where a deleted overlay is showing. What's a way to prevent this phenomenon?