[parent not found: <E1Asu56-0003mj-Nu@monty-python.gnu.org>]
* Re: messages that behave like tail -f ?
[not found] <E1Asu56-0003mj-Nu@monty-python.gnu.org>
@ 2004-02-17 6:22 ` Joe Corneli
0 siblings, 0 replies; 3+ messages in thread
From: Joe Corneli @ 2004-02-17 6:22 UTC (permalink / raw)
Cc: lawrence mitchell
You could add a call to `recenter' to window-scroll-functions in
the *Messages* buffer.
e.g.
(with-current-buffer (get-buffer "*Messages*")
(add-hook 'window-scroll-functions (lambda () (recenter -1))))
This is elegant, but there are two problems with it. First,
Each [window-scroll-function] is called with *two arguments*,
the window and its new display-start position.
Second, if I put in "dummy" arguments, viz.,
(with-current-buffer (get-buffer "*Messages*")
(add-hook 'window-scroll-functions (lambda (arg1 arg2)
(recenter -1))))
(this might be surprising?) -- it only works when *Messages* is the
current buffer (which isn't a great improvement on the default
behavior).
^ permalink raw reply [flat|nested] 3+ messages in thread
* messages that behave like tail -f ?
@ 2004-02-16 21:04 Joe Corneli
0 siblings, 0 replies; 3+ messages in thread
From: Joe Corneli @ 2004-02-16 21:04 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-17 6:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.2524.1076965567.928.help-gnu-emacs@gnu.org>
2004-02-17 0:18 ` messages that behave like tail -f ? lawrence mitchell
[not found] <E1Asu56-0003mj-Nu@monty-python.gnu.org>
2004-02-17 6:22 ` Joe Corneli
2004-02-16 21:04 Joe Corneli
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.