From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
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 0H0JF71dtmQDFAAASxT56A
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 18 Jul 2023 11:39:09 +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 gDcPFr1dtmQOuwAAG6o9tA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 18 Jul 2023 11:39:09 +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 1EAC5641E0
	for <larch@yhetil.org>; Tue, 18 Jul 2023 11:39:09 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=SMdmITit;
	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=1689673149;
	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=Wu1HVphnvSjFBn8MAWqpbfVBURk5Is49gSIBxTpVx58=;
	b=Dm/vH0aIIZt6uILAOUK37FFZ9/jCTri5NwE4vktXFvaWyPIKaO8riVR5I1fBzvdCDaLJn5
	iCmNv0wdIC4jsywLGftG1HOjOrvokTs2a6NgEIOOnX0XR5nPZYsuYDpwycDlLeAZJ0zsVh
	fu5o9AZP6BR7lZYyGMRjFsC18fT761S+2KErwYIUU8Zae5RRKsjGHsIVjWwN/u24Uub1VC
	26b+SVGfFbOtOnHwLAuhFjdk2TIzcgs8XDU+4wHgD/1o92HYgWqiM6Rf0DQpAbcDEIjU7D
	WC4THRv0hSCSR7aJEY0BnF4oRMyepVRTezCz0b/Mak/AqE23ijuWeYbZSPVeow==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=SMdmITit;
	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-Seal: i=1; s=key1; d=yhetil.org; t=1689673149; a=rsa-sha256; cv=none;
	b=klZcO2o/mMqclvebTyYaoIeZsUiflDCaS2IOrOQpW0lQixcjCC9WsLo20vCBlgt1U0V01M
	XZCDEhFGt1jzVn1SR9DlDBrG3DSWw0wnv/NHo/3bnMnHSYKSTSIBL4WmGa7wB871vE7y4O
	ZeUdxv5GM3wj8TmEuyQQ3CdlXH840/gujK6hpRmiGT5d2S1we4LwkOgVrHRiMNH5avmj8s
	gdFFoQoWn3LlG5uIUCmHDj/oGvSp8OwBbKBQbxAdO8ZxMA8bnT3DsC/iXs1y8kLKnktHQe
	A2UV3quPDDrmqZ74RqeOc96ZaesvrFgVjRqxfrtpQ0DYTB4rwIta+KJ3BGyyZQ==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1qLh9z-0003DT-8P; Tue, 18 Jul 2023 05:38:23 -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 <yantar92@posteo.net>)
 id 1qLh9x-0003Cx-BY
 for emacs-orgmode@gnu.org; Tue, 18 Jul 2023 05:38:21 -0400
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 <yantar92@posteo.net>)
 id 1qLh9v-0006iE-92
 for emacs-orgmode@gnu.org; Tue, 18 Jul 2023 05:38:21 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 15881240103
 for <emacs-orgmode@gnu.org>; Tue, 18 Jul 2023 11:38:15 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1689673096; bh=p76FOhiTzC4x69uEzWYbpqGTIPHW198IcZ1GqYsDXRA=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=SMdmITitEKW4HO3Vu9H4U1BNugXO2uBv0YDeiTvBQFfHK9NhOC9gWXoIbNqUiprdi
 B39gj0C75nDv++Ehsvr+rTFVT1VATCjrcURJfjzPm3xRPxPjWrTqGiiiD9OdXwfX+K
 E4uEw8N+QO9F3kIF03xikxhNl/ZAqhpI4eDI8VPnXkS3+cqVkcYhFHhqlTcwxcYVkh
 +FkwDKdH6qnvkp8AK5E0pF1U6g2sirbp/rB6+tXxQKGbvkyU5bH0Rutxrsvbr0TUpb
 wbMmgHHKEXXbElsS7cGi3T9izV2ItJ1Zi0RRf99LbyNuyxhBidXe17z1H75WPuVYqU
 BdugPGMWwQhhw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4R4v5M1vmrz6v12;
 Tue, 18 Jul 2023 11:38:15 +0200 (CEST)
From: Ihor Radchenko <yantar92@posteo.net>
To: Jonathan Gregory <jgrg@autistici.org>
Cc: "Dr. Arne Babenhauserheide" <arne_bab@web.de>, "Victor A. Stoichita"
 <victor@svictor.net>, 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: <87zg3uxyba.fsf@autistici.org>
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>
Date: Tue, 18 Jul 2023 09:38:25 +0000
Message-ID: <87sf9lv9ta.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
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_H5=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: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=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: -4.82
X-Migadu-Queue-Id: 1EAC5641E0
X-Migadu-Spam-Score: -4.82
X-Migadu-Scanner: mx0.migadu.com
X-TUID: nLO/aUa2Vysx

Jonathan Gregory <jgrg@autistici.org> writes:

>> I also checked what will happen with future versions, and it 
>> looks like \version "2.24.1" actually means >=.
>
> That's good to know.
>
> I know version 2.20.0 works without the update, so perhaps we 
> could set those variables conditionally, WDYT?
>
> \version "2.20"
> #(if (ly:get-option 'use-paper-size-for-page)
>      (begin (ly:set-option 'use-paper-size-for-page #f)
>             (ly:set-option 'tall-page-formats 'pdf)))

I do not mind.
But remember that we are talking just about an example file.
What you are suggesting appears to be closer to what we might do in
ob-lilypond itself, when calculating default layout.

Side note: ob-lilypond even has `org-babel-lilypond-toggle-midi-play'
that plays sound corresponding to the lilypond source. Pretty cool,
especially in the context of the discussion about non-textual output
types in babel. https://list.orgmode.org/orgmode/87ttu95xst.fsf@localhost/

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>