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: Fri, 8 Nov 2013 15:02:42 -0800 (PST) Message-ID: <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 1383953478 27914 80.91.229.3 (8 Nov 2013 23:31:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2013 23:31:18 +0000 (UTC) To: 15839@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 09 00:31:21 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 1VevWJ-0005mc-EU for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2013 00:31:19 +0100 Original-Received: from localhost ([::1]:51843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VevWJ-0006W2-2X for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Nov 2013 18:31:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VevSH-0004Cm-UK for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2013 18:31:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VevJS-0002ls-A5 for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2013 18:21:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VevJS-0002ll-6M for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2013 18:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VevJS-0002XD-0P for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2013 18:18: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: Fri, 08 Nov 2013 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13839526329679 (code B ref -1); Fri, 08 Nov 2013 23:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Nov 2013 23:17:12 +0000 Original-Received: from localhost ([127.0.0.1]:42819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VevIe-0002W2-14 for submit@debbugs.gnu.org; Fri, 08 Nov 2013 18:17:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54408) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VevIb-0002Vn-Ao for submit@debbugs.gnu.org; Fri, 08 Nov 2013 18:17:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VevEe-00016Z-Dw for submit@debbugs.gnu.org; Fri, 08 Nov 2013 18:17:04 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VevEe-00016Q-B2 for submit@debbugs.gnu.org; Fri, 08 Nov 2013 18:13:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VevDa-00025b-75 for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2013 18:13:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vev4h-0005uP-BX for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2013 18:06:53 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:35106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vev4h-0005uJ-4k for bug-gnu-emacs@gnu.org; Fri, 08 Nov 2013 18:02:47 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rA8N2iIr015887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Nov 2013 23:02:45 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rA8N2ikn012882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Nov 2013 23:02:44 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rA8N2hO5002516 for ; Fri, 8 Nov 2013 23:02:43 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-Spam-Score: -4.0 (----) 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:80164 Archived-At: 1. Non-nil `isearch-allow-scroll' lets you use a scroll command (e.g. `C-v') without exiting Isearch. Unfortunately, this is coupled with the hard-coded behavior that you cannot scroll far enough in either direction that point would be moved off screen. That restriction is general for Emacs, and it generally makes sense. It does not necessarily make sense during Isearch, however. Why? Because the search position is one thing, and it is not lost. What you might want to look at temporarily is another thing. It's a bit like using `C-SPC' in a buffer, scrolling up a couple of screenfuls to look at something, and then using `C-u C-SPC' to return. But in Isearch there is no need for `C-SPC' or `C-u C-SPC': the search position is recorded. Search resumes from that same position, no matter how far away one might have scrolled. The enhancement request is to let users choose whether non-nil `isearch-allow-scroll' should limit you to scrolling only enough to keep point in the window or should not limit you. This could be done by recognizing different non-nil values. 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. One of the reasons for scrolling is to see what search hits lie beyond the currently shown text. This is already partly defeated, in that even when you scroll some of the hits are not highlighted. This seems more like a bug, but if the enhancement of #1 is done then it should (it needs to) take care of #2 as well: Whatever text is shown should have all of its search hits highlighted with lazy highlighting. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-10-19 on LEG570 Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG= =3D1'