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.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: 28074 <at> debbugs.gnu.org
Subject: bug#28074: 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''




This bug report was last modified 4 years and 164 days ago.

Previous Next


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