[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: messages that behave like tail -f ?

From: lawrence mitchell
Subject: Re: messages that behave like tail -f ?
Date: Tue, 17 Feb 2004 00:18:58 +0000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50

Joe Corneli wrote:

> How to keep the message window scrolling up as new messages appear?
> Ideally the last line of text in the *Messages* buffer would always
> be on the last line of the corresponding window.

You could add a call to `recenter' to window-scroll-functions in
the *Messages* buffer.


(with-current-buffer (get-buffer "*Messages*")
  (add-hook 'window-scroll-functions (lambda () (recenter -1))))

lawrence mitchell <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]