From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: CVS Emacs list-buffer-noselect calls set-window-buffer, displays every buffer briefly! Date: Tue, 07 Sep 2004 20:22:15 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1094602962 18410 80.91.224.253 (8 Sep 2004 00:22:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Sep 2004 00:22:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 08 02:22:37 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 1C4qEP-0008RP-00 for ; Wed, 08 Sep 2004 02:22:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4qJe-0002Zq-Kr for ged-emacs-devel@m.gmane.org; Tue, 07 Sep 2004 20:28:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C4qJW-0002Yo-7B for emacs-devel@gnu.org; Tue, 07 Sep 2004 20:27:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C4qJU-0002Y8-OJ for emacs-devel@gnu.org; Tue, 07 Sep 2004 20:27:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4qJU-0002Xy-K9 for emacs-devel@gnu.org; Tue, 07 Sep 2004 20:27:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C4qE3-0005MK-MI for emacs-devel@gnu.org; Tue, 07 Sep 2004 20:22:15 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C4qE3-0004I1-AG; Tue, 07 Sep 2004 20:22:15 -0400 Original-To: Francis Litterio In-reply-to: (message from Francis Litterio on Tue, 07 Sep 2004 11:42:20 -0400) 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:26869 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26869 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? Redisplay only occurs when something calls the C function `redisplay' or `redisplay_preserve_echo_area'. (Neither of these fields display_count and display_time seems to have any effect on redisplay.)