unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Josh Stratton <strattonbrazil@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: context around incremental search
Date: Wed, 6 Nov 2013 10:21:16 -0800 (PST)	[thread overview]
Message-ID: <d1290ddb-1457-4ecc-b2ad-09964d500623@default> (raw)
In-Reply-To: <CAPVmgLjZRpmUFGd+XOZ4MHh7dBmfkj0sz51p6r0+O9u5L_QudA@mail.gmail.com>

> Is there a way to restrict the incremental search such that a
> selected item is always centered?  A lot of times I'm search for
> text and the item I jump to is at the bottom of the window and
> I'd like to see stuff under it.  This seems to happen a lot
> depending on how code is laid out.  For example, if I'm looking
> at how a member variable is set in a big file of classes, the
> search item is usually at the bottom of the screen and without
> leaving incremental search, I can't tell what's below it (using
> arrow keys or Ctrl-L to center the line).

Yes, set option `isearch-allow-scroll' to non-nil.



  reply	other threads:[~2013-11-06 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 18:13 context around incremental search Josh Stratton
2013-11-06 18:21 ` Drew Adams [this message]
2013-11-06 19:23   ` Peter Dyballa
2013-11-06 19:44     ` Drew Adams
2013-11-06 19:57       ` Peter Dyballa
2013-11-07 22:20         ` Josh Stratton
     [not found]         ` <mailman.5523.1383862856.10748.help-gnu-emacs@gnu.org>
2013-11-08 18:58           ` jpkotta
2013-11-06 19:08 ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1290ddb-1457-4ecc-b2ad-09964d500623@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=strattonbrazil@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).