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, 11 Jul 2013 18:54:53 +0200 Message-ID: References: <83a9ltun54.fsf@gnu.org> <837ggxukjt.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 1373561773 31338 80.91.229.3 (11 Jul 2013 16:56:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 16:56: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 11 18:56:12 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 1UxKA5-0005Ir-Mp for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 18:56:09 +0200 Original-Received: from localhost ([::1]:44010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxKA5-0005vZ-BO for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 12:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxKA0-0005qz-Bl for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxK9y-0007gg-Qw for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:56:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxK9y-0007gc-N0 for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxK9y-0004Au-4L for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 12:56: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, 11 Jul 2013 16:56: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.137356174416002 (code B ref 14841); Thu, 11 Jul 2013 16:56:02 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 11 Jul 2013 16:55:44 +0000 Original-Received: from localhost ([127.0.0.1]:48254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxK9f-00049z-Nk for submit@debbugs.gnu.org; Thu, 11 Jul 2013 12:55:44 -0400 Original-Received: from mail-ee0-f41.google.com ([74.125.83.41]:55883) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxK9b-00049a-Qe for 14841@debbugs.gnu.org; Thu, 11 Jul 2013 12:55:41 -0400 Original-Received: by mail-ee0-f41.google.com with SMTP id d17so5707476eek.0 for <14841@debbugs.gnu.org>; Thu, 11 Jul 2013 09:55:34 -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=3J3zBBDBLEN2LqxfJhwOZsU2gYs9DOjmG2ZsEaf/6Q0=; b=K24G3z939GVACcyWTnnRTraO4S0hm7uKrGeGmjMhoI1XvJncBWKcsGNFfessuo02BU W4gVCn05jloqOJDmLHD4AQ0yR6X8Ly+aGpj5zejZnEl9TYtxcJkL3b+D3lvX1EZWssA4 rA3TfM2gBquDkr2T+5xTCSLWk9M/+/iMKX76LG6e3XQZyr3R/ktN/6vp5bMMsKoPuID8 cP4eQnfn57ElHIjnn6PHgchHTLSYmlpbcrWEsvQ/r3AYJrAZ7RRauyVauoz0T5YZZljE 0sZBz6eBWqRMWoz6ow1+LekBuvZSkEfZT0kDyI2wJwWzwRDrMqEf9C3TS84mMLLTwHPH XcUw== X-Received: by 10.15.76.71 with SMTP id m47mr42103389eey.70.1373561733998; Thu, 11 Jul 2013 09:55:33 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Thu, 11 Jul 2013 09:54:53 -0700 (PDT) In-Reply-To: <837ggxukjt.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:76236 Archived-At: On Thu, Jul 11, 2013 at 6:29 PM, Eli Zaretskii wrote: > But it doesn't say anything about frames created invisible. It talks > about frames that are visible, but obscured. Yes. The code that decides that a frame is "visible, but obscured" could be interpreting a just created invisible frame as obscured. That's what I though. Seems I was wrong. > Can you provide a recipe to reproduce this, starting with "emacs -Q"? My IELM example was from emacs -Q, but OK: emacs -Q M-: (make-frame '((visibility))) M-: (mapcar #'frame-visible-p (frame-list)) => (t t) M-: (make-frame-invisible (make-frame)) M-: (mapcar #'frame-visible-p (frame-list)) => (nil t t) M-: (setq f (make-frame)) At this point, C-x 5 o does not take you to the previous frame. Presumably, because Emacs gets confused that some previous frame, which is invisible, is "visible" because its visibility parameter says so. Then Select the initial frame. M-: (make-frame-invisible f) M-: (mapcar #'frame-visible-p (frame-list)) => (nil nil t t)