From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: master c86995d07e9: Enable code block evaluation when generating .org manuals Date: Sat, 15 Jun 2024 07:47:46 -0700 Message-ID: References: <171767737644.19678.784876979840850798@vcs2.savannah.gnu.org> <20240606123616.DE7C9C1F9EF@vcs2.savannah.gnu.org> <87h6e6i1mg.fsf@gmail.com> <87sexplbmn.fsf@kyleam.com> <874ja22e7t.fsf@localhost> <87v82i0xc4.fsf@localhost> <87sexefezd.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Kyle Meyer , Robert Pluim , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 15 16:48:31 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 1sIUhj-0004du-AK for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Jun 2024 16:48:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIUh8-0005Lp-Ew; Sat, 15 Jun 2024 10:47:54 -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 1sIUh5-0005LW-OH for emacs-devel@gnu.org; Sat, 15 Jun 2024 10:47:51 -0400 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIUh4-0004N1-A7 for emacs-devel@gnu.org; Sat, 15 Jun 2024 10:47:51 -0400 Original-Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-57c778b5742so3646719a12.2 for ; Sat, 15 Jun 2024 07:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718462868; x=1719067668; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=YhoSCnI1tUoCZeUE398XvtcI+q1i7n3MM18OlipQIiw=; b=OjLlOUEdjmooMqGyMOgfiYYL+MeIto7Ve58QzOuCYzsQieoU1ZrJTkp9p0AFhf0J8O oSd1wcTMHsRrRUrF0tFPG1ArgkVnSa0H23CUXQ9RDHk06q8ZooJZiiKNF+er3AlXfmEc poqKtwGwuLctTLnfCKJ2/VB77Xe6v1qCeqmkzJ0tsasUX+KT/BjYr0fJO1kQmaphRoXA NO0Bf5RwyVdCX18M4rvNUgJDCdGhJML4Y5Pw/a6qd2jQPEzFSkOa6gEBRMMMAYSXssNQ jgxC9xADuLOhTg86BeRUASB8YNHzYJtVL0r7y0myNUeBL++K3Azb/uM6ToTgkRWrSPXJ kehw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718462868; x=1719067668; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YhoSCnI1tUoCZeUE398XvtcI+q1i7n3MM18OlipQIiw=; b=iYD8fd0WpLZsRAmQn1Y/+07m7i3luHHPr6NVR+tw+0zvtKXFwjvwpxIc1qVjZDPUo2 au3S7y+k1XD729WnS7CuGFiwGtxeASM7XNBNW719SzFacFDGKsp2W4OJFma8/XVLOVBQ NzBe0J7EgHIKlXHNaL7rhnJfwefn+I8xkr1S2hkCynoqfjpj+WQf6pGq3Y2XFcAflV90 Ex16nWVB2S7QNOeY1bpDSomNrTd3xxYp2RafbxCNrwpV9ePniV/DvfPF4WTyoFpvXJSo Rv6kpV5ETztLJXu7xNqDhxthnigd1/mKidPW5Bw/2J2Iayo8ISD8UqBsyZbsCu8qNroq KFdw== X-Forwarded-Encrypted: i=1; AJvYcCUJHnYwBHs4zMFx8GHj3O8umVZX3ixFucA3lxgOC/QYt67lk/3wthDi6R5lJXKRqEiaC7OlNh5bauFP9wfAha+wG8yo X-Gm-Message-State: AOJu0YybQmW6Onh1ghRRvm5S4qUogFxLCY71Pi037yfS0IQHL/jiVEjV yVAYJFsmj6plTPZd+Cq7FmxCR5JavY/6KYgxqiOi3XOKEGIKBMN19shF4MGprA4BwGQSIZ0SSpD KWywetFkvCjMY1CUtsOYb6Ysocug= X-Google-Smtp-Source: AGHT+IFuKMqdqJvEkYAS+y87ZXfRPzNP8S9DlKg6TBj1uLnY27dE7j552dCTocYMZm6T/uf5P5pYTqPRFceqT+1dAHY= X-Received: by 2002:a50:f604:0:b0:57c:60f0:98bb with SMTP id 4fb4d7f45d1cf-57cbd651d44mr2891452a12.4.1718462868227; Sat, 15 Jun 2024 07:47:48 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 15 Jun 2024 07:47:46 -0700 In-Reply-To: <87sexefezd.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-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:320150 Archived-At: Ihor Radchenko writes: > Stefan Kangas writes: > >> Ihor Radchenko writes: >> >>> It is certainly possible. We would need to run pre-processing and then >>> generate the final manuals from yet another intermediate pre-processed >>> .org file. However, I am not sure why would we need to bother with such >>> extra work. What would be the benefit? >> >> ... >> IOW, I don't think I see why we shouldn't try to make our job easier if >> we can. Hence my question how hard it would be to replicate what we >> already do for loaddefs files. If it's not practical, then so be it. > > May you please point me to where in the Makefiles you do the > pre-generation you are referring to? Running the `admin/update_autogen` script results in commits like this one: commit 1ea3b369021c90701c634c512426f75ce1291d77 Author: Eli Zaretskii Date: Sat Mar 9 04:24:30 2024 -0500 Auto-commit of loaddefs files. Glenn used to run that from crontab for years, then I did it for a while, and now we run it manually every so often. (It's on my todo list to get a cronjob back up and running, but I didn't get around to it yet for uninteresting reasons.)