From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kGKoLXhee2V4cwAAkFu2QA (envelope-from ) for ; Thu, 14 Dec 2023 20:58:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mHovJ3hee2VX9AAA62LTzQ (envelope-from ) for ; Thu, 14 Dec 2023 20:58:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=nTTcMgLd; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=bernoul.li ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702583928; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=38cFpxPvXgzqyRVFlgr/o1tQWP9Fnf/3XACrAmsxuUI=; b=GDw2rnwSwz/d9MYkT/4wwcCQ6Qo/jXUcpl5BkVQDxwSfVw7D82MzWvrNmsJ1oguei+5/jZ GrhmzwE+6zas+MQ/FYg4b/YMwa9NhpcOVdVjHj6Eo2vaCjeZztKLi2YmLv+mjOxSijqIPq VbNkq5VPRzXWsNC7ON6wonnm7Eq6BZwQQO6Ce1LqWp27+H8kmiBKLVnQKihoRB7hs5VYrx SPBHtHCkpFiapBVPUl1JJVLwVAdIZseEoWT53lccQVRfWwukwOOxiycM2NArdQjufs948c F4JWhuc75o3Q1/+Y3YLFQ0L1VQaEzr3I5tXkWZfvfPu84EH4WdVlJlwB1YbfNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=nTTcMgLd; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=bernoul.li ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702583928; a=rsa-sha256; cv=none; b=XJIsJIknnp8oZoPEXZhb18olRXVTKag87zDxHSomerZ9l3gFLY8Ukn2xvlLa09BmNLsLYX VHEYrkHbvAXrsh5qeYVL19IpHYoF7CCiM8OjzuEzaIQvWsvm/ZOmCcPG/0wRyu1iCEtz52 x6WY/YWFpr9Q0Qj/Zr0taTJtmXymSkQdO9uaUxrYiJWyXQgjvVFZ9nR2VSRw6oGw0ssbxK A7yVHeWBsZ92ExrE1Kvoe0yjotSkQa3KRcUpgUtprzhdYd16kD+uY5Gxnf1sWJBWRT2ovu +hZ5YiVbXq2mrk3oNvfapDwu8Z5SUHLnDGsVklq1g9vahVvTiZyz7NEiMdPhUQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4FE7F478D1 for ; Thu, 14 Dec 2023 20:58:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDrqE-0005WK-CF; Thu, 14 Dec 2023 14:57:54 -0500 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 1rDrqD-0005WB-IE for emacs-orgmode@gnu.org; Thu, 14 Dec 2023 14:57:53 -0500 Received: from mail.hostpark.net ([212.243.197.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDrqB-0007aC-Ak for emacs-orgmode@gnu.org; Thu, 14 Dec 2023 14:57:53 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 9DDAE1690D for ; Thu, 14 Dec 2023 20:57:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from; s=sel2011a; t=1702583865; bh=BsC1THM jaXlED/KI/5CkWPVD/Ds6Qi7Qfo2SZZ7z/Og=; b=nTTcMgLdS/jZTKjKdwuVLRa eLXsXxssDMWwP3b9tbZLgDVtzSkM1UIXBmnU04SkBIgm34/7lHmbExY4hFNLVDsj 9/Ga6Agg3EnFgLXEi0QiVSkXcHKgziNA1JGAxXnIdhXkhu4L/zdFFeygwtOXi93G SGkDvcI5DvdKJ0zkia8Y= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id lYzf2mgcXxLv for ; Thu, 14 Dec 2023 20:57:45 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 739C91690C for ; Thu, 14 Dec 2023 20:57:45 +0100 (CET) From: Jonas Bernoulli To: emacs-orgmode@gnu.org Subject: [BUG] ox-texinfo no longer inserts menus if there is no content Date: Thu, 14 Dec 2023 20:57:44 +0100 Message-ID: <87le9wd0av.fsf@bernoul.li> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.18 X-Spam-Score: -5.18 X-Migadu-Queue-Id: 4FE7F478D1 X-TUID: umB0j7amGSSg Hello, (This came up in 878r9p1ntd.fsf@bernoul.li, on emacs-devel, but it seems it fell through the cracks.) If a section only has subsections but no content of its own, then ox-texinfo no longer generates the section's menu (listing the subsections). And if the section additionally is part of an appendix, then the subsections now use @subsection instead of @appendixsubsec. I looked at the history of org and ox-texinfo.el in particular, but could not find any code change that would explain that change in behavior. Org 9.6.8 still works as expected. ---- demo.org ------------------------------------------- * only subsections, no direct content ** sub 1 body ** sub 2 body * A :PROPERTIES: :APPENDIX: t :END: ** AA only subsections, no direct content *** AAA body ---- demo.texi with org release_9.6.8 ------------------- \input texinfo @c -*- texinfo -*- [...] @node only subsections no direct content @chapter only subsections, no direct content @menu * sub 1:: * sub 2:: @end menu @node sub 1 @section sub 1 body @node sub 2 @section sub 2 body @node A @appendix A @menu * AA only subsections, no direct content: AA only subsections no direct content. @end menu @node AA only subsections no direct content @appendixsec AA only subsections, no direct content @menu * AAA:: @end menu @node AAA @appendixsubsec AAA body @bye ---- demo.texi with org release_9.6.13-975-gb8d27bb4e --- \input texinfo @c -*- texinfo -*- [...] @node only subsections no direct content @chapter only subsections, no direct content @node sub 1 @section sub 1 body @node sub 2 @section sub 2 body @node A @appendix A @menu * AA only subsections, no direct content: AA only subsections no direct content. @end menu @node AA only subsections no direct content @appendixsec AA only subsections, no direct content @node AAA @subsection AAA body @bye --------------------------------------------------------- bye;) Jonas