help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: context around incremental search


From: Josh Stratton
Subject: Re: context around incremental search
Date: Thu, 7 Nov 2013 14:20:31 -0800

Thanks everyone.  Both those settings will be very helpful.

(setq isearch-allow-scroll 1)
(setq scroll-margin 2)



On Wed, Nov 6, 2013 at 11:57 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

>
> Am 06.11.2013 um 20:44 schrieb Drew Adams:
>
> > Sufficient for what?
>
> Sufficient for keeping some lines distance to the bottom of the buffer, in
> order to display the environment around the found text.
>
> > And what does your last sentence mean?
>
> It means that setting `isearch-allow-scroll' to non-nil allows to use C-l
> while in isearch. Additionally setting `scroll-margin' to a value N greater
> than zero allows to keep those N lines distance to the bottom of the
> buffer. I think that's what Josh is wishing.
>
> --
> Greetings
>
>   Pete
>
> "When you breath, you inspire. When you do not breath, you expire."
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]