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: Sat, 20 Jul 2013 15:56:06 +0300 Message-ID: <83txjpxue1.fsf@gnu.org> References: <83a9ltun54.fsf@gnu.org> <837ggxukjt.fsf@gnu.org> <83hafx3wzz.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1374325032 12476 80.91.229.3 (20 Jul 2013 12:57:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Jul 2013 12:57:12 +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 Sat Jul 20 14:57: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 1V0Wim-0007Gm-7u for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2013 14:57:12 +0200 Original-Received: from localhost ([::1]:47631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0Wil-0000ci-VZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2013 08:57:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0Wig-0000cO-TJ for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 08:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0Wif-00088J-Qj for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 08:57:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0Wif-000887-NH for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 08:57:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V0Wie-0000oP-NC for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 08:57:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2013 12:57: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.13743249982971 (code B ref 14841); Sat, 20 Jul 2013 12:57:02 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 20 Jul 2013 12:56:38 +0000 Original-Received: from localhost ([127.0.0.1]:39214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0WiD-0000lf-6X for submit@debbugs.gnu.org; Sat, 20 Jul 2013 08:56:38 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:46633) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0Wi8-0000kk-G5 for 14841@debbugs.gnu.org; Sat, 20 Jul 2013 08:56:33 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQ800A00JWU6O00@a-mtaout20.012.net.il> for 14841@debbugs.gnu.org; Sat, 20 Jul 2013 15:55:53 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ800AVXJX46B00@a-mtaout20.012.net.il>; Sat, 20 Jul 2013 15:55:53 +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:76527 Archived-At: > From: Juanma Barranquero > Date: Fri, 19 Jul 2013 15:04:22 +0200 > Cc: 14841@debbugs.gnu.org > > On Sun, Jul 14, 2013 at 7:02 PM, Juanma Barranquero wrote: > > > 3) If you do this instead: M-: (progn (make-frame '((visibility))) > > (mapcar #'frame-visible-p (frame-list))) , you get (nil t) > > Curiously, this seem like two different bugs: > > 1) A frame created via (make-frame '((visibility . nil))) is > invisible, but elisp thinks it is visible. How do you see that? The example below clearly says "nil", not "t". > 2) frame-visible-p cannot be trusted until the frame has been > displayed, as shown by this different example: > > ELISP> (progn (setq *f* (make-frame '((visibility . icon)))) > (frame-visible-p *f*)) > nil > ELISP> (frame-visible-p *f*) > icon I think this is to be expected (and unrelated to this bug).