From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry Date: Sun, 15 Dec 2024 16:00:06 +0200 Message-ID: <86seqpqc61.fsf@gnu.org> References: <87zfl0bc7o.fsf@gmail.com> <86frmqwusr.fsf@gnu.org> <86pllutj7a.fsf@gnu.org> <86wmg1sc2h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 74844@debbugs.gnu.org, suhailsingh247@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 15 15:01:37 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 1tMpBf-0006aV-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Dec 2024 15:01:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMpBV-0003vZ-3G; Sun, 15 Dec 2024 09:01:25 -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 1tMpBA-0003tx-4e for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 09:01:08 -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 1tMpB8-0002dk-TH for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 09:01:03 -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:References:In-Reply-To:From:Date:To:Subject; bh=nkl9uaA/Sk8dCx6F3eeKqceWel/6g+3lC/q+tVTLnoM=; b=clO3h79PY2Wg8pMiwOc6xwfGAXweRzSVXZ3vFnQPkJeSK4jDnmgjlzWkV++k0zMXtqDOF2MvTCTpj04a8UtJl+avEH9O8UvT+YYq0tHTPfCIzTX5tI0GVye2NL9Ok0OOfcw0gkjC24FbsxyP1ta1a02+gEA7DLT0+OTOPBuPlRBLvp6LCtxGHNOHSlI/f5wtC9IIej6WDdDpbvMXh6wZjl42gCo4sbYWwuf0hsvbjbYhiz/r55KD09qKnyQ5qR+t31/xEeTDdktQEaAl0ncPRmV9MnUJNefDSixj6CFqs9iGT14P2fqvSyalZHFMjh6D8+BnuWdcDAMyVzSZMn5Dpw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMpB8-0007Fm-GP for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 09:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Dec 2024 14:01: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.173427122327819 (code B ref 74844); Sun, 15 Dec 2024 14:01:02 +0000 Original-Received: (at 74844) by debbugs.gnu.org; 15 Dec 2024 14:00:23 +0000 Original-Received: from localhost ([127.0.0.1]:49981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMpAQ-0007EZ-Tx for submit@debbugs.gnu.org; Sun, 15 Dec 2024 09:00:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMpAM-00079r-Rb for 74844@debbugs.gnu.org; Sun, 15 Dec 2024 09:00:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMpAH-0002X9-C4; Sun, 15 Dec 2024 09:00:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=nkl9uaA/Sk8dCx6F3eeKqceWel/6g+3lC/q+tVTLnoM=; b=XTVI4B3hU19acSV02EbP aXE+sQRujmKhovVINJIkVTE7qJiLU5Jd/haQCJuxvvLy6C3WbOWJpZFrfo36/mbpJflCJ7vGHbfAJ FK/KGDLDc7fp1TzwqELbMQW2t1gxXiOUM9ETylxzLl0WaLcDcoBMQvpvYdvgvCIys3YarrLr0Be7/ j6l6Xv9VRaz7UgnRGHlAN+YK2NLoYiKiCvdnt+A0ZtEml1HCKd7oKMvdpTOcY9+arOM/mNCa1st5p rsWhYEdr+stzhy79hDlIMknYpHAp6z6SLgFFbdshKH7e8iJJfITilo4bpp1rKqToeODX3nF1P5xkH B6Ax4oN0nt3aHg==; In-Reply-To: (message from Stefan Monnier on Sun, 15 Dec 2024 08:38:02 -0500) 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:297104 Archived-At: > From: Stefan Monnier > Cc: suhailsingh247@gmail.com, 74844@debbugs.gnu.org, yantar92@posteo.net > Date: Sun, 15 Dec 2024 08:38:02 -0500 > > >> The manual reads like a "user manual" and I think I need something more > >> like a "reference manual", or a specification, with a precise grammar. > > > > That's because arbitrary programs are not supposed to generate Info > > formats, they are supposed to invoke Texinfo programs to do that. For > > example, to update DIR, you are supposed to invoke install-info, which > > knows about all these rules (and more). > > `@direntry` contains text in the Info format and is not generated by > those tools, hence the need for Texinfo *users* to know about that part > of the Info format. That's true, but we are discussing what ox-texinfo.el does, or at least so I thought? There's no @direntry there, only parts of it stashes as property lists on some symbols (according to a quick glance I had at the functions where this code resides). > [ Also the Info format is manipulated by enough tools that a reference > manual would not be amiss, even if it's used only "internally" by all > these tools. 🙂 ] Feel free to take this up with the Texinfo developers. > > In that case, I suggest the following code: > > > > (dn > > (format "* %s: (%s)." dn (or file dn))) > > (t (format "* (%s)." file)) > > Sounds good to me. So will you install that?