emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ob-clojure] Clojure sessions in Org Src buffers (was: [PATCH] Set Pytho


From: Ihor Radchenko
Subject: [ob-clojure] Clojure sessions in Org Src buffers (was: [PATCH] Set Python shell in Org edit buffer)
Date: Fri, 12 Jan 2024 11:58:18 +0000

"Christopher M. Miles" <numbchild@gmail.com> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]