From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gIaqNf6hx2S70gAASxT56A (envelope-from ) for ; Mon, 31 Jul 2023 13:58:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8NmgNf6hx2TvzAAA9RJhRA (envelope-from ) for ; Mon, 31 Jul 2023 13:58:54 +0200 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 4F9883FEB3 for ; Mon, 31 Jul 2023 13:58:54 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=eqJH1H89; 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=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690804734; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=l//KMm2J1T7j8goyCCG0C36siUYrnvfecvhQAT/7bPA=; b=pE2PeLYG03CS1XbTlLBJQUlsbvg8oVQkVYEh3tEUHYNo73f5/i76yY7bdmR8RqmEI+U1YK 7KaHQ8bKT5GpEtTK0flFJBaAPwwiRj3ycetyOBDy/rco1YLe0sF+uWBwsud2Jhfrn3Op2P 2KYOKf/4pjPBeco8Y/7G+kEYv6ssgHgsSzA1iQlib9iLzOpyz5WVvSqjDGUMyv05CqaryK G4W5CtdTTWdbSgFUQ2/KHmCiXvWgjbJaO0RfYKz0YHSU0vLQvOW1ZKCKkKOMic6/XxHEP/ X07fi4FnE+TxufkuHQmgIhmbgoDJzVDlHcvkAcHWjBFTMN7yZQF4pppmf6I8PA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690804734; a=rsa-sha256; cv=none; b=EJHRroFmEz/KARVUz+da9256EbnW8MjixcevGakn/DsVj8y+ma2Y1XdIb99E4K43OxgKAS hjH6uRgOIWuEbiYQSRKN37FC4sD6N6PpWHSw0OlyG1S3uQZl7sk7Lst6DWXwIU3G8v93rD qrZR0V6QD8YY6dAeYb2WbQ3WmexO6tQYAGc4dP2h2LGC2jGl8PgeDrLxhG7aO211jwFWd9 sDjMOY+dk44G5hK84Q+hgQ/NUrMiYnvSTlYwm+uLxf8EEJBmQzVZv3NJcV71hp68FSbomR P7s6lloUyqdalA+mniXw2NO5F21HFX5V+U2tYKaCid7ENvkW9x4NMHg1UqOD+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=eqJH1H89; 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=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQRXF-0003Cj-DN; Mon, 31 Jul 2023 07:58:01 -0400 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 1qQRXD-0003BF-JW for emacs-orgmode@gnu.org; Mon, 31 Jul 2023 07:57:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQRXB-0001z8-5U for emacs-orgmode@gnu.org; Mon, 31 Jul 2023 07:57:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 03C85240029 for ; Mon, 31 Jul 2023 13:57:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1690804675; bh=+XwpwgRz4kTnZUi1RJ3m40dUOdCivMzrCNkgamiLD50=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=eqJH1H89YElu4j7zGPMYCPs4ECkjqiVq3QbAzWb+qpB4ZhEqMmyj9ijQkU4/oKL2N 7VWPjuaebkrbdYJHwXxYqp3Ir4hAnl0jsaME3b/aWcwArLwUA1rMgbvagPddy5He8O lXaVulJT1GBsk0XNUNM717kiHM/MvybVcvbDZLr/yxKMIINcfDXd5U/RXlnuNxI+zp eI4KS7U3P5cuIV3RJRac68zESMOQIaAk1ZDFuAvGDjvn6oL39M4dOrPGy7pWm4+DfY 2gdHg2FBE1cu7ZybXEw3K83tqRjFLah9kaeP+/PHOiHL3IBpkSTKQ7ZCJ1rhHKS0wX +Kr/ri2YNfPjA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RDxZT6g5zz9rxH; Mon, 31 Jul 2023 13:57:53 +0200 (CEST) From: Ihor Radchenko To: Jonathan Gregory Cc: "Dr. Arne Babenhauserheide" , "Victor A. Stoichita" , emacs-orgmode@gnu.org Subject: Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?) In-Reply-To: <87jzugb914.fsf@autistici.org> References: <87bl9rq29m.fsf@gnu.org> <87a5w0yvhf.fsf@localhost> <87ilam3bv1.fsf@autistici.org> <877cr2id09.fsf@localhost> <87zg3uxyba.fsf@autistici.org> <87sf9lv9ta.fsf@localhost> <878rbchyt9.fsf@autistici.org> <87edl3xdhe.fsf@localhost> <87tttyjw6b.fsf@autistici.org> <878rb990n5.fsf@localhost> <87r0p1pk2y.fsf@autistici.org> <87jzus8ive.fsf@localhost> <87mszj99n0.fsf@autistici.org> <87edkvm6kv.fsf@localhost> <87ila696wu.fsf@autistici.org> <87a5vh95wg.fsf@localhost> <875y65cy0r.fsf@autistici.org> <87ila4fpw5.fsf@localhost> <87o7jwazmn.fsf@autistici.org> <87pm4bp4qu.fsf@localhost> <87jzugb914.fsf@autistici.org> Date: Mon, 31 Jul 2023 11:58:09 +0000 Message-ID: <875y60i97y.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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-Spam-Score: -7.95 X-Spam-Score: -7.95 X-Migadu-Queue-Id: 4F9883FEB3 X-Migadu-Scanner: mx1.migadu.com X-TUID: iFBenAl3zK8y Jonathan Gregory writes: >> For example, python2/3 or MathJax4,4- were breaking and some >> people were relying on legacy code. So, we had to provide some >> extra versions checks and toggles on Org side as well. > > We're talking about different things here. Lilypond needs the > \version to upgrade the syntax. IIUC this makes it possible for a > future version to compile input code correctly, even if it was > written in a previous version (which may have used some different > syntax), as long as the \version is included in the main file. > There's even a `convert-ly` command to make upgrades based on the > \version, so I'd suggest moving only \paper settings to the > ob-lilypond file and keeping the \version in the source file. May it be possible to mix multiple \version commands? So that we declare \version for \paper and user can declare other \version for the code block body. >> #+begin_src emacs-lisp :prologue (org-babel-ref-resolve >> "test[]") >> (+ 1 2) >> #+end_src >> >> It think that it will be logical to add reference resolution to >> :prologue/:epilogue. I will see what I can do. (I may need to >> look through which header args are resolved and which are not - >> there seems to be no consistency) > > What do you mean by reference resolution? #+begin_src emacs-lisp :prologue test[] -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at