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 EPhcGJhQQWP0bQEAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 12:27:36 +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 eCCLGJhQQWNDUwEA9RJhRA (envelope-from ) for ; Sat, 08 Oct 2022 12:27:36 +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 EAE62386C5 for ; Sat, 8 Oct 2022 12:27:35 +0200 (CEST) Received: from localhost ([::1]:54302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oh73K-0006Mm-8u for larch@yhetil.org; Sat, 08 Oct 2022 06:27:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh70u-0006Me-Ao for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 06:25:00 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:37717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oh70o-0007zC-3k for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 06:24:59 -0400 Received: by mail-ed1-x536.google.com with SMTP id w10so10014417edd.4 for ; Sat, 08 Oct 2022 03:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=qXtKO1zqZ0laavF3hGRtR50Q7tStRQaT9GU9oTroFo0=; b=c2KLyJB56PqPNdYndmR1WZ3C8SxNhWg2+XeKq1eCQ5pnzGWT8sL/IDg8oPuS1iyhB9 soGsnvf81mATagj3G5/DrKMoKa6Gi4PiEgDKrs40K1PRMu5TfI8R23RiN2LhkBNYGavz cRjjsmiQcdkKwURHdpB+dJv8VMduI96sab6AgEAfBaDHGYO2/b2hF9AL6E8I1pY+Kw5h OTvTrpJk0UMCmCDpL42nEc+K8ysqygUIoDI/m1bmYbgqfKt1ob903FpgU9bYhdq3gXhB 19r7ZZS2Jnkr871CjopP5CTbTCiWwk8arPQwIQszRcj9Vpeaoz+uqXM7PHkkROneQ+Ca P9Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qXtKO1zqZ0laavF3hGRtR50Q7tStRQaT9GU9oTroFo0=; b=2WGkfaQqmEF3EDLaM7ZYY8Mi85ZoKehYtg6gQcg+XijS6zg7ja5q6o90UJ1aHTUrEX Ctqa/msTCYn6Uo9ZMQzFsZVadfK4Ec/xhd9cBArl7H7zddMXdPbe4NFvSFOnJMk+pdKD fc3mkayl4pEIQ++YDd5Rg0/1kZqs07AZSuL5ilUpkVdiwGxjJ/9IUDyAMiTGajYg/XF5 a3eV46mQsOAoaNB56kzgq9V+lWEmcD2WetWlAqp4ONRac1FsrbH90ht6/DPJ3CRa7wth Yc3rqSZfVbDm0iAFW5K6DiKE5Uwk7ST4Mj9SkzNseqJOjWeFDFpAr6k9NI6CUJSMX+Ja baPQ== X-Gm-Message-State: ACrzQf1lH96b1mJLZCxaHla3qeQza2oQc6wS4uJKbQED2EQyBRRGAW0m eQsRQ0o7n7AKX8Z6mGZUX8eB/GXR/3eIwt15EMtS+WT3gvk= X-Google-Smtp-Source: AMsMyM4Si3jRDLIHH2o5REKaB1S73Io/ySZC6Ga4YrVa1soS/dzPJlL3JCFCnaB7vCziU2IwDLuNwEkggdmjtKgl5QQ= X-Received: by 2002:a05:6402:410:b0:451:ea13:4ed7 with SMTP id q16-20020a056402041000b00451ea134ed7mr8797878edv.262.1665224689989; Sat, 08 Oct 2022 03:24:49 -0700 (PDT) MIME-Version: 1.0 From: Chris Clark Date: Sat, 8 Oct 2022 06:24:38 -0400 Message-ID: Subject: Add 'backend' header arg to clojure code blocks To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="0000000000001e610505ea835607" Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=cfclrk@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=1, HK_RANDOM_FROM=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=no 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" 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=1665224856; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h8N2C2TdDjRjVVl9w5D8IrQL2aUiVlRdHiDD1UqNHDM=; b=J6ZMzBKMuRzYzj0XjTJkOd73eYtk4aIbtLJIpB8HVUA06qEq2jwa39Rv78bN/Diy2f8zuZ DJC7byfhXcTAg49K2GcnzMXppeokDxhqIFB9dnlTORaelqWXOFHwZpmJhaqxsNdzHeJ4+b aezA3/mlLKoeWZJfpVo7tO9F0nx0W36UCTcb5eaiCsaAxKL7hQPspdhN0u97zdoO0zRdIJ UyRp8vy2JlB7GHRgFJjt0f/Zv+x2eBeZooB12oQqujyPDvmSDqt4SfMc9oy322CJl+DHGW NNzNvSVIhbRYvERnW/8Lyj34fmIwux8BiFSB2IZY9g5L0PLAYoRF2VrO4gPcHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665224856; a=rsa-sha256; cv=none; b=Go+9+qB+6Nrx1TbZjxGf2tITcjrOeR5cRo5CY+GVUXbefLBlKz2QSVfhP1/0LoTAO6VRxL sWcLCWAHHKfA1+PTaQr/BNNjXbFbYiyQoYIBFOAeR7Q45pd3Wck5e3Foq2eFcu8MtLqdgs SLK7cYauxFMz7muLIJ89R3uqITeypwnACoNsU7Cl/ax+eliy+gCTmPOSycOXglzkZiXCo0 +JobdJHxx8Rw1/foyR8tHGhUj0e0cPi4tPG0XiFGhxBz/DT2oZULUyDWjdtxkZ/FwPFkjT dtPqNh/dkZoTxDkyrDHEsWJ3A2nsuYYswraxFYsfpX1LtJd3dPn75ekpCanPzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=c2KLyJB5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=c2KLyJB5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: EAE62386C5 X-Spam-Score: 6.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: gTsqs0BK8pPf --0000000000001e610505ea835607 Content-Type: multipart/alternative; boundary="0000000000001e610305ea835605" --0000000000001e610305ea835605 Content-Type: text/plain; charset="UTF-8" This is my first attempt to contribute to org-mode; please let me know if I'm doing something wrong. Attached is a patch to incorporate some of the changes that were originally presented by Ag Ibragimov here: https://list.orgmode.org/m2y2oimdjf.fsf@gmail.com/. I've been using these changes locally for a long time, and I'm hoping others might benefit! For example: #+header: :backend babashka #+begin_src clojure (range 3) #+end_src #+RESULTS: : (0 1 2) --0000000000001e610305ea835605 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is my first attempt to contribute to org-mode; p= lease let me know if I'm doing something wrong.

Attached is a patch to incorporate some of the changes that were original= ly presented by Ag Ibragimov here: https://list.orgmode.org/m2y2oimdjf.fsf@gmail.com/. I've been using these changes locally for a long time, and I'm = hoping others might benefit!


=C2=A0=C2=A0 #+header: :backend babashka
=C2=A0 =C2=A0#= +begin_src clojure
=C2=A0 =C2=A0 =C2=A0(range 3)
=C2=A0 =C2=A0#+end_s= rc

=C2=A0 =C2=A0#+RESULTS:
=C2=A0 =C2=A0: (0 1 2)

<= /div>

--0000000000001e610305ea835605-- --0000000000001e610505ea835607 Content-Type: application/octet-stream; name="0001-ob-clojure.el-Add-a-backend-header-arg-to-clojure-co.patch" Content-Disposition: attachment; filename="0001-ob-clojure.el-Add-a-backend-header-arg-to-clojure-co.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l8zr3g0c0 RnJvbSBjYzcyZGNhYzMwNzViZTc2ZT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