all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: context around incremental search
Date: Wed, 06 Nov 2013 20:08:08 +0100	[thread overview]
Message-ID: <87d2mdic13.fsf@web.de> (raw)
In-Reply-To: CAPVmgLjZRpmUFGd+XOZ4MHh7dBmfkj0sz51p6r0+O9u5L_QudA@mail.gmail.com

Josh Stratton <strattonbrazil@gmail.com> writes:

> 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.

As Drew said, setting `isearch-allow-scroll' non-nil will enable you to
scroll yourself without leaving isearch.

If you want automatic scrolling, consider binding `scroll-margin' to
something > 0.


Regards,

Michael.




      parent reply	other threads:[~2013-11-06 19:08 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
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 [this message]

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

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

  git send-email \
    --in-reply-to=87d2mdic13.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.