From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Francis Litterio Newsgroups: gmane.emacs.devel Subject: Re: CVS Emacs list-buffer-noselect calls set-window-buffer, displays every buffer briefly! Date: Sat, 04 Sep 2004 15:40:04 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <51975.217.194.34.123.1094192843.squirrel@wwws.franken.de> <4138BDFB.9080804@yahoo.com> <87oekmxw5f.fsf@eos.franken.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094327677 27735 80.91.224.253 (4 Sep 2004 19:54:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Sep 2004 19:54:37 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 04 21:54:26 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C3gcE-0001mw-00 for ; Sat, 04 Sep 2004 21:54:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3ghJ-0001Fy-Hj for ged-emacs-devel@m.gmane.org; Sat, 04 Sep 2004 15:59:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3ghC-0001Ft-5j for emacs-devel@gnu.org; Sat, 04 Sep 2004 15:59:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3ghA-0001FX-Iq for emacs-devel@gnu.org; Sat, 04 Sep 2004 15:59:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3ghA-0001FP-Fh for emacs-devel@gnu.org; Sat, 04 Sep 2004 15:59:32 -0400 Original-Received: from [192.74.137.141] (helo=TheWorld.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C3gbb-0003px-Vu for emacs-devel@gnu.org; Sat, 04 Sep 2004 15:53:48 -0400 Original-Received: from lt371-fran.theworld.com (root@shell01.theworld.com [192.74.137.71]) by TheWorld.com (8.12.8p1/8.12.8) with ESMTP id i84Jiepm028905 for ; Sat, 4 Sep 2004 15:44:42 -0400 Original-To: emacs-devel@gnu.org X-Random-Quote: Facts do not cease to exist just because they are ignored. -- Aldous Huxley (1894 - 1963) In-Reply-To: <87oekmxw5f.fsf@eos.franken.de> (Stephan Stahl's message of "04 Sep 2004 10:42:36 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26777 Stephan Stahl wrote: > Kevin Rodgers writes: > >> But you have not only selected the buffer, you have modified the >> buffer-window correspondence, and the doc string hints that you might >> have forced a redisplay: > [...] >> Does replacing (progn (set-window-buffer ...) ...) with >> (with-current-buffer (set-buffer buffer) ...) work? > > No that does not work. Inside the loop that creates the buffer list > is a (with-current-buffer buffer). The additional (set-buffer buffer) > you suggested does not make a difference. If, in order to read text from the mode line for every buffer, we must force the mode line for every buffer to be redisplayed (along with the buffer itself), then _preventing_ redisplay from happening in this code will prevent the code from reading text from the mode line of every buffer, which was its original goal. IMHO, briefly displaying every buffer is an unacceptable price to pay to be able to read the mode line for every buffer. -- Francis Litterio franl@world.std.com http://world.std.com/~franl/ GPG and PGP public keys available on keyservers.