unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Automatically scrolling message buffer.
@ 2009-03-17  8:39 Nikolaj Schumacher
  2009-03-17  9:36 ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolaj Schumacher @ 2009-03-17  8:39 UTC (permalink / raw)
  To: help-gnu-emacs

Hi everyone,

does anyone know a way to keep the *Messages* buffer displaying the end
of the buffer?

Currently, I do:

(defun scroll-messages ()
  (let ((window (get-buffer-window "*Messages*")))
    (and window
         (not (equal window (selected-window)))
         (with-selected-window window
           (set-window-point nil (point-max))
           (recenter -1)))))

(run-with-timer .2 .2 'scroll-messages)

Any cleaner solutions?  (Unfortunately, buffer modification hooks don't
seem to be called.)


regards,
Nikolaj Schumacher




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-17 21:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3384.1237279162.31690.help-gnu-emacs@gnu.org>
2009-03-17  8:58 ` Automatically scrolling message buffer Giorgos Keramidas
2009-03-17 11:32   ` Nikolaj Schumacher
     [not found]   ` <mailman.3400.1237289527.31690.help-gnu-emacs@gnu.org>
2009-03-17 14:33     ` Giorgos Keramidas
2009-03-17 20:49       ` Bernardo
     [not found]       ` <mailman.3434.1237323087.31690.help-gnu-emacs@gnu.org>
2009-03-17 21:31         ` Giorgos Keramidas
2009-03-17  8:39 Nikolaj Schumacher
2009-03-17  9:36 ` Peter Dyballa
2009-03-17 11:23   ` Nikolaj Schumacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).