From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 GGvKOZStW2PT5gAAbAwnHQ (envelope-from ) for ; Fri, 28 Oct 2022 12:23:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wLJ7OZStW2N1ZgAAauVa8A (envelope-from ) for ; Fri, 28 Oct 2022 12:23:16 +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 A45229880 for ; Fri, 28 Oct 2022 12:23:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooMVp-0003ji-Fw; Fri, 28 Oct 2022 06:22:53 -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 1ooMVb-0003Xq-EK for emacs-orgmode@gnu.org; Fri, 28 Oct 2022 06:22:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooMVb-000871-4g; Fri, 28 Oct 2022 06:22:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=XThNGQi8OfhKobXJUaCYII1MZa6qXQuVeCGcFlN4l0U=; b=Cbr/tXdnx8BIJ9GCAykW 1hideihEj7bwtVCQPNuvNL0roPHktO9b/BDBNgQ2rxM+uo2aSImNrW2WsAy5sufO/NiZui8RQHcBJ PPoz07MWrDSP3CSzhcYrfVk9cS+f6vWGE3nWqo2eCpC8mgf1D6B1k6xajNd/AyLu275W+j79bvBqq cM1QemCxX6ac7vrWuYxkHpgZwCu6rb+l183Si6djK5FR0IGdnASVvBRNW1QXevpYDepCCG3hF/gWn NXsXN6DDMIQ1KeeT71GCLip3gluBidQsrBoFSrI6QJlckc7Ge6iYJzjxi7SxliumMoJSof5ydBlYK QeZUdGfx52QiXQ==; Received: from 77.127.95.79.rev.sfr.net ([79.95.127.77] helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooMVa-0006Fu-DO; Fri, 28 Oct 2022 06:22:38 -0400 Received: by hal (Postfix, from userid 1000) id B76541E0413; Fri, 28 Oct 2022 12:22:35 +0200 (CEST) From: Bastien To: Daniel Kraus Cc: Ihor Radchenko , numbchild@gmail.com, emacs-orgmode@gnu.org Subject: Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list In-Reply-To: <87zgdg8g2e.fsf@kraus.my> (Daniel Kraus's message of "Fri, 28 Oct 2022 11:09:08 +0200") Organization: GNU References: <62520bbc.1c69fb81.d855b.549fSMTPIN_ADDED_BROKEN@mx.google.com> <87r0yvoycr.fsf@localhost> <874jvp9wsg.fsf@kraus.my> <87r0yss54r.fsf@bzg.fr> <87zgdg8g2e.fsf@kraus.my> Date: Fri, 28 Oct 2022 12:22:35 +0200 Message-ID: <87o7twqmc4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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=1666952596; 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=XThNGQi8OfhKobXJUaCYII1MZa6qXQuVeCGcFlN4l0U=; b=muj8P2989Ha5YR2uGKjwAZckOQ7BlGYRHw+s4jm9rGm3D+DrkUGOmly7TXG8d138GoX94W 7alki0vB1lDxB7+qR/VV1Yu5aN3Ga7WEaq/3iR5ekLZU8UYChT/CKvKbryqVGlFqEInokq 1O5I1JTsC4x0Rzwi8y8ZIOGf0ayQEyyHCmFZ5CNgoVdp1ZOuWXG8PJ1nV8J91WkM7E66A2 JHY6IeS9ERbkWDEfY3Y1obaLAMQ1np653OtxR/tkTV/hejjNuRpKhdDeWdvkA0cdI4H/QC 3B+imrE8F67BH5qdlH/NZh/06di8APXzEjdnn91WxMLf8xWHjFIawtrMMr+X3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666952596; a=rsa-sha256; cv=none; b=azWY8jhgxCrcfXkAenk4y9U6izJ7foXJZkP5DPs3SOZTOy2oxZz/CdUAcaX5gFYRSXdxP9 O88jFjyZa5UJosjFjx/TrprThijq6l5t4oPLckNwvLEhyd033aBcUEUXpC5svDig4spc2m qvAnGz2ENIsDTwSfgfOYPDkg9IQemn0FiiUrUifFJBuYx1tFpnqCa84tnnIE8CnkISsJdq VDLBigP3XM+rAMiQZmyfGewzH/yEfUtHJ6MlnEDD9RHeqBO8od/pz/PgHzunfolxriiAVD SsXY5lMuVSmU9IHLkSclg2guo/8cqTlbEz6fKzbL3/AzzocMVpVhQQLycgMn4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="Cbr/tXdn"; dmarc=pass (policy=none) header.from=gnu.org; 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: -5.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="Cbr/tXdn"; dmarc=pass (policy=none) header.from=gnu.org; 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: A45229880 X-Spam-Score: -5.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: /U9E/vmyxEdj Hi Daniel, Daniel Kraus writes: > I would set it to (and (executable-find "bb") 'babashka) so it's still nil > when babashka is installed? (You mean "not installed", right?) > Or we could even test more available backends like > > (cond > ((executable-find "bb") 'babashka) > ((executable-find "nbb") 'nbb) > ((featurep 'cider) 'cider) > ((featurep 'inf-clojure) 'inf-clojure) > ((featurep 'slime) 'slime)) > > Or is that too much "magic" in that on some systems the default is bb > and in others it's cider etc? I think this is acceptable magic: perhaps we should first check what is done in other Babel languages and align with their level of magic for guessing the correct executable -- but I suspect Clojure is a bit special here, in that it has a lot of different options. Thanks for taking care of this, -- Bastien