all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gordon Beaton <not@for.email>
Subject: Re: scroll behaviour during query-replace etc
Date: 11 Oct 2004 08:39:08 +0200	[thread overview]
Message-ID: <416a2a8c@news.wineasy.se> (raw)
In-Reply-To: mailman.2196.1097282004.2017.help-gnu-emacs@gnu.org

On Fri, 8 Oct 2004 12:24:32 -0700, Greg Hill wrote:
> Come to think of it, you might like this better.
> 
> (defadvice search-forward (after view-context compile activate disable)
>    (if (< (count-lines (point) (window-end)) scroll-margin)
>        (recenter (- scroll-margin))))

Perfect, thanks!

/gordon

-- 
[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e

      parent reply	other threads:[~2004-10-11  6:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08  9:28 scroll behaviour during query-replace etc Gordon Beaton
2004-10-08 19:24 ` Greg Hill
     [not found] ` <mailman.2196.1097282004.2017.help-gnu-emacs@gnu.org>
2004-10-11  6:39   ` Gordon Beaton [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=416a2a8c@news.wineasy.se \
    --to=not@for.email \
    /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.