From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EP1xA6PAXGOJ2AAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 07:56:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WA9tA6PAXGO7cQAA9RJhRA (envelope-from ) for ; Sat, 29 Oct 2022 07:56:51 +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 CC9669C25 for ; Sat, 29 Oct 2022 07:56:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooepg-0001ll-MR; Sat, 29 Oct 2022 01:56:37 -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 1ooep1-0001NE-S5 for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 01:56:02 -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 ) id 1ooep0-0003jb-4s for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 01:55:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CC2A1240101 for ; Sat, 29 Oct 2022 07:55:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667022949; bh=h3tQ5ybxcIWGlTr0N+v02S0RFrycn6LhLG8cJPgMRLA=; h=From:To:Cc:Subject:Date:From; b=dDw5NkMENCbJkxac/d7obRQ9Ky9qgJyGkEX4J5WPg2/hH5ZqG6XXxdBZhVNgecuXK 0r2t0TvjYGNlJMmWHD+yCMg+nvhRljKLzF9oKxqyajv4dYuAd93/SpuaZLsMGoUmEs F279w3jXCQfDOAZv2QdRQg7gWEnsy1rSw8pTixMHOq/H6FSN7OqcQ5aQtq5MeiOLn8 3pp5DVfj/zdcvqarXdnu4FgefVrscNTE6Pv8OsbRYSOFlsWkKVVK3s4mX8L4G5lcqu JYmDtHM2L4pnFB4SbfZdBFYRWQEyjOJA8BXK6bI40VKaMzYW1oB9HQtv9XlcARX7ek 0jRqAXALTEtiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MzpYc6Rqbz6tr5; Sat, 29 Oct 2022 07:55:48 +0200 (CEST) From: Ihor Radchenko To: numbchild@gmail.com Cc: Org Mode Subject: Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list In-Reply-To: References: Date: Sat, 29 Oct 2022 05:56:32 +0000 Message-ID: <87o7tvi35b.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: -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_MSPIKE_H2=-0.001, 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667023010; 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=KscADF8ziy1oJxGaii+0/L0K/0Vi8PMZXynKFCvilnY=; b=EbblH8DWc+GtA9mkT26ykH6SjNZfxhPJ9IJa4ZqGsbgByJdHPx5ZTVqMfcFLJwAa/Iao+z 0mkZ0ERxp7nWvJ+8YuipDzoV8lnnNohP0ksU+yTElstYXCMBkVK6hxA3MM3Z4QvjhtZ3GP mSWYy0H61w6XDh24uh5hMMv9lLhPSG+8oEouo0/yPxV2N9/n/2Ui2ygmJYbYRlk+Fz34cc eFBq1RMMrlsbrvh5mUY/bb0Fo4RHyUTTzt/wQVfgmb0b/rZAkKxjdIAcSpkp+Crt7qfoT4 Z850mv+JGx/9ZwFsvcRPEWHek3XYzZdHAEzWqHPRVlUrRZRhKjUUX3uf/MpgXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667023010; a=rsa-sha256; cv=none; b=lZCAPasopQztcTt24IU99oI96zu2oYnG7LOs/CbIwKMiiLapJl1HyzbHXtfTezz47dbUe3 0brin1MpQoTa6BmfJnRRC4SoXQdhdFzghmiEPhUyVysAQcXU9mRap3WEeO78dB2SlXCFbC QY+geYnUte/Iy+CA0/mXcAjKwd7UnFhI90fkaVTKhxsnNYF8syiIidTDIc2jiFDma7GFAC vD6KQoHrkaAhU5s+aRGE8Eqh8fqNNIbcIjB9aoIFn8ZxrE/Qd55pWn7adZYwRtIK0HcZfK ut+dfR/0i2/uZDbvkOZjzqV15GVTyvuE8qykxgPb/E5VW7zzNX9JwYZFlvPSQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dDw5NkME; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dDw5NkME; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: CC9669C25 X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: ARBDjkhqiyqw "Christopher M. Miles" writes: > Any review comments about this patch? I have sent the following comment shortly after your followup: "Christopher M. Miles" writes: > + ;; variable's value is a list from org-mode passed table or list. > + (if (listp (cdr (car vars))) > ... > + (format "(let [%s]\n%s)" > + (mapconcat > + (lambda (var) > + (format "%S '%S" (car var) (cdr var))) > + vars > + "\n ") Do I miss something, or you only test the first variable assignment here? What if there are multiple assignments (:var a=X,b=Y)? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at