From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: Automatically scrolling message buffer. Date: Tue, 17 Mar 2009 16:33:50 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <87zlfk43sh.fsf@kobe.laptop> References: <87d4cgle46.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237322505 9356 80.91.229.12 (17 Mar 2009 20:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Mar 2009 20:41:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 17 21:43:02 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ljg7p-0007WK-CX for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 21:43:01 +0100 Original-Received: from localhost ([127.0.0.1]:51320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljg6S-0006Qe-Rl for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 16:41:36 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!newsfeed.straub-nv.de!nuzba.szn.dk!news.szn.dk!pnx.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (berkeley-unix) Cancel-Lock: sha1:0HjQ4Tmk4rJNzeKip1zBkNtFHuE= Original-Lines: 28 Original-NNTP-Posting-Host: 77.49.245.96 Original-X-Trace: news.sunsite.dk DXC=n=Q0Yo745L^MjgbH?lJH1Tkjl`ie6llbf]PoHSMBf]K6Q[b Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:167731 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63027 Archived-At: On Tue, 17 Mar 2009 12:32:03 +0100, Nikolaj Schumacher wrote: >Giorgos Keramidas wrote: >> This might start becoming *very* annoying if you really want to scroll >> upwards through a large *Messages* buffer. > > That's why I included: > (not (equal window (selected-window))) Ah, my apologies then. I misunderstood what you were trying to do :) >> A slightly less intrusive >> way to do something similar would be to add a hook that fires up every >> time you switch _to_ the *Messages* buffer. > > But that's not what I want. I wanted to observe messages as they occur. This is a good idea for watching other sorts of non-selected windows too. Is there any chance we can convince you to write a minor mode that can be enabled on visible but not active windows and fires up a timer after a tunable interval? This way we could, for example, enable `auto-scroll-minor-mode' on a buffer, and let it take over. The `auto-scroll-minor-mode' could consult a buffer-local variable like `auto-scroll-timeout' every time it is enabled and set up a timer that would scroll the specific buffer. That would be very useful for other things too, i.e. watching log files :)