From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.devel Subject: Re: Transient manual Date: Sat, 02 Sep 2023 01:22:22 +0200 Message-ID: <878r9p1ntd.fsf@bernoul.li> References: <87cyz6wtja.fsf.ref@yahoo.com> <87cyz6wtja.fsf@yahoo.com> <875y4xfl05.fsf@bernoul.li> <87ledthzzh.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27669"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 02 07:53:01 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qcJZ7-00071D-Le for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Sep 2023 07:53:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcJYP-000594-V6; Sat, 02 Sep 2023 01:52:17 -0400 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 1qcDTC-0008SC-TO for emacs-devel@gnu.org; Fri, 01 Sep 2023 19:22:31 -0400 Original-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 1qcDTA-0004hS-7i for emacs-devel@gnu.org; Fri, 01 Sep 2023 19:22:30 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 987F3164CC; Sat, 2 Sep 2023 01:22:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from; s=sel2011a; t=1693610544; bh=h0dueIletgPu5jb7cHXYLDy5Jjz2qLQjVA/MqsdA/jU=; b= ShChPpfh7YaLoeRzaBzKm69eKRUo9JlHoxO2mOWG3RQ3glla25t/9dk0daQbCYgl 86JvRP0zJv7gwka0yyyi7/0w1rQikY137nEYXDx85VsIgvw4M7crvEYhPV/VIAWa 17h3mUYFbV0jxYp/+H6xnOGtxV/Ng8ujKlDe79jrOzU= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-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 ECXhWvAFlpQ2; Sat, 2 Sep 2023 01:22:24 +0200 (CEST) Original-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 2DB14164B4; Sat, 2 Sep 2023 01:22:24 +0200 (CEST) In-Reply-To: <87ledthzzh.fsf@localhost> 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 02 Sep 2023 01:52:15 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309847 Archived-At: > It would help if we had a small example demonstrating the problem, Org > output, and desired output. ---- demo.org ------------------------------------------- * only subsections, no direct content ** sub 1 body ** sub 2 body ---- demo.texi with org 9.2.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 @bye ---- demo.texi with org release_9.6.8-743-gaf9c063ed ---- \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 @bye --------------------------------------------------------- Speaking of af9c063ed, that commit adds another regression and has to be reverted. The match-string-no-properties on line 674 needs to access the match-data from the matching on line 668. So it is *not* safe to replace it with other match-data on line 673; the save-match-data on that line is required. > AFAIK, ox-texinfo file itself is younger than the Texinfo version in > question. Yeah, most likely this issue has nothing to do with the used Texinfo version. After all the regression is in code that generates a texi file from an org file. Sorry for the delay. Cheers, Jonas