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: Sat, 14 Dec 2024 10:08:52 +0200 Message-ID: <86frmqwusr.fsf@gnu.org> References: <87zfl0bc7o.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2093"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 Sat Dec 14 09:10:40 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 1tMNEV-0000Nw-Mb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Dec 2024 09:10:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMNE9-0004hT-8y; Sat, 14 Dec 2024 03:10:17 -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 1tMNE7-0004hI-MH for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 03:10:15 -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 1tMNDv-0000H8-BC for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 03:10:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=ckS1K9xFq0eR4gv7n5bpW133fvwlP7W9Ggj3pg8Ijc4=; b=Pn3Tc06CxflXfm3Mrgmm4ViIH1IDI7gQfkVdUghaiqaSEEluHG17f8u1Q//okuIYQ7C/z1c1ni09qc3L4Bv8fem3GE8rQ3jmhjP76Dd5R5RwppmLm9NlNrfmcswrDPGSheLPYRViP3mcpKBwht5cQLcY1ZHsTNOYx465wrbyLUu0Isfa8EW7EKlFCaDXpQA/Z1JW2zNd9176giUqWMJxJxBwT9qj3zMniOPHqjjkvSvQ3k25xsr1APV8EHbyxD/hdZTokLxjb2/eNqQoa5yJefjWT5xkj39rAoy1zD+UidRmjblO1rOuQxqAU2egrvNozBrFT9VlwZkJXeQIsyTFSA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMNDu-0002WQ-FK for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 03:10: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: Sat, 14 Dec 2024 08:10: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.17341637449589 (code B ref 74844); Sat, 14 Dec 2024 08:10:02 +0000 Original-Received: (at 74844) by debbugs.gnu.org; 14 Dec 2024 08:09:04 +0000 Original-Received: from localhost ([127.0.0.1]:45299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMNCy-0002UY-Dv for submit@debbugs.gnu.org; Sat, 14 Dec 2024 03:09:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMNCv-0002U2-58 for 74844@debbugs.gnu.org; Sat, 14 Dec 2024 03:09:03 -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 1tMNCn-0000CA-Ty; Sat, 14 Dec 2024 03:08:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ckS1K9xFq0eR4gv7n5bpW133fvwlP7W9Ggj3pg8Ijc4=; b=I4oXGrYAqSNB 7YXKIRRGggKtO8e3ldGpAkJsKpSuy2Z9r+YMKBdkhluWERLFU/wVEIXScoMJTujHpndihELWRap5H lvtd/XuFcFfwEgww6DVTEwN0kn4daab3O9uMFTlB/L/CPEBWizcvUxONeOsstfdEIegIiiQ/zsoWo p062nf4l4qCrBNX+A/wXM/JLvff6GneIeaSyoX80uzhHJQNBK7g6u+x+C8CzXHSO1Bo2jmJq9d6Tg j912/ClBWsxyQ4ihiYgKDItG6T4aUsANkd897wfSLlNjxKxEBVXS3prQ+5T818jvkUvaDcydK4nXH BJmZKGL1kcPy2UGs/0YOhA==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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:297007 Archived-At: > Cc: 74844@debbugs.gnu.org > Date: Fri, 13 Dec 2024 16:50:02 -0500 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > 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 What is 'dn' in the above scheme? And what is 'file'? P.S. Should we CC the Org folks on this discussion?