bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14841: Frames created invisible have their visibility parameter set


From: Eli Zaretskii
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Sat, 20 Jul 2013 16:39:29 +0300

> From: Juanma Barranquero <address@hidden>
> Date: Sat, 20 Jul 2013 15:01:05 +0200
> Cc: address@hidden
> 
> On Sat, Jul 20, 2013 at 2:56 PM, Eli Zaretskii <address@hidden> 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)))) <RET>
> M-: (frame-visible-p *f*) <RET>
>  => 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"?)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]