GNU bug report logs -
#4827
23.1.50; frame-visible-p documentation
Previous Next
Reported by: stepnem <at> gmail.com
Date: Thu, 29 Oct 2009 13:45:04 UTC
Severity: minor
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4827 in the body.
You can then email your comments to 4827 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4827
; Package
emacs
.
(Thu, 29 Oct 2009 13:45:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
stepnem <at> gmail.com
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 29 Oct 2009 13:45:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
of 2009-10-28]
C-h f frame-visible-p:
"""
(frame-visible-p FRAME)
Return t if FRAME is now "visible" (actually in use for display).
A frame that is not "visible" is not updated and, if it works through
a window system, it may not show at all.
Return the symbol `icon' if frame is visible only as an icon.
On a text-only terminal, all frames are considered visible, whether
they are currently being displayed or not, and this function returns t
for all frames.
"""
Could please someone explain a few points mentioned below, and if
possible, fix the docstring to make them clear without further
explanation?
1. What does "if it works through a window system" mean? I assume "it"
means "frame", but is "a frame works through a window system" a good
formulation?
2. Why say "if it works through a window system, it may not show at all"?
If I understand correctly, on a text-only terminal, i.e. without "a
window system", there can be only one frame really visible at a time
(i.e. not "visible", but visible); and according to the second
paragraph, all frames are "visible", i.e. considered visible -- so why
"if ..., it may not show at all"?
3. What does being visible only as an icon mean?
The second paragraph is quite clear, although I really would like to
know why is there no distinction regarding "visibility" in a terminal or
what is the motivation for such behaviour (i.e. returning t for all
frames).
As a suggestion, wouldn't it at least make more sense to start the first
paragraph with 'Under a window system...' and get rid of that unclear
conditional mentioned under 1. and 2. above?
Regards
Štěpán Němec
Severity set to 'minor' from 'normal'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Sat, 31 Oct 2009 02:30:19 GMT)
Full text and
rfc822 format available.
Reply sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
(Sat, 31 Oct 2009 17:25:05 GMT)
Full text and
rfc822 format available.
Notification sent
to
stepnem <at> gmail.com
:
bug acknowledged by developer.
(Sat, 31 Oct 2009 17:25:06 GMT)
Full text and
rfc822 format available.
Message #12 received at 4827-done <at> emacsbugs.donarmstrong.com (full text, mbox):
I've updated the docstring of frame-visible-p to make it clearer.
> 3. What does being visible only as an icon mean?
Minimized. This is Emacs terminology dating from long along.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sun, 29 Nov 2009 15:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.