From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: [Stephen.Berman@gmx.net: Re: redisplay] Date: Tue, 24 Apr 2007 00:12:04 +0200 Message-ID: <87d51u211n.fsf@escher.local.home> References: <87mz0z5dux.fsf@stupidchicken.com> <462D059B.7020001@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1177366462 22446 80.91.229.12 (23 Apr 2007 22:14:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 22:14:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 24 00:14:15 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 1Hg6nU-0001yc-QA for ged-emacs-devel@m.gmane.org; Tue, 24 Apr 2007 00:14:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg6sv-0007dc-UO for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 18:19:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg6sa-0007WH-GV for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:19:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hg6sY-0007Vk-Fr for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:19:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg6sX-0007Va-U2 for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:19:25 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hg6n5-000301-TA for emacs-devel@gnu.org; Mon, 23 Apr 2007 18:13:48 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hg6mP-0001Cc-Je for emacs-devel@gnu.org; Tue, 24 Apr 2007 00:13:06 +0200 Original-Received: from i577bceda.versanet.de ([87.123.206.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 00:13:05 +0200 Original-Received: from Stephen.Berman by i577bceda.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 00:13:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bceda.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:69880 Archived-At: On Mon, 23 Apr 2007 21:14:35 +0200 Jan Djärv wrote: > 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. My guess is that it just makes the needed X > calls and then returns. For some reason or another, the dialog blocks > the handling of other X events. Can the OP try to move the dialog > around a bit and see if the frame below it is redrawn at all? I'm not the OP but I followed up with the observation of different behaviors depending on how the sexp is evalled. When I first tested, I got consistent results, but after reading your post I tried it again, both with -Q and with my initializations, and now found the results to be inconsistent, i.e., sometimes I got a fully redrawn frame and sometimes a blank frame (though when it was blank, moving the dialog frame did not cause redrawing of the blank frame), regardless of how I evalled the sexp. I guess this supports your suspicion about timing. Steve Berman