From: Erik Naggum

Subject: Re: emacs interface - hook to run elisp functions when ACL prompt is received?

Date: 1999-1-30 22:47

* Larry Troxler <westnet.com at lt>
| HOWEVER, I'd like to go the next step now and figure out how to have
| this done automatically everytime eli detects that the Lisp prompt has
| been received.

  since I think your is a fairly legitimate request, I have gone through
  the Emacs and ELI sources to see if I could tweak something, but I did
  not find what you are asking for.  I found something I didn't know about,
  though: a huge value for SCROLL-CONSERVATIVELY does what you want, or
  very nearly so.

  I don't know if this variable is in XEmacs, but see if it is and then try
  something like this:

(setq scroll-conservatively 1000)

  most of the time, this will work.  if the amount of output is very large
  and instantaneous, Emacs will still recenter, but I'm obtaining terminal-
  like behavior in shell windows, etc, and it feels oddly ... _right_.  :)

#:Erik