GNU bug report logs -
#3303
delete-frame raises old (invisible) frame
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On May 18, 2009, at 11:09 PM, Stefan Monnier wrote:
>> i.e. we end up with a visible frame, the frame that we hid initially.
>
> As mentioned, part of the reason is that raise-frame incorrectly makes
> the frame visible.
>
> Admittedly, the correctness is debatable, since the docstring says "If
> frame is iconified, make it visible" whereas the Elisp manual says "If
> FRAME is invisible or iconified, this makes it visible". So the
> code is
> correct w.r.t the Elisp manual but not the docstring. I actually
> believe the docstring describes the behavior we want.
What I described happens with your path installed just the same, so it
is really only part of the problem.
One issue I can see there in NS is that NS hides frames by moving them
behind the desktop in the view hierarchy, so raising them implies
making them visible. Of course we could (and should) add a check for
frame visibility to the appropriate NS functions.
As far as I remember, raising implied making a frame visible in Emacs
22/Carbon.
I'm not sure if a change to the behavior of raise-frame would be a
good idea at this stage; the bug at hand needs fixing of course.
[smime.p7s (application/pkcs7-signature, attachment)]
This bug report was last modified 13 years and 288 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.