emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ob-js and Indium
@ 2019-12-18 17:50 Ezequiel Birman
  2019-12-19  8:45 ` stardiviner
  0 siblings, 1 reply; 2+ messages in thread
From: Ezequiel Birman @ 2019-12-18 17:50 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Hi all.

I wanted to know if a JavaScript source block configured to use a session
managed via https://github.com/NicolasPetton/Indium is currently supported.

I believe the error I am getting is related to
https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-js.el#L47

where “(declare-function indium-run-node "ext:indium-nodejs" (command))”
refers to a function named “indium-run-node” that does no longer exist

https://github.com/NicolasPetton/Indium/commit/3e7f181dca115bccb0cb150fc753ca353be359e4#diff-76bee0dfd13edc6083c22f66c5711149

There is an “indium-launch-nodejs” instead that works with the current
client-server model for Indium.

I'll try to replace “indium-run-node” for “indium-launch-nodejs” and
provide a proper config for an ob-js REPL in a “.indium.json” but any
pointers you could provide to me would be of great help.

Thank you

-- 
Ezequiel Birman

[-- Attachment #2: Type: text/html, Size: 1423 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ob-js and Indium
  2019-12-18 17:50 ob-js and Indium Ezequiel Birman
@ 2019-12-19  8:45 ` stardiviner
  0 siblings, 0 replies; 2+ messages in thread
From: stardiviner @ 2019-12-19  8:45 UTC (permalink / raw)
  To: emacs-orgmode


Ezequiel Birman <ebirman77@gmail.com> writes:

> Hi all.
>
> I wanted to know if a JavaScript source block configured to
> use a session managed via
> https://github.com/NicolasPetton/Indium is currently
> supported.
>
> I believe the error I am getting is related to
> https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-js.el#L47
>

From Git log history, It seems is submitted by @Aaron Ecay, I used to added
Indium, skewer etc JS REPL support for ob-js. But seems those external package
APIs updated again. I think you can update by yourself. It's simple.

>
> where “(declare-function indium-run-node "ext:indium-nodejs"
> (command))” refers to a function named “indium-run-node” that
> does no longer exist
>
> https://github.com/NicolasPetton/Indium/commit/3e7f181dca115bccb0cb150fc753ca353be359e4#diff-76bee0dfd13edc6083c22f66c5711149
>
>
> There is an “indium-launch-nodejs” instead that works with
> the current client-server model for Indium.
>
> I'll try to replace “indium-run-node” for
> “indium-launch-nodejs” and provide a proper config for an
> ob-js REPL in a “.indium.json” but any pointers you could
> provide to me would be of great help.
>
> Thank you


-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-19  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-18 17:50 ob-js and Indium Ezequiel Birman
2019-12-19  8:45 ` stardiviner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).