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: CVS Emacs list-buffer-noselect calls set-window-buffer, displays every buffer briefly! Date: Thu, 02 Sep 2004 14:59:09 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094153057 3192 80.91.224.253 (2 Sep 2004 19:24:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2004 19:24:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 02 21:24:02 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 1C2wwV-0004ra-00 for ; Thu, 02 Sep 2004 21:08:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2x1U-0007Ug-02 for ged-emacs-devel@m.gmane.org; Thu, 02 Sep 2004 15:13:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2x0Q-0006uf-U7 for emacs-devel@gnu.org; Thu, 02 Sep 2004 15:12:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2x0O-0006rt-Fh for emacs-devel@gnu.org; Thu, 02 Sep 2004 15:12:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2x0O-0006ra-8i for emacs-devel@gnu.org; Thu, 02 Sep 2004 15:12:20 -0400 Original-Received: from [192.74.137.144] (helo=TheWorld.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2wul-0002bi-5J for emacs-devel@gnu.org; Thu, 02 Sep 2004 15:06:31 -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 i82J6SGh018653 for ; Thu, 2 Sep 2004 15:06:29 -0400 Original-To: emacs-devel@gnu.org X-Random-Quote: Don't let it end like this. Tell them I said something. -- Pancho Villa (1877 - 1923), last words 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:26732 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26732 Revision 1.67 of lisp/buff-menu.el changed list-buffers-noselect so that it now does (set-window-buffer (selected-window) buffer) once for every buffer while building the buffer menu. On my Windows XP machine, this makes Emacs briefely display every buffer for a fraction of a section before displaying the buffer menu. Very annoying! This patch fixes it without (apparently) causing a loss of functionality: --- buff-menu.el 02 Sep 2004 10:36:13 -0400 1.67 +++ buff-menu.el 02 Sep 2004 15:05:04 -0400 @@ -641,7 +641,6 @@ (save-window-excursion (setq name (buffer-name) mode (progn - (set-window-buffer (selected-window) buffer) (concat (format-mode-line mode-name) (if mode-line-process (format-mode-line mode-line-process))))