|
From: | Francis Litterio |
Subject: | Re: CVS Emacs list-buffer-noselect calls set-window-buffer, displays every buffer briefly! |
Date: | Wed, 08 Sep 2004 11:02:57 -0400 |
User-agent: | Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) |
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 address@hidden http://world.std.com/~franl/ GPG and PGP public keys available on keyservers.
[Prev in Thread] | Current Thread | [Next in Thread] |