GNU bug report logs -
#25406
24.5; doc string of `Info-history'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Mon, 9 Jan 2017 16:40:01 UTC
Severity: wishlist
Found in version 24.5
Done: Stefan Kangas <stefan <at> marxist.se>
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 25406 in the body.
You can then email your comments to 25406 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#25406
; Package
emacs
.
(Mon, 09 Jan 2017 16:40:01 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, 09 Jan 2017 16:40:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The doc string of `Info-find-emacs-command-nodes' refers you to variable
`Info-history' for the format of the locations.
But the doc for `Info-history' says nothing about FILENAME, NODENAME,
and BUFFERPOS.
Instead, those are described in `Info-find-emacs-command-nodes'.
Something is backwards here, and/or missing. Why refer to "the format
used in the variable `Info-history' if consulting that variable tells
you less about the format that what you are told before sending you
there?
Also, the language in the last sentence of the doc string for
`Info-find-emacs-command-nodes' is not so good. I'm guessing that
this might be what is really meant:
", where BUFFERPOS is the line number
of the first element of the returned list (which is treated specially
in `Info-goto-emacs-command-node'), and 0 for the other elements of
the list."
But why the parenthetical remark, and what it really means, I have
no idea.
In GNU Emacs 24.5.1 (i686-pc-mingw32)
of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/usr --host=i686-pc-mingw32'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25406
; Package
emacs
.
(Mon, 09 Jan 2017 18:38:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25406 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 9 Jan 2017 08:39:13 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> The doc string of `Info-find-emacs-command-nodes' refers you to variable
> `Info-history' for the format of the locations.
>
> But the doc for `Info-history' says nothing about FILENAME, NODENAME,
> and BUFFERPOS.
>
> Instead, those are described in `Info-find-emacs-command-nodes'.
Yes, and that is consistent with the text of the doc string.
> Something is backwards here, and/or missing. Why refer to "the format
> used in the variable `Info-history' if consulting that variable tells
> you less about the format that what you are told before sending you
> there?
While the reference to Info-history might be redundant to some degree,
I see nothing wrong with it -- or the rest of the text.
> ", where BUFFERPOS is the line number
> of the first element of the returned list (which is treated specially
> in `Info-goto-emacs-command-node'), and 0 for the other elements of
> the list."
>
> But why the parenthetical remark, and what it really means, I have
> no idea.
It is a hint for why BUFFERPOS is non-zero only in that first element.
That hint is only important to someone who wants to understand how the
code works.
Severity set to 'wishlist' from 'minor'
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 05 Jul 2019 12:06:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25406
; Package
emacs
.
(Fri, 05 Jul 2019 12:18:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 25406 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Mon, 9 Jan 2017 08:39:13 -0800 (PST)
>> From: Drew Adams <drew.adams <at> oracle.com>
>>
>> The doc string of `Info-find-emacs-command-nodes' refers you to variable
>> `Info-history' for the format of the locations.
>>
>> But the doc for `Info-history' says nothing about FILENAME, NODENAME,
>> and BUFFERPOS.
>>
>> Instead, those are described in `Info-find-emacs-command-nodes'.
>
> Yes, and that is consistent with the text of the doc string.
>
>> Something is backwards here, and/or missing. Why refer to "the format
>> used in the variable `Info-history' if consulting that variable tells
>> you less about the format that what you are told before sending you
>> there?
>
> While the reference to Info-history might be redundant to some degree,
> I see nothing wrong with it -- or the rest of the text.
>
>> ", where BUFFERPOS is the line number
>> of the first element of the returned list (which is treated specially
>> in `Info-goto-emacs-command-node'), and 0 for the other elements of
>> the list."
>>
>> But why the parenthetical remark, and what it really means, I have
>> no idea.
>
> It is a hint for why BUFFERPOS is non-zero only in that first element.
> That hint is only important to someone who wants to understand how the
> code works.
It seems to me that the conclusion here is to do nothing. Can we close
this bug report or am I missing something?
Best regards,
Stefan Kangas
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25406
; Package
emacs
.
(Fri, 05 Jul 2019 12:40:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 25406 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Fri, 5 Jul 2019 14:17:39 +0200
> Cc: Drew Adams <drew.adams <at> oracle.com>, 25406 <at> debbugs.gnu.org
>
> It seems to me that the conclusion here is to do nothing. Can we close
> this bug report or am I missing something?
I'm fine with closing it.
Reply sent
to
Stefan Kangas <stefan <at> marxist.se>
:
You have taken responsibility.
(Fri, 02 Aug 2019 14:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Drew Adams <drew.adams <at> oracle.com>
:
bug acknowledged by developer.
(Fri, 02 Aug 2019 14:03:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 25406-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> > From: Stefan Kangas <stefan <at> marxist.se>
> > Date: Fri, 5 Jul 2019 14:17:39 +0200
> > Cc: Drew Adams <drew.adams <at> oracle.com>, 25406 <at> debbugs.gnu.org
> >
> > It seems to me that the conclusion here is to do nothing. Can we close
> > this bug report or am I missing something?
>
> I'm fine with closing it.
OK, closed.
Thanks,
Stefan Kangas
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 31 Aug 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.