From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: context around incremental search Date: Wed, 6 Nov 2013 11:44:14 -0800 (PST) Message-ID: <3fecd556-1369-4cc4-87d2-667c17427b21@default> References: <91DD3E81-3B0A-40EF-8D69-967D483A900C@Web.DE> 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 1383767095 24486 80.91.229.3 (6 Nov 2013 19:44:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2013 19:44:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Josh Stratton To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 06 20:44:59 2013 Return-path: Envelope-to: geh-help-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 1Ve924-0006uw-5V for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Nov 2013 20:44:52 +0100 Original-Received: from localhost ([::1]:35734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve923-0002EU-MS for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Nov 2013 14:44:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve91j-0002E9-NX for help-gnu-emacs@gnu.org; Wed, 06 Nov 2013 14:44:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve91b-0006AC-5c for help-gnu-emacs@gnu.org; Wed, 06 Nov 2013 14:44:31 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:33027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve91a-00069y-VB for help-gnu-emacs@gnu.org; Wed, 06 Nov 2013 14:44:23 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rA6JiF46007032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Nov 2013 19:44:16 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rA6JiEuw004119 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Nov 2013 19:44:15 GMT Original-Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rA6JiERQ000671; Wed, 6 Nov 2013 19:44:14 GMT In-Reply-To: <91DD3E81-3B0A-40EF-8D69-967D483A900C@Web.DE> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94375 Archived-At: > > Yes, set option `isearch-allow-scroll' to non-nil. >=20 > I don't think that's sufficient. I have this variable set to `t' and > I saw found texts sticking to the bottom. Michael's hint needs to be > follwed. Then there are few lines kept to the bottom. Sufficient for what? And what does your last sentence mean? Please give a recipe or description, to explain what you mean. The point of the option is to _allow_ scrolling commands/keys. It should be sufficient to set the option to non-nil, in order to let you use `C-l', `C-v', etc. without exiting Isearch. Is that not what you see? What Michael mentioned was something different, which has to do with when the window is automatically recentered, based on how close point is to the window top or bottom. He was right to mention it, in addition to `isearch-allow-scroll'. The OP was a bit ambiguous. Both things were hinted at: * "I can't tell what's below it (using arrow keys or Ctrl-L to center the line)." IOW, allow scrolling commands (i.e., on demand). * "such that a selected item is always centered" IOW, presumably _automatic_ scrolling to keep point in the center. Two different behaviors. Depends what one wants. - Drew, who toggles allowing scrolling on/off during Isearch, and who sets `scroll-margin' to 0