From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14841: Frames created invisible have their visibility parameter set to t Date: Fri, 26 Jul 2013 09:31:06 +0300 Message-ID: <83k3kdvnmd.fsf@gnu.org> References: <83a9ltun54.fsf@gnu.org> <837ggxukjt.fsf@gnu.org> <83hafx3wzz.fsf@gnu.org> <83vc45xuht.fsf@gnu.org> <83li4uv3en.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1374820329 14579 80.91.229.3 (26 Jul 2013 06:32:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2013 06:32:09 +0000 (UTC) Cc: 14841@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 26 08:32:09 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V2bZR-0003qU-1k for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 08:32:09 +0200 Original-Received: from localhost ([::1]:33439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2bZQ-0007CN-C6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 02:32:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2bZL-0007AE-Pw for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 02:32:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2bZK-0001ju-VL for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 02:32:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2bZK-0001jq-Rw for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 02:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V2bZJ-0004P2-Sv for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 02:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2013 06:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14841 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 14841-submit@debbugs.gnu.org id=B14841.137482028116829 (code B ref 14841); Fri, 26 Jul 2013 06:32:01 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 26 Jul 2013 06:31:21 +0000 Original-Received: from localhost ([127.0.0.1]:50360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2bYe-0004NK-T6 for submit@debbugs.gnu.org; Fri, 26 Jul 2013 02:31:21 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:40510) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2bYZ-0004Mn-P3 for 14841@debbugs.gnu.org; Fri, 26 Jul 2013 02:31:17 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MQJ007005VEI200@a-mtaout22.012.net.il> for 14841@debbugs.gnu.org; Fri, 26 Jul 2013 09:31:08 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQJ0071V63WG330@a-mtaout22.012.net.il>; Fri, 26 Jul 2013 09:31:08 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76671 Archived-At: > From: Juanma Barranquero > Date: Thu, 25 Jul 2013 22:17:19 +0200 > Cc: 14841@debbugs.gnu.org > > > (let ((f (selected-frame)) > > (f1 (make-frame))) > > (sit-for 0) > > (delete-frame f)) > > I can add a (sit-for 0). But then, we have exchanged one problem with > frames not being entirely up-to-date before redisplay with another > similar case. I don't think it's similar. In the above, we simply wait for the frame to become _really_ live when the window manager does its thing. > > IOW, it first creates a frame that is invisible, and only then applies > > the visibility spec. So you must wait for the frame to come up before > > you can delete the initial frame. > > Yes, but this does not happen without your patch... But my patch solves another problem...