all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikolaj Schumacher <me@nschum.de>
To: help-gnu-emacs@gnu.org
Subject: Automatically scrolling message buffer.
Date: Tue, 17 Mar 2009 09:39:11 +0100	[thread overview]
Message-ID: <m23adclf0w.fsf@nschum.de> (raw)

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




             reply	other threads:[~2009-03-17  8:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17  8:39 Nikolaj Schumacher [this message]
2009-03-17  9:36 ` Automatically scrolling message buffer Peter Dyballa
2009-03-17 11:23   ` Nikolaj Schumacher
     [not found] <mailman.3384.1237279162.31690.help-gnu-emacs@gnu.org>
2009-03-17  8:58 ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m23adclf0w.fsf@nschum.de \
    --to=me@nschum.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.