From unknown Mon Jun 23 04:08:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28074 <28074@debbugs.gnu.org> To: bug#28074 <28074@debbugs.gnu.org> Subject: Status: 25.2; `Info-toc' should not duplicate nodes by processing `The Detailed Node Listing' Reply-To: bug#28074 <28074@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:08:15 +0000 retitle 28074 25.2; `Info-toc' should not duplicate nodes by processing `Th= e Detailed Node Listing' reassign 28074 emacs submitter 28074 Drew Adams severity 28074 minor tag 28074 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 12 22:50:25 2017 Received: (at submit) by debbugs.gnu.org; 13 Aug 2017 02:50:25 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 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 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 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 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 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 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 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 MIME-Version: 1.0 Message-ID: <9520c346-d35a-4fcb-a83f-61f731c11721@default> Date: Sat, 12 Aug 2017 19:49:50 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 25.2; `Info-toc' should not duplicate nodes by processing `The Detailed Node Listing' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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'' From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 07:34:17 2020 Received: (at 28074) by debbugs.gnu.org; 12 Dec 2020 12:34:17 +0000 Received: from localhost ([127.0.0.1]:44108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko46L-0002Rp-BD for submit@debbugs.gnu.org; Sat, 12 Dec 2020 07:34:17 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko46I-0002RY-Rk for 28074@debbugs.gnu.org; Sat, 12 Dec 2020 07:34:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jcyfkpeP6OZLwWcj+s/MoT3H6wfVjkx4ZV3WoB4s5dA=; b=VPDPocyviyEOp9eZGQhFN37fn1 41WehaDyktBVOS/PSMnuAPtKwfxy7sRKz4B6uvn8naKiZNz9BYplnXWhBFGVIYGLhoSOoW+9MsCi6 nczVxDslgpeQk1hSegjpMhvOpLfYKDzHcXH9O0E56KBGxNCyuxk/e5jCSqeiEKzRhJuE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ko469-0005mx-Pe; Sat, 12 Dec 2020 13:34:08 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#28074: 25.2; `Info-toc' should not duplicate nodes by processing `The Detailed Node Listing' References: <9520c346-d35a-4fcb-a83f-61f731c11721@default> X-Now-Playing: Gil Scott-Heron's _We're New Here (a Reimagining by Makaya McCraven)_: "Me and the Devil" Date: Sat, 12 Dec 2020 13:33:59 +0100 In-Reply-To: <9520c346-d35a-4fcb-a83f-61f731c11721@default> (Drew Adams's message of "Sat, 12 Aug 2017 19:49:50 -0700 (PDT)") Message-ID: <871rfv5hl4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams 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 T [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28074 Cc: 28074@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 12 07:34:21 2020 Received: (at control) by debbugs.gnu.org; 12 Dec 2020 12:34:22 +0000 Received: from localhost ([127.0.0.1]:44111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko46P-0002S5-JF for submit@debbugs.gnu.org; Sat, 12 Dec 2020 07:34:21 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko46O-0002Rh-Kl for control@debbugs.gnu.org; Sat, 12 Dec 2020 07:34:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lyi+EtrBGbIguaxFepSNJ7EYnGoW9bfhV066sLuoOj8=; b=ue2JfZ9hCM73p9gqwOsF5Il8TU Y8WU7LtEeA7QlliJ4wy6dSoe6bSfWyAThYEumOGqVE5wOMmj0fRjd/bD13Pk4LYT43wIDxYH31D8a POYZ///mPOMCd8K4hS8uXq+SDS801Y9ewiaS4+RfgwFyqkSxcXumUOhClZRXfT2p7MBo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ko46G-0005nC-V9 for control@debbugs.gnu.org; Sat, 12 Dec 2020 13:34:15 +0100 Date: Sat, 12 Dec 2020 13:34:11 +0100 Message-Id: <87zh2j430c.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28074 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 28074 fixed close 28074 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 28074 fixed close 28074 28.1 quit From unknown Mon Jun 23 04:08:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Jan 2021 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator