From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.bugs Subject: bug#74844: 29.4; m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry Date: Sat, 14 Dec 2024 16:48:01 -0500 Message-ID: <87cyhuey26.fsf_-_@gmail.com> References: <87zfl0bc7o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32854"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 74844@debbugs.gnu.org, Suhail Singh To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 14 22:50:35 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 1tMa1z-0008LK-9G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Dec 2024 22:50:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMa1a-0004Fu-3Z; Sat, 14 Dec 2024 16:50:10 -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 1tMa1T-0004BH-9n for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 16:50:03 -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 1tMa1T-0005TK-05 for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 16:50: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:Date:References:In-Reply-To:From:To:Subject; bh=nugPZnZaCnEgK1bNYvh3W4NOqlDCNCFM+vu5bikY930=; b=tgxnsCBxGsJ3ktBrCtCYK240Etadn/shFZ30lgd3slBIzXQXG7cSdpRYJjdz7GKVq83+O5oWTUUT0A1V75qgTF1bh4KqjxTlKwHKbzgHFByis76FgNG0NuZiKBbAErkiADcoNl3snQaMM9WC6GLEu2VM2Cnl6ZaTvi4H4zS1LlK+VcSBCh8KA9K4FMtOgSIKkPYijUVhfDa3B4RP3xwhai9iDZSwG+a7VLtv248pUdhyAAAXbvIPpQTT7YVdDDX6TGfRGNbvham4CeMMHK7Vi60CZzj7tLNxvrSbTs0M+RhL7UYbSBk47WCNYLWw4T69p5bp0K02g9UCTMSUo+Wr/w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMa1S-0001fw-Cz for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 16:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2024 21:50: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.17342129626347 (code B ref 74844); Sat, 14 Dec 2024 21:50:02 +0000 Original-Received: (at 74844) by debbugs.gnu.org; 14 Dec 2024 21:49:22 +0000 Original-Received: from localhost ([127.0.0.1]:48642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMa0n-0001eJ-V2 for submit@debbugs.gnu.org; Sat, 14 Dec 2024 16:49:22 -0500 Original-Received: from mail-qt1-f193.google.com ([209.85.160.193]:51586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMa0m-0001e1-3g for 74844@debbugs.gnu.org; Sat, 14 Dec 2024 16:49:20 -0500 Original-Received: by mail-qt1-f193.google.com with SMTP id d75a77b69052e-467a0a6c9fcso42369201cf.3 for <74844@debbugs.gnu.org>; Sat, 14 Dec 2024 13:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734212894; x=1734817694; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nugPZnZaCnEgK1bNYvh3W4NOqlDCNCFM+vu5bikY930=; b=Rz6I/Pc8GW3eHzluX9ub3T2EqwUa4efVm7B2lWcpy624y6LdbNS4Fhvuk6uVuIDuCz v+ZKZE8RxWUmfvWbKyDN3WclSZawfGjlXiFq+c8MTagQjlKSuIZZW6yatgeQwhodmR3P OgbvqES75xsT65MZ8pd8St4aLCfRtBAEEHQrFHq3ZDMV3Unfy/h2oCA7vOCw70AhgC/m d5nmPMS5L+pLvD/HvxUyqWSlWu10A2pTJbfabljOtrCIsMTlgq3+yjfXu2EmRLpJUqwP ao5LT5oSiLql+RcsYEPA/aKIOz+J8Nlg8qI6aKioKd6w2qBId24xHqHvKcMY9NipiIrH zCbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734212894; x=1734817694; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=nugPZnZaCnEgK1bNYvh3W4NOqlDCNCFM+vu5bikY930=; b=Wc2ExfIVB1/YGHTof8HARZQUZGrzjoRs1jJ4Bw60J0KUsZ95mkYJzMk33hlDaMDLx5 Qw4FMiysL4NZO43kjviUAW/lK+7Fz49KkGHrpBNq8uhNTYrF+DquN7g9SsWpxvpSKu+K NKHmdtgnnRtDUpKyJ/j8315gExx+ngYThVDxpmE6cCK+q8Zhd5brcccEUMc1sYCoavZL ZaGj5C4fTEeyclLO9R2F7EfPSgXAitgsPXIQut68ezSvIf9cCnPlg+AC6+439JVSAH+v a1/Kne7c0NF5VB+H9B0obNEtqqs8AH21kH9+QnqR35Pxrmhl1J5V9BC6cmNpo4nyEJs/ 8YPw== X-Forwarded-Encrypted: i=1; AJvYcCUap3mespNAEn3UohqYDAGc7n0YHFaDfJw8xNoXZD7a9wGoXt75CR56owWzQnhg7Wk/jIocHA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxTNbwEsCAr1nd0qPlDW+hVov51B82V58mTKa87AMP1m758IyOl dZWqO5TvLJPLzfZ9GgthUUctljgCl52IVQM8HF/9Iasnk32PKMDE X-Gm-Gg: ASbGncuWFEGmPIwDtD+SI662CuxHJwGolyVQhYh9wj0rTr7sCEu6znALICdNT0J3UOJ ZOH+x0TsX+0SH8Uk8HKHNVJGXWRhJx98IH7DEiJr2f18xwnBrhFmH0INetAKDQB22YuxmBzGgSW ie0IJ7jfpcCaeQcFpderSXHHK7yY7kAkuO23YtvDVt6vV7lZEdsmmAO3gyWX0gfW+4fnsEA28U3 uCOuY4Vi6uoXV92qs764fQSN5hDGu/LjwRKO4Mk9MNcR5IwQ1sF X-Google-Smtp-Source: AGHT+IH1tAs2Zp4RRKLzD+g+kruYaOD8DZkbG/oBTQYKnSXt7J3d4OoMjagDvLeTUB1o6mE5fwAUog== X-Received: by 2002:a05:622a:1a1c:b0:467:6201:818a with SMTP id d75a77b69052e-467a57fac83mr156332461cf.36.1734212894592; Sat, 14 Dec 2024 13:48:14 -0800 (PST) Original-Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-467b2cc278dsm11094901cf.48.2024.12.14.13.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2024 13:48:13 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Fri, 13 Dec 2024 16:50: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:297078 Archived-At: Stefan Monnier writes: > and to `m-buffer` I pushed another change which tries to workaround > that bug (for when it's used with an older Emacs). > modified =EE=98=B3 m-buffer-doc.org > @@ -5,7 +5,7 @@ >=20 > # FIXME: Shouldn't `ox-texinfo` use sane defaults like the file's name > # for TEXINFO_DIR_TITLE and the TITLE for TEXINFO_DIR_DESC? I believe TEXINFO_DIR_TITLE is obsolete (based on a comment in ox-texinfo). > -#+TEXINFO_DIR_TITLE: m-buffer-doc > +#+TEXINFO_DIR_TITLE: * m-buffer-do: (m-buffer-doc). ^^^^^^^^^^^ Is that a typo, or intentional? Either m-buffer or m-buffer-doc in that position would've been more expected. 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 With the TEXINFO_DIR_NAME setting being optional, i.e., if omitted the title of the menu-item would default to m-buffer-doc. If this doesn't happen, then there's a bug in ox-texinfo (either in the documentation or the code). I am unable to confirm this locally, since it's not clear what code is run on ELPA to generate the info manual. --=20 Suhail