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: Fri, 03 Sep 2004 15:15:35 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094239305 31267 80.91.224.253 (3 Sep 2004 19:21:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2004 19:21:45 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 03 21:21:36 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 1C3Jct-00028I-00 for ; Fri, 03 Sep 2004 21:21:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3Jhv-0000SE-S5 for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2004 15:26:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3Jhp-0000Rz-GX for emacs-devel@gnu.org; Fri, 03 Sep 2004 15:26:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3Jho-0000Rn-0L for emacs-devel@gnu.org; Fri, 03 Sep 2004 15:26:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3Jhn-0000Rj-TU for emacs-devel@gnu.org; Fri, 03 Sep 2004 15:26:39 -0400 Original-Received: from [192.74.137.144] (helo=TheWorld.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C3JcZ-0002pb-8H for emacs-devel@gnu.org; Fri, 03 Sep 2004 15:21:15 -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 i83JHCLw019747; Fri, 3 Sep 2004 15:17:22 -0400 Original-To: Stefan Monnier X-Random-Quote: Men have become the tools of their tools. -- Henry David Thoreau (1817 - 1862) In-Reply-To: (Stefan Monnier's message of "02 Sep 2004 16:48:49 -0400") 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:26755 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26755 Stefan Monnier wrote: > `set-window-buffer' changes the window-layout which means it changes "what > will be displayed at next redisplay" but it shouldn't call > redisplay itself. Near line 2979 of src/window.c, in function set_window_buffer() is this code: /* Update time stamps of buffer display. */ if (INTEGERP (b->display_count)) XSETINT (b->display_count, XINT (b->display_count) + 1); b->display_time = Fcurrent_time (); Could that be causing the redisplay? -- Francis Litterio franl@world.std.com http://world.std.com/~franl/ GPG and PGP public keys available on keyservers.