all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.