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: 29.4; m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry Date: Sun, 15 Dec 2024 20:23:24 +0200 Message-ID: <86frmorejn.fsf@gnu.org> References: <87zfl0bc7o.fsf@gmail.com> <87cyhuey26.fsf_-_@gmail.com> <86r069s9dp.fsf@gnu.org> <87zfkwygsi.fsf@gmail.com> 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="36841"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 74844@debbugs.gnu.org, monnier@iro.umontreal.ca To: Suhail Singh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 15 19:24:32 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 1tMtI8-0009Ro-J0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Dec 2024 19:24:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMtHw-0000iW-Eh; Sun, 15 Dec 2024 13:24:20 -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 1tMtHe-0000dv-AQ for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 13:24: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 1tMtHd-0003zQ-Ux for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 13:24:02 -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=jylDXRerLpIzHABJX0nrg6Sq/Ogqq2jkOtVS0GKDvsw=; b=pbYv1V/a4AosEpXbiKz/pRTXNVUii2ZOfTU0l2A9iyfCJrUH6THrGGuNoGbXwYpqwLwQZbV0byeKsaUcl3tX1oMK50FD8CTQ8opvQgq58Ag/o4BcbwwuISSccY0+yJQip6lYI+Yrk6WOLV5FfULUuBgf1/iDur8xhWWpsiSanz56VgXZH2hMMOrVbLKhSh7CWKx7od3EyzuvBrNekxK8QyEWFZ1tnJGCPwMyFOJXvBHi9EY+xMtz3TP+3PREkfoEFEdLFt4OVuR48KXU0fs2yLZdz+Ko+1qSAQWixP4dwNBSnSKroVR3rDs4fuDw3hTJPu8pi6V3eD9xYvs1uQqz2A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMtHd-0003hZ-Kf for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 13:24:01 -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 18:24:01 +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.173428701914192 (code B ref 74844); Sun, 15 Dec 2024 18:24:01 +0000 Original-Received: (at 74844) by debbugs.gnu.org; 15 Dec 2024 18:23:39 +0000 Original-Received: from localhost ([127.0.0.1]:52005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMtHH-0003gp-Ei for submit@debbugs.gnu.org; Sun, 15 Dec 2024 13:23:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMtHB-0003gR-Jp for 74844@debbugs.gnu.org; Sun, 15 Dec 2024 13:23:37 -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 1tMtH4-0003xV-4w; Sun, 15 Dec 2024 13:23:26 -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=jylDXRerLpIzHABJX0nrg6Sq/Ogqq2jkOtVS0GKDvsw=; b=nmtazuaIEOQSID8Bkj1q /Bot9rulEnxsnk+ICkaTOqWYE3+Hiapc+EEamf5KMz/dBnOagpsaqTHWansQv3eYPQmrdoOPPmv7H YgNEIT3Ex1+4LacKVQNX4DZh8m5qAQnyrlMHzG/iyB7hIQbfVCB/w6dStGWxiim+BBe9cwqmFBfOI sYKnPnhTBb8L7SzkTg7xW0hXo9BCRzgqVndtcA1zGeO4J5ViN+YSuAhLoE/ac1OfixYdPH4tq4gTp YLOFiksJ3Z8/VR+k9fT4OXMM/A0bvA/YBKi27heFxdGRXQUFSKmSf8AePjXy7LsUC9JUlqLDNkOHZ LZNXIg5pMHZLVg==; In-Reply-To: <87zfkwygsi.fsf@gmail.com> (message from Suhail Singh on Sun, 15 Dec 2024 12:53:01 -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:297119 Archived-At: > From: Suhail Singh > Cc: Suhail Singh , monnier@iro.umontreal.ca, > yantar92@posteo.net, 74844@debbugs.gnu.org > Date: Sun, 15 Dec 2024 12:53:01 -0500 > > Eli Zaretskii writes: > > >> Btw, based on my interpretation of the Org manual > >> (info "(org) Texinfo specific export settings"), I would've expected the > >> below to work: > >> > >> #+begin_src diff > >> -#+TEXINFO_DIR_TITLE: m-buffer-doc > >> -#+TEXINFO_DIR_DESC: Manipulate the Contents of Emacs Buffers > >> +#+TEXINFO_FILENAME: m-buffer-doc.texi > >> +#+TEXINFO_DIR_NAME: m-buffer > >> #+end_src > > > > Why do you suggest removing TEXINFO_DIR_TITLE > > Because of this comment in ox-texinfo.el which suggests that it is > obsolete: FWIW, I disagree with that decision of Org folks. > > and TEXINFO_DIR_DESC? > > Per (info "(org) Texinfo specific export settings"): > > #+begin_quote > ‘TEXINFO_DIR_DESC’ > The directory description of the document. Defaults to the title > of the document. > #+end_quote > > The Org document in question already has a TITLE specified. That there is a default does not mean that we need to discard the description when we do have it. Discarding it loses important information (which programs like install-info use). > > And why is TEXINFO_FILENAME important? > > Per (info "(org) Texinfo specific export settings"): > > #+begin_quote > ‘TEXINFO_FILENAME’ > The Texinfo filename. > #+end_quote Why is this important? > Also, > > #+begin_quote > ‘TEXINFO_DIR_NAME’ > The directory name of the document. This is the short name under > which the ‘m’ command will find your manual in the main Info > directory. It defaults to the base name of the Texinfo file. > > The full form of the Texinfo entry is ‘* DIRNAME: NODE.’ where > ‘NODE’ is usually just ‘(FILENAME)’. Normally this option only > provides the ‘DIRNAME’ part, but if you need more control, it can > also be the full entry (recognized by the presence of parentheses > or a leading ~* ~). > #+end_quote > > I interpreted "FILENAME" above to mean TEXINFO_FILENAME, which is also > what's suggested by the code: > > #+begin_src emacs-lisp > (file (or (org-strip-quotes (plist-get info :texinfo-filename)) > (plist-get info :output-file))) > #+end_src This is a wrong interpretation. FILENAME here is the Info file name, not the Texinfo file name (the latter is the file name of the Texinfo source).