From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SPZnO/uOM2bztQAAe85BDQ:P1 (envelope-from ) for ; Thu, 02 May 2024 15:02:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SPZnO/uOM2bztQAAe85BDQ (envelope-from ) for ; Thu, 02 May 2024 15:02:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=mV0KJYdp; dmarc=pass (policy=none) header.from=umich.edu; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714654971; 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=SgJ4EdKOKbTWbbz1Jg/kTAv4zCVlhDInj9/7UWd3c+I=; b=pbmPX02sy/KtWAMohcGwHb52tp4PLWYooI9sDQ6AlpMSoc8Jy4jkG97877hKaMWPRigIvP BBrU9eY/RGlysobKeEaEhopJQes9gtqK9YevDWHXcQb7Chy24FdW2oed4uW8lNyqlOBUUf 8yADNAUPBDf7YPd7VtJ2/vnCS5Te3KddqB6FS/vypezJSaOOvxWCqkHBLUj5TP+ekmt/Iz P6tyt42IEx5C++Xq+7NhTjdSvgoREHPl9+RypamTG/j7GQScLMP3yj6FiVjBnThm9uk0Lq qap86RcQOTPRL+gxbk5NJBorbpTYzorIJvckhPNt/V6PBpQ+riIBv0RKvTyK4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714654971; a=rsa-sha256; cv=none; b=FUPA+ipvQlcUwDWh81ygts5RR8pWOcSlv6dbRp2xjkGlnXagz3N4csTYpOS9ndctdiD1Pl pgtOEjqw1eS3BDzxHlPGgfJdJbd4SceKiOyu3YB9YV5BgALmN0T8JFDUdjxExDmhrGcZpk 3776mc+F1efB+x85lcGuLtvOXu4Nmru/94Y05lBtWucqCz/fAtbwdCiqwb9qZ9NKjwpIJN ROzntB5CiOeAChFBJeCRlRvZeeAloSgQrMY+d6194WsYhxH6DnFA6tqaO/tbqn9V+eJJ0H AVyDDOlxnSsC6ziMM76rginG2mdmS1LpuNLoGKh0jv3pvXpbFED3q4i5CkycDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=mV0KJYdp; dmarc=pass (policy=none) header.from=umich.edu; 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" 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 211E84C1A for ; Thu, 02 May 2024 15:02:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2W4Z-0002tu-0V; Thu, 02 May 2024 09:02:03 -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 1s2W4X-0002ss-F6 for emacs-orgmode@gnu.org; Thu, 02 May 2024 09:02:01 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.217.159.240] helo=buoyant-modron.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1s2W4U-000165-Uh for emacs-orgmode@gnu.org; Thu, 02 May 2024 09:02:00 -0400 Received: from laureate-coblynau.authn-relay.a.mail.umich.edu (ip-10-0-73-88.us-east-2.compute.internal [10.0.73.88]) by buoyant-modron.relay-egress.a.mail.umich.edu with ESMTPS id 66338EC5.6FBA963.69D63723.3849189; Thu, 02 May 2024 09:01:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1714654916; bh=SgJ4EdKOKbTWbbz1Jg/kTAv4zCVlhDInj9/7UWd3c+I=; h=To:cc:From:Subject:In-reply-to:References:Date; b=mV0KJYdpPXV+r424KcwtH9ZgIQIo+eIGdA2dijNi8bsihQvj46eMlelIGBpgXJfpf QrXjSgxAhI8yYNWbUsc2M2qBPQY2I2lq5163ExZItWddTWtoqHW6f79tc2SqSYRWvM leLhyV5RgL7IRqHiRXUHOC99nb1w098KE4G1CNOXz9CvLw5XgX8L5/yvSm/NSN8M1a Wx4QqmFeTgGYdYfpi3xQufagHANxQaSBBawnO+OQzWFGJup4i27z/KhjQzUYBZYlJz H3QM1pEGcGCXg39u7jkXyPEp6lQq8BuP1xVT6MWXnbjEShNuTFEtwarz1KbwM04iON HfZ7VLhm5CD2Q== Received: from localhost (Mismatch [85.108.168.244]) by laureate-coblynau.authn-relay.a.mail.umich.edu with ESMTPSA id 66338EC3.278C0644.C59DAED.318736; Thu, 02 May 2024 09:01:56 -0400 To: Ihor Radchenko cc: emacs-orgmode@gnu.org From: Greg Minshall Subject: Re: [BUG] oddity tangling src_blk with :var [9.7-pre (release_9.6.26-1368-g1ae978 @ /home/minshall/.emacs.d/straight/build/org/)] In-reply-to: <878r0ts9uo.fsf@localhost> References: <139512.1714212352@archlinux> <87o79tk6w0.fsf@localhost> <182617.1714330440@archlinux> <87cyq8cp20.fsf@localhost> <227290.1714462706@archlinux> <871q6nywb1.fsf@localhost> <313437.1714585312@archlinux> <878r0ts9uo.fsf@localhost> Comments: In-reply-to Ihor Radchenko message dated "Wed, 01 May 2024 17:47:11 +0000." X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 30.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <137773.1714654910.1@archlinux> Date: Thu, 02 May 2024 16:01:50 +0300 Message-ID: <137774.1714654910@archlinux> Received-SPF: pass client-ip=18.217.159.240; envelope-from=minshall@umich.edu; helo=buoyant-modron.relay-egress.a.mail.umich.edu 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Spam-Score: -8.52 X-Spam-Score: -8.52 X-Migadu-Queue-Id: 211E84C1A X-Migadu-Scanner: mx11.migadu.com X-TUID: 4B4tWk7HODDH Ihor, > Then, if the backend does not define variable expansion method, do > nothing. If the backend is not loaded, throw an error/warning (maybe > depending on a customization). great. thanks. if customizable, i'd vote to default with an error. then, for what it's worth, my experience led me to write some code for a command line program (basically, an elisp script) to tangle files. if anyone is interested in playing/using it, that'd be great. the idea is to figure out what languages are needed by walking the source code blocks, keeping track of languages, then set `org-babel-load-languages` appropriately, and tangle the file. ---- https://sr.ht/~minshall/org-cli-tangle/ ---- cheers, Greg