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.devel Subject: Re: master 5a125fb5a97 1/2: Update to Org 9.7.3 Date: Wed, 12 Jun 2024 16:29:31 +0300 Message-ID: <861q521e84.fsf@gnu.org> References: <171796793548.23337.12512115872160390161@vcs2.savannah.gnu.org> <20240609211858.A2C31C1F9FB@vcs2.savannah.gnu.org> <87ed927ris.fsf@kyleam.com> <86frti1r1w.fsf@gnu.org> <87tthy71xw.fsf@localhost> <864j9y1fge.fsf@gnu.org> <87o78670uj.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: kyle@kyleam.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca To: Ihor Radchenko , stefankangas@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 12 15:30:21 2024 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 1sHO3Q-0007IA-9g for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Jun 2024 15:30:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHO2i-0007bg-7p; Wed, 12 Jun 2024 09:29:36 -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 1sHO2g-0007b4-Mg for emacs-devel@gnu.org; Wed, 12 Jun 2024 09:29:34 -0400 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 1sHO2f-0005Za-R0; Wed, 12 Jun 2024 09:29:33 -0400 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=cN4QgLeFde6wpuG6SM3pivAI7n2F9bQDncJwQWge3Vk=; b=Gkle3bJHathD kmq3VIx7cO/pCxmKzM9QINqrpbeeiGsII6wrNhGViKLTXEYpAceKFnkGHwBeEocCqAEpadcqqZ7Bx qR2sqPFQdkkiG9LUh/ANJ7VAcfYr6eBckfXsvGAGEKBp5Ct2sI27tmCVQEuaMI6fbctJpqyQ5oRed Kd8yY7/Ap/UKf7BbAijXPbITa5u8pxKqzuJ9UvGFpXBmNwlohtF8w1b+i2po66SlHRfePwtHOEMqH ypcfkqQEsIkP+Bp5my7YeL5cUmFTXIxedYX4tXcaLg05UntSKHO6iVsaLtqB/9I7sa2+Mi8Z6aAtl VAl5rq/hRkVKAnw5xdqY4g==; In-Reply-To: <87o78670uj.fsf@localhost> (message from Ihor Radchenko on Wed, 12 Jun 2024 13:21:56 +0000) 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:319998 Archived-At: > From: Ihor Radchenko > Cc: kyle@kyleam.com, stefankangas@gmail.com, emacs-devel@gnu.org, > monnier@iro.umontreal.ca > Date: Wed, 12 Jun 2024 13:21:56 +0000 > > Eli Zaretskii writes: > > >> I was not aware that Emacs uses a custom awk script to parse .org source > >> in addition to .texi source. > >> > >> The existence of such script implies that .texi files generated by Org > >> are not well-formatted. May you please explain why org.org file needs to > >> be parsed and why parsing org.texi is not sufficient? > > > > I don't think it has anything to do with formatting of org.texi. The > > issue here is that info/DIR file might be generated when org.texi is > > not yet available or not yet up-to-date, such as during bootstrap or > > after some change in org.org. IOW, the reason for this behavior is > > that we want to produce info/DIR from the source files, not from the > > generated files. > > Ok. Although that awk script is fragile. May it be test-covered somehow? Since it's used almost every build, I'd say it's already covered ;-) Maybe Stefan could tell how he found this problem, and then we can take it from there.