From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [Stephen.Berman@gmx.net: Re: redisplay] Date: Tue, 24 Apr 2007 16:49:34 +0200 Message-ID: <462E18FE.10301@swipnet.se> References: <87mz0z5dux.fsf@stupidchicken.com> <462D059B.7020001@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177426212 8931 80.91.229.12 (24 Apr 2007 14:50:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2007 14:50:12 +0000 (UTC) Cc: Chong Yidong , rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 24 16:50:05 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HgMLF-0000WG-8l for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2007 16:50:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgMQl-0002ED-Fe for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2007 10:55:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgMQh-0002Cf-5o for emacs-devel@gnu.org; Tue, 24 Apr 2007 10:55:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgMQf-0002Ap-EY for emacs-devel@gnu.org; Tue, 24 Apr 2007 10:55:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgMQf-0002AV-9d for emacs-devel@gnu.org; Tue, 24 Apr 2007 10:55:41 -0400 Original-Received: from av8-1-sn3.vrr.skanova.net ([81.228.9.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HgML7-0001m5-RZ; Tue, 24 Apr 2007 10:49:58 -0400 Original-Received: by av8-1-sn3.vrr.skanova.net (Postfix, from userid 502) id EC77C37EE6; Tue, 24 Apr 2007 16:49:56 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av8-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 7BB9B37E9F; Tue, 24 Apr 2007 16:49:56 +0200 (CEST) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 34E4A37E4A; Tue, 24 Apr 2007 16:49:54 +0200 (CEST) User-Agent: Thunderbird 1.5.0.10 (X11/20070221) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69943 Archived-At: Stefan Monnier skrev: >> I can't reproduce it with or without Gtk+, *scratch* or not. I suspect it >> is a timing issue in X. I don't think redisplay guarantees that all >> redisplay related events has been received and handeled by Emacs before it >> returns. > > Even if it does an XSync? XSync only guarantees that events have been sent to the server and replies have been received into Xlib. There might be stuff Emacs have left to do still. But I don't know redisplay that well to be sure. XSync is our bet bet though. > > In any case, I have regularly seen similar problems when leaving Emacs: if > I have processes running, Emacs displays a *processes* list, and because of my > pop-up-frames (and/or special-display-regexps) settings, it does it by first > popping up a new frame displaying this *processes* buffer, and then pops up > a dialog asking me whether I really want to quit. > The problem is that the *processes* frame is generally blank at that point. Hmm, I'll try to reproduce this some more. Jan D.