From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs 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) Message-ID: <9520c346-d35a-4fcb-a83f-61f731c11721@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502592677 15629 195.159.176.226 (13 Aug 2017 02:51:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Aug 2017 02:51:17 +0000 (UTC) To: 28074@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 13 04:51:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgizZ-0003PV-Jv for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Aug 2017 04:51:05 +0200 Original-Received: from localhost ([::1]:48158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgizf-0000rp-U7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 22:51:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgizZ-0000rA-PK for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 22:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgizW-00083Z-Jv for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 22:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgizW-00083I-HB for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 22:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dgizW-00036r-8r for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 22:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Aug 2017 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28074 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150259262511943 (code B ref -1); Sun, 13 Aug 2017 02:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Aug 2017 02:50:25 +0000 Original-Received: from localhost ([127.0.0.1]:59066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgiyv-00036Z-HF for submit@debbugs.gnu.org; Sat, 12 Aug 2017 22:50:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgiyt-00036T-6b for submit@debbugs.gnu.org; Sat, 12 Aug 2017 22:50:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgiyn-0006Vl-7q for submit@debbugs.gnu.org; Sat, 12 Aug 2017 22:50:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgiyn-0006Uu-4h for submit@debbugs.gnu.org; Sat, 12 Aug 2017 22:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgiyl-0000al-T0 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 22:50:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgiyi-0006JL-Q3 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 22:50:15 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:25049) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgiyi-0006IK-H1 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 22:50:12 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7D2oAW0005653 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 13 Aug 2017 02:50:11 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v7D2o9qH026522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 13 Aug 2017 02:50:10 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v7D2o9Fn017948 for ; Sun, 13 Aug 2017 02:50:09 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135710 Archived-At: 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=3D-O2 -static -g3''