From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [Stephen.Berman@gmx.net: Re: redisplay] Date: Mon, 23 Apr 2007 11:07:02 -0400 Message-ID: <87mz0z5dux.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177340855 29168 80.91.229.12 (23 Apr 2007 15:07:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 15:07:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 23 17:07:25 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 1Hg08O-0001G0-D5 for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 17:07:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg0Dn-0006wN-IP for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 11:12:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg0Dj-0006w7-IH for emacs-devel@gnu.org; Mon, 23 Apr 2007 11:12:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg0Di-0006vr-VC for emacs-devel@gnu.org; Mon, 23 Apr 2007 11:12:50 -0400 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hg08J-0003wK-21; Mon, 23 Apr 2007 11:07:15 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l3NF7D2k009556; Mon, 23 Apr 2007 11:07:13 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l3NF735f002279; Mon, 23 Apr 2007 11:07:04 -0400 (EDT) Original-Received: from localhost (SYDNEYPACIFIC-TWO-EIGHTY-SEVEN.MIT.EDU [18.95.6.32]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l3NF73OR020856; Mon, 23 Apr 2007 11:07:03 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1Hg086-000225-00; Mon, 23 Apr 2007 11:07:02 -0400 In-Reply-To: (Richard Stallman's message of "Sun\, 22 Apr 2007 23\:48\:15 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 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:69861 Archived-At: Richard Stallman writes: > Would someone please debug this, then ack? > > From: Stephen Berman > Subject: Re: redisplay > To: emacs-pretest-bug@gnu.org > > On Sat, 21 Apr 2007 20:47:19 -0400 Richard Stallman wrote: > >> (progn (new-frame) >> (redisplay t) >> (x-popup-dialog t '("Foo" ("Bar" . 1)))) >> >> I tried this but it didn't fail -- the new frame was not empty. > > In my Emacs (GNU Emacs 22.0.98.2 (i686-pc-linux-gnu, GTK+ Version > 2.10.6) of 2007-04-20 on escher) I see two behaviors: > > 1. Evalling the above sexp in *scratch* with C-j or in any buffer with > M-: results in what the OP reported: "produces a blank frame while the > popup dialog is active, i.e., (redisplay t) fails to wait for > redisplay to finish." > > 2. Evalling the sexp with C-x C-e in any buffer results in what RMS > reported. I believe this is because x-popup-dialog is handled with a GTK dialog when you build under GTK, instead of using the Emacs redisplay engine. So the behaviors are slightly different. I don't think this "problem"---if it's really a problem---is serious, and it certainly shouldn't block the Emacs 22 release.