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: Juanma Barranquero
Subject: bug#14841: Frames created invisible have their visibility parameter set to t
Date: Sun, 14 Jul 2013 19:02:27 +0200

On Sun, Jul 14, 2013 at 6:52 PM, Eli Zaretskii <address@hidden> wrote:

> I'm confused: what did you expect to happen instead?

After this, (nil t) instead of (t  t)

>>   emacs -Q
>>   M-: (make-frame '((visibility))) <RET>
>>   M-: (mapcar #'frame-visible-p (frame-list)) <RET>
>>   => (t t)

because:

 1) (make-frame '((visibility))) == (make-frame '((visibility . nil)))
 2) The frame *is* invisible
 3) If you do this instead:  M-: (progn (make-frame '((visibility)))
(mapcar #'frame-visible-p (frame-list))) <RET>, you get (nil t)

Is only after redisplay (I think), that the
just-created-invisible-frame becomes "visible" to elisp (though still
invisible to the user).

These first few lines in my report do show the bug; the rest of my
example was to explain how the alternative ways to make the frame
invisible didn't suffer the same problem.

HTH,

   J





reply via email to

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