GNU bug report logs -
#13339
24.3.50; doc of `next-frame'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Wed, 2 Jan 2013 18:59:02 UTC
Severity: minor
Found in version 24.3.50
Fixed in version 28.1
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 13339 in the body.
You can then email your comments to 13339 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13339
; Package
emacs
.
(Wed, 02 Jan 2013 18:59: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
.
(Wed, 02 Jan 2013 18:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The doc (both doc string and Elisp manual) is unclear for the default
case where argument MINIFRAME/MINIBUF is nil. (BTW, the same parameter
name should be used here for the doc string and the manual.)
What is unclear is which frames are _included_ in this case. The only
thing we are told is that minibuffer-only frames are _excluded_. Does
that mean that all other frames are included? Or only visible frames?
Or only visible or iconified frames?
Other values of this argument make clear which frames are included, but
the doc for a nil value of the argument is incomplete.
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
of 2012-12-31 on ODIEONE
Bzr revision: 111388 rudalics <at> gmx.at-20121231113513-subz2dazg6yjukzh
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.7) --no-opt --enable-checking --cflags
-IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13339
; Package
emacs
.
(Wed, 02 Jan 2013 19:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 13339 <at> debbugs.gnu.org (full text, mbox):
BTW, the doc of `other-frame' says that it includes _visible_ frames. And its
code calls `next-frame' with a nil value for argument MINIFRAME. So if the doc
of `other-frame' is correct then the `next-frame' with nil MINIFRAME must
include only visible frames, not all frames except minibuffer-only frames and
not all visible or iconified frames except minibuffer-only frames.
If that is not correct then there is thus also a doc bug for `other-frame'. If
it is correct then that should help you correct the doc for `next-frame'.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13339
; Package
emacs
.
(Sat, 08 Feb 2014 13:22:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 13339 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> The doc (both doc string and Elisp manual) is unclear for the default
> case where argument MINIFRAME/MINIBUF is nil. (BTW, the same parameter
> name should be used here for the doc string and the manual.)
>
> What is unclear is which frames are _included_ in this case. The only
> thing we are told is that minibuffer-only frames are _excluded_. Does
> that mean that all other frames are included? Or only visible frames?
> Or only visible or iconified frames?
>
> Other values of this argument make clear which frames are included, but
> the doc for a nil value of the argument is incomplete.
Uhm... yeah... clear. >"?
Do you have a suggestion as to what the nil case should say?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13339
; Package
emacs
.
(Mon, 10 Feb 2014 23:55:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 13339 <at> debbugs.gnu.org (full text, mbox):
> Do you have a suggestion as to what the nil case should say?
It seems like the frames included then would be all frames on the
same terminal, other than FRAME and any minibuffer-only frames.
But see my followup message, which points out that the doc of
`other-frame' seems to suggest something quite different: only
_visible_ frames (on the same terminal...).
Probably someone more knowledgable should check the behavior
and make the fix.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13339
; Package
emacs
.
(Mon, 23 Aug 2021 14:33:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 13339 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> What is unclear is which frames are _included_ in this case. The only
> thing we are told is that minibuffer-only frames are _excluded_. Does
> that mean that all other frames are included? Or only visible frames?
> Or only visible or iconified frames?
Looking at the code, it's absolutely all frames on that terminal. I've
now adjusted the doc string and the manual.
"Drew Adams" <drew.adams <at> oracle.com> writes:
> BTW, the doc of `other-frame' says that it includes _visible_ frames.
> And its code calls `next-frame' with a nil value for argument
> MINIFRAME. So if the doc of `other-frame' is correct then the
> `next-frame' with nil MINIFRAME must include only visible frames, not
> all frames except minibuffer-only frames and not all visible or
> iconified frames except minibuffer-only frames.
I haven't dug into the code history here, but the code today says:
(while (> arg 0)
(setq frame (next-frame frame))
(while (and (not (eq frame sframe))
(not (eq (frame-visible-p frame) t)))
(setq frame (next-frame frame)))
(setq arg (1- arg)))
So the doc string of `other-frame' is correct.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
13339 <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
.
(Mon, 23 Aug 2021 14:33:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 21 Sep 2021 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.