all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francis Litterio <franl@world.std.com>
Cc: Stephan Stahl <stahl@eos.franken.de>,
	Kevin Rodgers <ihs_4664@yahoo.com>,
	Richard Stallman <rms@gnu.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: CVS Emacs list-buffer-noselect calls set-window-buffer, displays every buffer briefly!
Date: Wed, 08 Sep 2004 11:02:57 -0400	[thread overview]
Message-ID: <uhdq8pzpo.fsf@world.std.com> (raw)
In-Reply-To: <E1C3pKc-0004DC-LG@fencepost.gnu.org> (Richard Stallman's message of "Sun, 05 Sep 2004 01:12:50 -0400")

I wrote:

> 1. list-buffers-noselect calls set-window-buffer once for every buffer.
> 
> 2. set-window-buffer calls the functions on window-scroll-functions.
> 
> 3. The problem only happens when I'm running ERC (the Emacs IRC client).
> 
> 4. ERC adds the function erc-scroll-to-bottom to window-scroll-functions
>    (locally in each ERC buffer).
> 
> 5. erc-scroll-to-bottom calls recenter.

In fact, erc-scroll-to-bottom calls (sit-for 0), and sit_for calls
redisplay_preserve_echo_area.

I think this solves the puzzle, though we have to decide if
list-buffers-noselect should continue to call set-window-buffer, given
that set-window-buffer calls the hooks on window-scroll-functions.
--
Francis Litterio
franl@world.std.com
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.

  parent reply	other threads:[~2004-09-08 15:02 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-05  5:12 CVS Emacs list-buffer-noselect calls set-window-buffer, displays every buffer briefly! Richard Stallman
2004-09-07 15:42 ` Francis Litterio
2004-09-08  0:22   ` Richard Stallman
2004-09-08 14:36 ` Francis Litterio
2004-09-09  4:02   ` Richard Stallman
2004-09-09 15:46     ` Francis Litterio
2004-09-08 15:02 ` Francis Litterio [this message]
2004-09-08 16:20   ` Kevin Rodgers
2004-09-08 18:21     ` Francis Litterio
2004-09-09  4:03       ` Richard Stallman
2004-09-09  8:23       ` Stephan Stahl
2004-09-09 15:41         ` Francis Litterio
2004-09-09 16:13           ` Stephan Stahl
2004-09-09 15:45         ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2004-09-02 18:59 Francis Litterio
2004-09-02 19:57 ` Stefan Monnier
2004-09-02 20:07   ` Francis Litterio
2004-09-02 20:48     ` Stefan Monnier
2004-09-03  6:27       ` Stephan Stahl
2004-09-03 11:49         ` Francis Litterio
2004-09-04  3:28           ` Richard Stallman
2004-09-03 18:54         ` Kevin Rodgers
2004-09-04  8:42           ` Stephan Stahl
2004-09-04 19:40             ` Francis Litterio
2004-09-04 22:12           ` Richard Stallman
2004-09-03 19:15       ` Francis Litterio

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=uhdq8pzpo.fsf@world.std.com \
    --to=franl@world.std.com \
    --cc=ihs_4664@yahoo.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    --cc=stahl@eos.franken.de \
    /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.