From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AFxOKNUooWUpRQEAkFu2QA (envelope-from ) for ; Fri, 12 Jan 2024 12:56:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2GnSItUooWWkNQEAe85BDQ (envelope-from ) for ; Fri, 12 Jan 2024 12:56:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=cCoevRMR; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705060565; a=rsa-sha256; cv=none; b=jA/ulRzgzV+NG2tKIbtGGMREyrZZR7FQJdRS/5sdYOUmw4fXb+NjMbcI9+dN4meuEltfNf /fNLytIjw7HLiBIIb9sOHc50nGla6D7ZuvJx18balteVU+SxwIOHVTXOEphgZo2Ct96Jfr U9PWn4j6DP/TAsColVq03p5d4SpV0Q0kDbZz/yeP+TbtZw0zTNvDEKhk9cIa9fQQbt9rl5 D9jvLevfJLO/2imdYvn28m/VWzvPB/UHRLqJ1uteqFRlupk28GBBEa4Lu/g6anqFtGPQit udT37WtHKGrPo/QzgGaAoF0TDI2eYJIZnEEGnelEUx8nAoG0teY6f2Ods4b0Xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=cCoevRMR; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705060565; 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=d9AQSZM76Gw0J70iOdaLNqvnULgyyjbtzfZPJqBte/A=; b=GIUIAKrWkyGMsi7Mx1PtcsNO5dnr98ZSuK96/1JZb4aikhyyM812HxPI11Ol5R0y1eX8rg vFXzYTslmX26LgYiqw+joLW1hkMjAbeVD80p+uQ/wk4cMtG2t+0G7pKPw/MJN722a0kTt0 2e+++2b+Y7sRQLoxrALref2ua23gjjNA3BaQqNNC6ZjVHCQts0FcFXhVji4pwO9xB5f02g n1osThsO0is0VARZwgGDxAPFsxumfTxwwb83+xrNCzQxDvcKWaJDFKHhvJj6/mOVM/emiX sVitT6l1goVnmOl7I8CXINPkqHZ9jgKKb4hMbCtSklGEs689Xb6q4auHM9aoSg== 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 4D6D627179 for ; Fri, 12 Jan 2024 12:56:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOG84-0005oF-S2; Fri, 12 Jan 2024 06:55:16 -0500 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 1rOG83-0005o6-Vo for emacs-orgmode@gnu.org; Fri, 12 Jan 2024 06:55:16 -0500 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 1rOG81-0000wg-GR for emacs-orgmode@gnu.org; Fri, 12 Jan 2024 06:55:15 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D8B7F240103 for ; Fri, 12 Jan 2024 12:55:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705060510; bh=aLZpB8stc/ElIAq7BkJumWJ8uDJcScNmPehipnaJrd0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=cCoevRMROAQ0fxHT9teGix2n2H/ZjBSmB3IivuMZGa9pAcuAM84S/KVighcZKoE+m 2MBewy7Lm7RqHY9zc17qnnVZU2nGO1MpnAJ57PKnE3T5Te/w7FY2lUDHptwF3gqMrX wiiJ24tH2/evTUcfqvvaXXaZvdRjaAmlAOI8t46m/w9RC2meVfoYlfjTW8IGyiDHgv xv95PfyyDmdoI3dzFtY2a4Xr+PsIP/ee4s1KPL3PY7zPgTcDQA7CdfkefFmq9HFPi2 bhcDZzECiKPYfQ9SoKri5P5EDQvOtAoLeqIolytOqxmVGhUBRnB4jcsHfglGEKzmRU xAJnzF4AMuBsg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TBKj93Rx0z9rxL; Fri, 12 Jan 2024 12:55:09 +0100 (CET) From: Ihor Radchenko To: numbchild@gmail.com, Daniel Kraus Cc: Jack Kamm , Liu Hui , emacs-orgmode@gnu.org Subject: [ob-clojure] Clojure sessions in Org Src buffers (was: [PATCH] Set Python shell in Org edit buffer) In-Reply-To: <65a0aac9.170a0220.e7997.6f0d@mx.google.com> References: <87zfyosw8n.fsf@localhost> <87ttovlb1u.fsf@localhost> <878r6647vv.fsf@localhost> <87bkb2rqer.fsf@localhost> <87edfwsuvx.fsf@localhost> <87sf4bsm1w.fsf@localhost> <87mstw18r4.fsf@gmail.com> <87bkaak0ol.fsf@localhost> <87ttnyz0jv.fsf@gmail.com> <87wmsn6ghw.fsf@localhost> <65a0aac9.170a0220.e7997.6f0d@mx.google.com> Date: Fri, 12 Jan 2024 11:58:18 +0000 Message-ID: <87zfxahig5.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: -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: mx12.migadu.com X-Migadu-Spam-Score: -7.44 X-Spam-Score: -7.44 X-Migadu-Queue-Id: 4D6D627179 X-TUID: IJc6PXljJufE "Christopher M. Miles" writes: >> (or (org-babel-comint-buffer-livep session) >> (eq org-src-auto-initiate-session t) >> (alist-get (nth 0 info) org-src-auto-initiate-session) >> (alist-get 'default org-src-auto-initiate-session)) >> >> With `org-src-auto-initiate-session' being a customization that controls >> whether to associate session for a given babel backend. >> >> We may set the default value to something like >> >> ((default . t) ("R" . nil)) > > I think this customization is reasonable. Note that we are trying an alternative route with asking upstream ESS devs to provide a way to associate session without starting it. > ... Agree to make it as a > customization option, The ob-clojure CIDER session which managed by > "sesman" seems also requires buffer associate with session. AFAIK, ob-clojure does not support sessions inside Org Src buffers - there is no `org-babel-associate-clojure-session' or `org-babel-edit-prep:clojure'. I am not sure if it is possible to interact with all the supported Clojure REPLs from inside Org Src blocks. CCing Daniel - the ob-clojure maintainer. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at