Always stay at the bottom of the window?

Pierre Kleiber pkleiber at honlab.nmfs.hawaii.edu
Fri Jul 28 04:19:04 CEST 2000


Rich Heiberger wrote:
> 
> You are looking for one or more of the following
> (set-variable 'comint-output-filter-functions
>       'comint-postoutput-scroll-to-bottom)
> (set-variable 'comint-scroll-to-bottom-on-output 'this)
> (set-variable 'comint-scroll-show-maximum-output t)
> 
> These are buffer local.
> 

I've also been annoyed by Paul Peng's complaint, and thanks to Rich
for his suggestions.  However, to get them to work, I found I had to 
put the following in my .emacs file:

(setq-default comint-output-filter-functions
      '(comint-postoutput-scroll-to-bottom))
(setq-default comint-scroll-to-bottom-on-output 'this)
(setq-default comint-scroll-show-maximum-output t)

Note the extra parens around comint-postoutput-scroll-to-bottom
They are crucial.

- 
-----------------------------------------------------------------
Pierre Kleiber             Email: pkleiber at honlab.nmfs.hawaii.edu
Fishery Biologist                     Tel: 808 983-5399/737-7544
NOAA FISHERIES - Honolulu Laboratory         Fax: 808 983-2902
2570 Dole St., Honolulu, HI 96822-2396 
-----------------------------------------------------------------
 "God could have told Moses about galaxies and mitochondria and
  all.  But behold... It was good enough for government work."
-----------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list