From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry Date: Sat, 14 Dec 2024 08:53:04 -0500 Message-ID: References: <87zfl0bc7o.fsf@gmail.com> <86frmqwusr.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34437"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 74844@debbugs.gnu.org, suhailsingh247@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 14 15:29:34 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tMT9B-0008o5-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Dec 2024 15:29:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMSas-0005BK-R6; Sat, 14 Dec 2024 08:54:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMSaq-0005BB-G8 for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 08:54:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMSaq-0005p4-7G for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 08:54:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=HBN0hVEhjqTlVI9RQUu3hgIY7ASoxqo41yYjXoM6DK0=; b=ZqQtIXlkzESth3Lk/6QJQm0R6MN0giUrj4Uf8VZjiY7SiH1+7D6vL9mwajUYsWp8pjnIRyzibN3CAdSZamOpgaFzMYbEKpHT/A9nJnEwV49afUeNP7gYHdtqax2B9/ALI0YFVwSLT7v6xsbGu31dLy6nKpapvquUkRHj0/E4jS8BX+ZB+unvMRxVXWIElc2dfxSeO7US8PelKiubBrZ9iRXijT6jWGSGV4zKvmN5yfBqEIgY6WNyKmP8Ob2VxPH/oY1V0PNVqU3GPRTYzbqmCi3kM39I+ZuKUSa2JdoGno1gSzWenQ393vaihSVzKQtMJFHv4b/L1oKbZuD9tJBDxA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMSao-0002T2-Hy for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 08:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2024 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74844 X-GNU-PR-Package: emacs Original-Received: via spool by 74844-submit@debbugs.gnu.org id=B74844.17341844069409 (code B ref 74844); Sat, 14 Dec 2024 13:54:02 +0000 Original-Received: (at 74844) by debbugs.gnu.org; 14 Dec 2024 13:53:26 +0000 Original-Received: from localhost ([127.0.0.1]:45976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMSa9-0002RZ-Hc for submit@debbugs.gnu.org; Sat, 14 Dec 2024 08:53:25 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMSa1-0002R4-5A for 74844@debbugs.gnu.org; Sat, 14 Dec 2024 08:53:18 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4B52510004C; Sat, 14 Dec 2024 08:53:06 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1734184385; bh=H0nmgY4fZHhauCFe9Jgzo2sTOuNGnu17sWW6WBBy5qI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OJUnQ6GD1rzGuHBT0ZD/nJ2EuNqUqZARVwEBNMsj4LD8HcUvGEjV4n10mTi3RvMHW iXpkCnh5R4Gu+n3HYrlAIBji6vfafiKmhI1KYjNx0iy+ADQZmqXxMjqWbqNj5IROU3 5mVW7rVXtk1u/Rhjqi/vX1or7pBmepw8d/TcIosgZUFcoPgRGNO2PBp61F1AoKX/6g 8knW+hzfnGhRpNuVmagphIUXQeEJSzD+Iswu3opmV9xrF4BKJEZk0mlwDWPnL20qXr YuoMBF+K9q+6eZywhOnYh5xIc9EUsUm5JFnLvb52g2zU055OA4ObloMXzjZgNsC4ce hlR5tb+XLuSFw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2A8A0100035; Sat, 14 Dec 2024 08:53:05 -0500 (EST) Original-Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E7A3A1203DF; Sat, 14 Dec 2024 08:53:04 -0500 (EST) In-Reply-To: <86frmqwusr.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Dec 2024 10:08:52 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297053 Archived-At: >> > However, the @direntry as >> > noted in the "dir" and "m-buffer-doc.info" files is "* m-buffer.doc." >> >> Hmm... yup. >> I pushed to Emacs a fix for the generation of that Texinfo element in >> `ox-texinfo.el` and to `m-buffer` I pushed another change which tries to >> workaround that bug (for when it's used with an older Emacs). >> >> The patch for `ox-texinfo.el` is below. It's "obviously safe", but >> I suspect it's too late for Emacs-30. Eli? > > Maybe. For now, I don't think I understand the fix. What is 'dn' in > this snippet? The command above says something (which need to be > fixed to follow the code change, btw), but I'm not sure it is accurate > or complete. > > An entry in DIR can be either > > * TITLE: (FILE). DESCRIPTION > or > * TITLE: (FILE)NODE. DESCRIPTION [ Side question: Where is this documented? ] > What is 'dn' in the above scheme? And what is 'file'? `dn` is your TITLE and `file` is your FILE. > P.S. Should we CC the Org folks on this discussion? Duh, forgot about that, I just added Ihor, thanks, Stefan