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 16:39:29 +0300 Message-ID: <83siz9xsdq.fsf@gnu.org> References: <83a9ltun54.fsf@gnu.org> <837ggxukjt.fsf@gnu.org> <83hafx3wzz.fsf@gnu.org> <83txjpxue1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1374327668 3649 80.91.229.3 (20 Jul 2013 13:41:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Jul 2013 13:41:08 +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 15:41: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 1V0XPI-0002Vc-Pw for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2013 15:41:08 +0200 Original-Received: from localhost ([::1]:38819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0XPI-0006fa-DO for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2013 09:41:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0XPF-0006fT-0z for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 09:41:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0XPE-0005Fy-65 for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 09:41:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0XPE-0005Fu-2Q for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 09:41:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V0XPD-0002lU-05 for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2013 09:41:03 -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 13:41: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.137432761910550 (code B ref 14841); Sat, 20 Jul 2013 13:41:02 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 20 Jul 2013 13:40:19 +0000 Original-Received: from localhost ([127.0.0.1]:39326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0XOS-0002jv-6a for submit@debbugs.gnu.org; Sat, 20 Jul 2013 09:40:18 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:61656) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0XOC-0002iv-Ru for 14841@debbugs.gnu.org; Sat, 20 Jul 2013 09:40:02 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MQ800300LSWRG00@a-mtaout23.012.net.il> for 14841@debbugs.gnu.org; Sat, 20 Jul 2013 16:39:15 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ8003XELXFLGA0@a-mtaout23.012.net.il>; Sat, 20 Jul 2013 16:39:15 +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:76530 Archived-At: > From: Juanma Barranquero > Date: Sat, 20 Jul 2013 15:01:05 +0200 > Cc: 14841@debbugs.gnu.org > > On Sat, Jul 20, 2013 at 2:56 PM, Eli Zaretskii wrote: > > >> 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". > > I don't understand. This is exactly the original report: > > emacs -Q > M-: (setq *f* (make-frame '((visibility . nil)))) > M-: (frame-visible-p *f*) > => t In your example, it said "nil", not "t": ELISP> (progn (setq *f* (make-frame '((visibility . icon)))) (frame-visible-p *f*)) nil And that's what I get after the change mentioned previously. > > I think this is to be expected (and unrelated to this bug). > > I said "two different bugs", so yes, unrelated. As for being expected, why? Because frame-visible-p makes no sense as long as the frame was not displayed. (In what sense is an un-displayed frame "visible"?)