Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-30 Thread Ihor Radchenko
Hunter Jozwiak writes: > From 2dc78a7edbbe38614a5f7fafa2c295f52528f04d Mon Sep 17 00:00:00 2001 > From: Hunter Jozwiak > Date: Mon, 29 Jan 2024 12:48:41 -0500 > Subject: [PATCH] ob-scheme: document the new header arguments. > > * org-contrib/babel/languages/ob-doc-scheme.org

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-30 Thread Ihor Radchenko
Hunter Jozwiak writes: > Here is an updated patch. Applied, onto main, with minor amendments and adding TINYCHANGE cookie (you don't seem to have copyright assignment; see https://orgmode.org/worg/org-contribute.html#first-patch).

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-30 Thread Hunter Jozwiak
Ihor Radchenko writes: > Hunter Jozwiak writes: > + (host (cdr (assq :host params))) + (port (cdr (assq :port params))) >>> >>> Please declare these new scheme-specific header argument in >>> `org-babel-header-args:scheme'. >>> See `org-babel-header-args:C' for

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-30 Thread Ihor Radchenko
Hunter Jozwiak writes: >>> + (host (cdr (assq :host params))) >>> + (port (cdr (assq :port params))) >> >> Please declare these new scheme-specific header argument in >> `org-babel-header-args:scheme'. >> See `org-babel-header-args:C' for an example. >> This is necessary

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-29 Thread Hunter Jozwiak
On Mon, Jan 29, 2024 at 8:15 AM Ihor Radchenko wrote: > Hunter Jozwiak writes: > > > Here is a patch that provides this functionality. > > Thank you! > > > Subject: [PATCH] org-mode: allow ob-scheme to accept a remote connection. > > > > * lisp/org/ob-scheme.el (org-babel-scheme-get-repl):

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-29 Thread Hunter Jozwiak
Ihor Radchenko writes: > Hunter Jozwiak writes: > >> Here is a patch that provides this functionality. > > Thank you! > >> Subject: [PATCH] org-mode: allow ob-scheme to accept a remote connection. >> >> * lisp/org/ob-scheme.el (org-babel-scheme-get-repl): introduce two >> optional variables

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-29 Thread Ihor Radchenko
Hunter Jozwiak writes: > Here is a patch that provides this functionality. Thank you! > Subject: [PATCH] org-mode: allow ob-scheme to accept a remote connection. > > * lisp/org/ob-scheme.el (org-babel-scheme-get-repl): introduce two > optional variables host and port. If there are not

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-28 Thread Hunter Jozwiak
Ihor Radchenko writes: > Hunter Jozwiak writes: > >> i am curious whether or not it is possible to connect Org babel to a >> remotely running scheme REPL, more >> specifically the Guile REPL that you get by running something like guix repl >> --listen=tcp:37146 > > ob-scheme does not have

Re: Connecting to an Already Running Scheme REPL with org-babel

2024-01-28 Thread Ihor Radchenko
Hunter Jozwiak writes: > i am curious whether or not it is possible to connect Org babel to a remotely > running scheme REPL, more > specifically the Guile REPL that you get by running something like guix repl > --listen=tcp:37146 ob-scheme does not have such feature. Although, it might not

Connecting to an Already Running Scheme REPL with org-babel

2024-01-28 Thread Hunter Jozwiak
Hello, i am curious whether or not it is possible to connect Org babel to a remotely running scheme REPL, more specifically the Guile REPL that you get by running something like src_shell[:exports code]{guix repl --listen=tcp:37146} If so, what are the header arguments I need to put into