unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Re: scroll behaviour during query-replace etc
@ 2004-10-08 20:39 Greg Hill
  0 siblings, 0 replies; only message in thread
From: Greg Hill @ 2004-10-08 20:39 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 236 bytes --]

Gordon,

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

--Greg

[-- Attachment #1.2: Type: text/html, Size: 751 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-08 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-08 20:39 Re: scroll behaviour during query-replace etc Greg Hill

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