GNU bug report logs - #14305
23.4; doc string of `frame-visible-p'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 29 Apr 2013 15:20:01 UTC

Severity: minor

Found in version 23.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 14305 in the body.
You can then email your comments to 14305 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14305; Package emacs. (Mon, 29 Apr 2013 15:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 29 Apr 2013 15:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.4; doc string of `frame-visible-p'
Date: Mon, 29 Apr 2013 08:19:07 -0700
This makes it sound like "iconified" is something different from
"minimized":
 
  Return the symbol `icon' if FRAME is iconified or "minimized".
 
To imply that minimized means the same thing as iconified, you need a
comma after "iconified" (or put "'minimized'" in parens):
 
  Return the symbol `icon' if FRAME is iconified, or minimized.
 
  Return the symbol `icon' if FRAME is iconified (minimized).
 
The second is clearer, not requiring readers to notice the comma and
recognize how it changes parsing of the sentence.
 
And you can remove the quotes around "visible", "minimized", and
"taskbar".

In GNU Emacs 23.4.1 (i386-mingw-nt5.1.2600)
 of 2012-02-04 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.4) --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14305; Package emacs. (Sat, 08 Feb 2014 11:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 14305 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 14305 <at> debbugs.gnu.org
Subject: Re: bug#14305: 23.4; doc string of `frame-visible-p'
Date: Sat, 08 Feb 2014 03:03:19 -0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> This makes it sound like "iconified" is something different from
> "minimized":
>
>   Return the symbol `icon' if FRAME is iconified or "minimized".
>
> To imply that minimized means the same thing as iconified, you need a
> comma after "iconified" (or put "'minimized'" in parens):
>
>   Return the symbol `icon' if FRAME is iconified, or minimized.
>
>   Return the symbol `icon' if FRAME is iconified (minimized).

Well, are they the same thing?  

> The second is clearer, not requiring readers to notice the comma and
> recognize how it changes parsing of the sentence.
>
> And you can remove the quotes around "visible", "minimized", and
> "taskbar".

Even if a frame is obscured by other frames (and is therefore not
visible), I think this function will still say that it is "visible".  So
I think the sneer quotes are correct here.  Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug closed, send any further explanations to 14305 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 08 Feb 2014 11:05:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14305; Package emacs. (Mon, 10 Feb 2014 21:47:02 GMT) Full text and rfc822 format available.

Message #13 received at 14305 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 14305 <at> debbugs.gnu.org
Subject: RE: bug#14305: 23.4; doc string of `frame-visible-p'
Date: Mon, 10 Feb 2014 13:45:59 -0800 (PST)
> Well, are they the same thing?

You tell me.  What's the content of the message to users here?
If they are the same, then add commas or otherwise make that clear.
If not, and if it is important to mention both, then it becomes
important to say what each is (what the difference is).

> > The second is clearer, not requiring readers to notice the comma
> > and recognize how it changes parsing of the sentence.
> >
> > And you can remove the quotes around "visible", "minimized", and
> > "taskbar".
> 
> Even if a frame is obscured by other frames (and is therefore not
> visible), I think this function will still say that it is "visible".
> So I think the sneer quotes are correct here. 

You might have a point there for "visible", but not for the other
two, AFAICT.  On some platforms a frame might be iconified on the
desktop, and the icon thus hidden by another frame.  But on other
platforms the icons are in a task bar or whatever, not covered by
another frame.  And I see no reason whatsover for quotes, sneer
or otherwise, around "taskbar".

> Closing.

Fixing is what should be done.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 11 Mar 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.