From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#14841: Frames created invisible have their visibility parameter set to t Date: Thu, 25 Jul 2013 22:17:19 +0200 Message-ID: References: <83a9ltun54.fsf@gnu.org> <837ggxukjt.fsf@gnu.org> <83hafx3wzz.fsf@gnu.org> <83vc45xuht.fsf@gnu.org> <83li4uv3en.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1374783553 5929 80.91.229.3 (25 Jul 2013 20:19:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jul 2013 20:19:13 +0000 (UTC) Cc: 14841@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 25 22:19:14 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 1V2S0D-0002RY-RJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 22:19:09 +0200 Original-Received: from localhost ([::1]:46784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2S0D-0007yM-Cv for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2013 16:19:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2S09-0007uk-0U for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 16:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2S06-0005Do-U0 for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 16:19:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2S06-0005Df-Qb for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 16:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V2S06-0002Ka-Ab for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 16:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2013 20:19:02 +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.13747834878567 (code B ref 14841); Thu, 25 Jul 2013 20:19:02 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 25 Jul 2013 20:18:07 +0000 Original-Received: from localhost ([127.0.0.1]:49767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2RzC-0002E7-U8 for submit@debbugs.gnu.org; Thu, 25 Jul 2013 16:18:07 -0400 Original-Received: from mail-ee0-f41.google.com ([74.125.83.41]:35024) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2RzB-0002DC-8H for 14841@debbugs.gnu.org; Thu, 25 Jul 2013 16:18:05 -0400 Original-Received: by mail-ee0-f41.google.com with SMTP id d17so645167eek.14 for <14841@debbugs.gnu.org>; Thu, 25 Jul 2013 13:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=jX7U72Ny0AVeBAq3yDx2ZmnmjGdcs1kOdIEx6g5dnZ0=; b=RH4el1tBPnLPEzrkozbZ4RsSfgtFMRn7B7Xsrdyc7L4AgDGBqA65m8k2hzNCSIOEk4 Dhx6DML4rYSJZwrg1R/SVRzCCTXkL33D4awa/N0GMAut3/dmjK1PR6XwZLkrDC6Rq67g DJZM5qfR5f9rgX+ZvuQ45btbvLmtabWvXbFqR0PBuf/PsW5F2qrcas5n3DUCWoQDWNnf HO+1RQ3PDSkGo5d0Er711MsMsXrnMcwLodcm/HrnEshd5ZcYXHX8eEEvwp7W46pKT1od /Q83jYIr59ghG5+Yga51RCJF0b8sDxN3qhwUgIn0XlcX58oSXVFcWxhwAM/ucA5Gu0U+ iFqA== X-Received: by 10.15.76.71 with SMTP id m47mr43664018eey.70.1374783479387; Thu, 25 Jul 2013 13:17:59 -0700 (PDT) Original-Received: by 10.15.23.70 with HTTP; Thu, 25 Jul 2013 13:17:19 -0700 (PDT) In-Reply-To: <83li4uv3en.fsf@gnu.org> 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:76657 Archived-At: On Thu, Jul 25, 2013 at 9:35 PM, Eli Zaretskii wrote: > Btw, this trivial modification will avoid the problem: > > (let ((f (selected-frame)) > (f1 (make-frame))) > (make-frame-visible f1) > (delete-frame f)) When desktop restores frames, it first creates the frames being restored, and only then deletes the existing ones. And yet I see the error. > as will this: > > (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. > 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... J