From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yGhKBxQYwWRxAwAASxT56A (envelope-from ) for ; Wed, 26 Jul 2023 14:56:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UKIgBhQYwWTlXQAAG6o9tA (envelope-from ) for ; Wed, 26 Jul 2023 14:56:52 +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 74AA96D579 for ; Wed, 26 Jul 2023 14:56:51 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b=E2OR0Pnv; 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=reject) header.from=autistici.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690376211; 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=FqcR2X7FK0+EnmVpjwZkTCxoSE+JhNg0BzEPe+onbVw=; b=b7aedsvnsTmI/Jx44CTM9EcmeO3/26m1ysG8+NM/61azFk8eaIERsJ0SIhOkHxnTjm8U8E 09Ta6Enm9KMYIRQJZVu63YCGZqwpVq+9AbNMKxCYqo6RxxpX2VxLF8Tsb0/QKgaoJEByV9 LCwtZPAOdFHlx+jCI/JctDxpbq3Vc9IsdAFr4nC0UL8dHPHBn7uRIA36S2PtV06d+7bCFb ho7iGQpwShr/zyqZMPM1pExLdJvB4zRG5kxDBlfi9wNDnp/Tf7gl5dkQ8rfE+4cIYgr+ka KL5Z9SyjLPR0M9jmDJ3QLeqoQB86Vje8YOgyVW1Jt2mPJ2me64Xho+8sa7sTeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b=E2OR0Pnv; 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=reject) header.from=autistici.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690376211; a=rsa-sha256; cv=none; b=toMB+190LWx3YxHxZIZIFZRjo1exXmIyDpIGJTxTtkmzeQksACiDfepDgKrJuKtDLwF2PJ X8fdhd4tZIzUcxl9iH0iKBiQkL7epp1BC17aiaHLXx8JtoF6MBBOBiztVDFZIktZE1aUS/ 9KaEbitJXOLM/ky/GfDK4MTG3WbSeQirP4aYbxMeIX1LnbaBnox3+qW5VjfB+5esTpwJfD idL6bejWInP1LXw8ALFB/wqy+VFdq02HwnCxfQU0x4ohlH15DdTLhRdxsjY0eWVvV2NCSo r02QjP1otMd5rpSx2srOPnGJjE85hDkfj+p64xH0Txr/zR76/e397zyukgeyJg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOdvH-0005WL-BL; Wed, 26 Jul 2023 08:47:24 -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 1qOdv5-0005VC-Nt for emacs-orgmode@gnu.org; Wed, 26 Jul 2023 08:47:12 -0400 Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOdv3-0002Gz-6Q for emacs-orgmode@gnu.org; Wed, 26 Jul 2023 08:47:11 -0400 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4R9tvY6Kb7z6vGG; Wed, 26 Jul 2023 12:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1690375625; bh=FqcR2X7FK0+EnmVpjwZkTCxoSE+JhNg0BzEPe+onbVw=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=E2OR0PnvYsjjiG2Guw7BLoT5TZfxgsGmJxTQVJa85O5iiuklVg5Ib+6ZtS7cbjbm3 MIoP1BWX9sdWzwmuEuyLGsmfPanAl0qsXUx4pip/9K2koTIGHLlD42QPSVGQRLtzYP UYhFT2YMHAh2BZMdiDE4AZJ1Pl/+hBUmc3G0ASkg= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: jgregory@autistici.org) by localhost (Postfix) with ESMTPSA id 4R9tvX0PDnz6vG6; Wed, 26 Jul 2023 12:47:03 +0000 (UTC) References: <87bl9rq29m.fsf@gnu.org> <875yzzilq0.fsf@cnrs.fr> <871ram4x83.fsf@web.de> <87a5w15jur.fsf@localhost> <87fs5svjqb.fsf@autistici.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> User-agent: mu4e 1.9.0; emacs 28.1 From: Jonathan Gregory To: Ihor Radchenko 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?) Date: Wed, 26 Jul 2023 09:35:31 -0300 In-reply-to: <87edkvm6kv.fsf@localhost> Message-ID: <87ila696wu.fsf@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=198.167.222.108; envelope-from=jgrg@autistici.org; helo=devianza.investici.org 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -8.72 X-Migadu-Queue-Id: 74AA96D579 X-Migadu-Spam-Score: -8.72 X-Migadu-Scanner: mx0.migadu.com X-TUID: f+C839zkrusL On 26 Jul 2023, Ihor Radchenko wrote: > Ok. That fix has been already installed. > https://git.sr.ht/~bzg/worg/commit/6f69d212f41bc372426dc9b4df286638fe8f2a92 To the extent of the lilypond.org file, yes, but only if the output is a PDF. My suggestion is to revert that commit and incorporate the changes into ob-lilypond. > The other patch for ob-lilypond itself does not appear to be > necessary. I though that you are trying to extend ob-lilypond in > that patch. If not, I still do not understand its purpose. I > assume that it should be ignored. No, the ob-lilypond patch is needed. It allows users to generate music fragments (as opposed to a full page) in basic mode using pdf, eps, and png. >> Anyway, I can add version and paper settings as well, but those >> are user settings and I'm not sure that hard-coding them is a >> good idea. What I don't like is having to repeat >> <> everywhere. Is there a way of telling >> org-mode to insert a noweb reference from the header? Something >> like: >> >> #+PROPERTY: header-args:lilypond :prepend <> > > There is :prologue standard header argument. However, it is > currently not supported by ob-lilypond. (which is a bug) Can you show me how that's done in elisp? I would expect the last block to output "foobar". #+begin_src elisp :noweb-ref test (setq x "foo" y "bar") #+end_src #+begin_src elisp :prologue <> :noweb yes (concat x y) #+end_src -- Jonathan