From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OJErJK3euGSfLgEASxT56A (envelope-from ) for ; Thu, 20 Jul 2023 09:13:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CNhlI63euGQ5jAAAG6o9tA (envelope-from ) for ; Thu, 20 Jul 2023 09:13:49 +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 450E734F86 for ; Thu, 20 Jul 2023 09:13:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=B75qb7bg; 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=1689837229; 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=aQ+vqGJUIfw1IPa/Z0e5d7lx3IaUPI3pr21pyGk/a/E=; b=W/IwtmYLOOPMTBn9Icr0F04u3MLIm/kqyWSGOCX93muUiLjuYsWcP5pJlS7/Hz/3cUnfB3 I4nD7c0ryIa9wvxj0Z3AZYYYYdyqK0nGgc0WL5ioLPG/Xr7F6FFVFZYSdS/xnezsiykei4 jblVvH7Hveh48kbhWpdHHdxrDSixSZ9HJjbJlNUMjhL422opW1ud/Co74qyDlnRVIs++DH AQyhT535e5tjpCiC0vQEzToc1GNgXv+3ZJ05/Dx2WrLn3X3iJ7yXYPhMGNPt8n6NzG+Sfv p0L6ZQZ65cZHSXYpZp6VUH2BMJUbhkOTUD0tahq0ZdF47ohSrmUjWnM74SpCKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689837229; a=rsa-sha256; cv=none; b=ZnXEB/0C3Zp46b8UCTMa71OhwYPQfcTKcmJOuRcNnz6g58tGQm7Q3mpQ+vpBTHECe/9+15 uGfLYxVi8iR1/IuAzCvnt7kMGoKV5iI1wWdcsodR6uzauqK7ExX1DS0zO+5SpQ16xImUZR pjLnL/5xn9NqC7fwK+mV1Peiz0FXboX+jdWBZfRFI087gz0p+LnL1UtxBsaESa4EQK0jGy 6yUkEVCbEmj/KA56bV1GK/CkBUR5B8quyVRA4RTAF40wokrfHoGepKUak6R3usll80/Vdu aWpuu0oamera2bABWZEp1AHR6zna6AU88kWHKt7esq91b6MmMRuRjLOplRiSYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=B75qb7bg; 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 1qMNqM-00083w-Rp; Thu, 20 Jul 2023 03:12:58 -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 1qMNqJ-00083l-CD for emacs-orgmode@gnu.org; Thu, 20 Jul 2023 03:12:55 -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 1qMNqH-0006xr-Kq for emacs-orgmode@gnu.org; Thu, 20 Jul 2023 03:12:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A1FF0240027 for ; Thu, 20 Jul 2023 09:12:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689837170; bh=rDEsxJXVmwcPoC9Z9oCCSjYXT2jpTv39XUoHu6+jL3E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=B75qb7bgcQeAGupUCu5GlH/pNBjM3fgGQq2N1uba07LiCSwbVZTnithItMizvr8yY EyNWKjNJxdceEjyWfEu01edSGRs9jzetBxaRXnCYwBdlsczsaAXot4QVwBuHEz1MPl wEGhoqe/RpziQttNAT6WD7YihWYKH7OaMloPIZI3YU0rIAnfn931dwzFEnOZVRbDX4 d6HU7HazJJip/wbxyge2kUWgGXe8/KGx/666QXu1bR7pri/keHhUe7zfzMWjtPgvLG +MoAVO6iUnEmKUeiMjqjtqC9Qxj30B5liJuiCLZw2wEsQj+0vP3HHLaNmMW9PUon8/ h95pCkkLdOsCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R63md6zymz6tvs; Thu, 20 Jul 2023 09:12:49 +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: <878rbchyt9.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> <87sf9lv9ta.fsf@localhost> <878rbchyt9.fsf@autistici.org> Date: Thu, 20 Jul 2023 07:13:01 +0000 Message-ID: <87edl3xdhe.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: -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." 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-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -7.82 X-Spam-Score: -7.82 X-Migadu-Queue-Id: 450E734F86 X-TUID: 2Xj3TdxaypaW Jonathan Gregory writes: >> 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. > > That would be even better, I agree. > > Can you test my patch? With your patch, I cannot produce png output. The file is just not created: #+begin_src lilypond :file ionian.png \relative c' { c d e f g a b c b a g f e d c d e f g a b c b a g f e d c1 } #+end_src > Command-line options are normally added to > `org-babel-lilypond-ly-command`, but since we're trying to set > variables conditionally to accommodate different versions, I don't > see how we can do this without using scheme. WDYT? Your approach seems fine. It is not uncommon for babel backends to add extra code to the src block body. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at