From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#71394: [PATCH] Update .org->.texi Makefile target for new Org 9.7 release Date: Thu, 06 Jun 2024 12:07:34 +0000 Message-ID: <87jzj246m1.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28046"; mail-complaints-to="usenet@ciao.gmane.io" To: 71394@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 06 14:07:13 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 1sFBtg-00073f-8U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jun 2024 14:07:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFBtJ-0005EI-21; Thu, 06 Jun 2024 08:06:49 -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 1sFBtH-0005Cj-QO for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:06:47 -0400 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 1sFBtH-0004FN-Gw for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:06:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFBtV-0007Vf-RK for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2024 12:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71394 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171767558128815 (code B ref -1); Thu, 06 Jun 2024 12:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jun 2024 12:06:21 +0000 Original-Received: from localhost ([127.0.0.1]:52607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFBsq-0007Ug-Nu for submit@debbugs.gnu.org; Thu, 06 Jun 2024 08:06:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:32954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFBsm-0007UT-0v for submit@debbugs.gnu.org; Thu, 06 Jun 2024 08:06:19 -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 1sFBsW-0004zu-VA for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:06:01 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFBsR-0004BB-Ds for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:05:58 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 22A26240101 for ; Thu, 6 Jun 2024 14:05:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717675552; bh=tFdKjlFJxyGCpA/XAVhTmENYUmHWn7pknOiT4OXknK4=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=bjGHvlVmdi/Z6ZZBbRdq8xnjJCY57f1gPm2cKuYkuCyvMb4BqLE1acnRiwn/4KtpM PFfef8VBt8YFZMAQOnq91suDd+SALecOo21IDr2oQpG72gmI0eYcVEaPDVdrE4if8v QsWaFm0b5E+us20wnj2bkCJXExYLFrW8XlGxGjkqWVcDPQ3kNAHKYqFsyqCVy14dBE B3w6jJmM+yI5UjDJlxorALVsBi+FMRGrc1ORRkhBTyEbOOHBXLwcPubXom5eNgHozu NcLDHcYwwh1OkXbtG1dnVoVgunCgT7aA9OyopPvAa+TRKLNFaOP0deOWrg306GNIdC MbaGk/cqJo7Sw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vw327496Pz9rxQ for ; Thu, 6 Jun 2024 14:05:51 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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: 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:286689 Archived-At: --=-=-= Content-Type: text/plain Tags: patch Tags: patch X-Debbugs-CC: Eli Zaretskii May you please install the attached patch for .org->.texi Makefile rule? The patch enables evaluation of code blocks inside the manual - this allows generating parts of the manual programatically. Note that this patch may also affect _future_ versions of other .org manuals. Currently, it is modus-themes.org - the only other .org manual in Emacs tree. If code blocks in .org manuals are explicitly marked with :eval yes header argument, they will be evaluated during export to produce generated output for inclusion into the manual. We need this patch to make the new version of Org manual (in Org mode 9.7) work. We also hope to merge Org 9.7 into Emacs before emacs-30 branch is cut. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-06-01 built on localhost Repository revision: 1c59acd7b63ca507d3d12e0dba7f77510ced9c45 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Gentoo Linux Configured using: 'configure JAVAC=/etc/java-config-2/current-system-vm/bin/javac' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Enable-code-block-evaluation-when-generating-.org-ma.patch >From 71a43b4652987faa4b6c96d9d075e6d9652577e0 Mon Sep 17 00:00:00 2001 Message-ID: <71a43b4652987faa4b6c96d9d075e6d9652577e0.1717675205.git.yantar92@posteo.net> From: Kyle Meyer Date: Wed, 29 May 2024 00:05:46 -0400 Subject: [PATCH] Enable code block evaluation when generating .org manuals * doc/misc/Makefile.in ($(1:.org=.texi)): Enable code block evaluation in Org mode manual and other .org manuals to produce automatically generated parts. When testing a scratch sync to the Emacs repo, the build failed with make[3]: Leaving directory '/home/kyle/src/savannah/emacs--master/lisp' Evaluate this emacs-lisp code block on your system? (yes or no) Error: end-of-file ("Error reading from stdin") yes-or-no-p("Evaluate this emacs-lisp code block on your system? ") That's expected given 715148131 (org-manual: Automatically generate export option list, 2023-07-31) and the default org-confirm-babel-evaluate value. --- doc/misc/Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 2841916dc89..b26d3525a22 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -250,6 +250,7 @@ define org_template $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ --eval '(setq gc-cons-threshold 50000000)' \ + --eval '(setq org-confirm-babel-evaluate nil)' \ -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) endef -- 2.45.1 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--