GNU bug report logs - #28074
25.2; `Info-toc' should not duplicate nodes by processing `The Detailed Node Listing'

Previous Next

Package: emacs;

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

Date: Sun, 13 Aug 2017 02:51:02 UTC

Severity: minor

Tags: fixed

Found in version 25.2

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 28074 in the body.
You can then email your comments to 28074 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#28074; Package emacs. (Sun, 13 Aug 2017 02:51: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. (Sun, 13 Aug 2017 02:51: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: 25.2; `Info-toc' should not duplicate nodes by processing `The
 Detailed Node Listing'
Date: Sat, 12 Aug 2017 19:49:50 -0700 (PDT)
emacs -Q
C-h i

Go to the Elisp manual or the Emacs manual.  Each of these has a menu of
nodes followed by a section called "The Detailed Node Listing".

M-x Info-toc

The result is not just a hierarchical TOC of the manual's nodes.  The
result duplicates both the menu (hierarchical) structure AND the flat,
"Detailed Node List".  The "Detailed Node List" lists each node multiple
times, once at the top level and once under each of its ancestor nodes.

This produces a TOC that is more than twice as big as it should be.  But
more importantly, the result of processing the "Detailed Node List" part
is an almost incomprehensible list of links, with a great deal of
redundancy.

For example, the node `A Sample Function Description' appears 4 times:

1. In the hierarchical menu listing, under `Format of Descriptions',
   which is under `Conventions', which is under `Introduction' (at the
   top level).

2. In the detailed listing, under `Format of Descriptions', which is
   under `Conventions' (at the top level).

3. In the detailed listing, under `Format of Descriptions' (at the top
   level).

4. In the detailed listing, at the top level.

Only the first of these occurrences of `A Sample Function Description'
is needed for a TOC.  And as you move further down the TOC entries and
their contexts become less readable.


In GNU Emacs 25.2.1 (x86_64-w64-mingw32)
 of 2017-04-24
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --without-compress-install 'CFLAGS=-O2
 -static -g3''




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28074; Package emacs. (Sat, 12 Dec 2020 12:35:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 28074 <at> debbugs.gnu.org
Subject: Re: bug#28074: 25.2; `Info-toc' should not duplicate nodes by
 processing `The Detailed Node Listing'
Date: Sat, 12 Dec 2020 13:33:59 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> Go to the Elisp manual or the Emacs manual.  Each of these has a menu of
> nodes followed by a section called "The Detailed Node Listing".
>
> M-x Info-toc
>
> The result is not just a hierarchical TOC of the manual's nodes.  The
> result duplicates both the menu (hierarchical) structure AND the flat,
> "Detailed Node List".  The "Detailed Node List" lists each node multiple
> times, once at the top level and once under each of its ancestor nodes.

This was apparently due to Info now using EMDASH instead of a hyphen in
the Detailed Node Listing regexp.  This is now fixed in Emacs 28.

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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 12 Dec 2020 12:35:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 28074 <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, 12 Dec 2020 12:35: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. (Sun, 10 Jan 2021 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 105 days ago.

Previous Next


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