From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ezequiel Birman Subject: ob-js and Indium Date: Wed, 18 Dec 2019 14:50:30 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004495660599fe1548" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40850) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihdTA-0006Ll-1i for emacs-orgmode@gnu.org; Wed, 18 Dec 2019 12:50:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihdT8-0000NC-KL for emacs-orgmode@gnu.org; Wed, 18 Dec 2019 12:50:43 -0500 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:42850) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihdT8-0000I0-BJ for emacs-orgmode@gnu.org; Wed, 18 Dec 2019 12:50:42 -0500 Received: by mail-ot1-x32f.google.com with SMTP id 66so3444598otd.9 for ; Wed, 18 Dec 2019 09:50:42 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --0000000000004495660599fe1548 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=9C(declare-function indium-run-node "ext:indium-nodejs" (comma= nd))=E2=80=9D refers to a function named =E2=80=9Cindium-run-node=E2=80=9D that does no l= onger exist https://github.com/NicolasPetton/Indium/commit/3e7f181dca115bccb0cb150fc753= ca353be359e4#diff-76bee0dfd13edc6083c22f66c5711149 There is an =E2=80=9Cindium-launch-nodejs=E2=80=9D instead that works with = the current client-server model for Indium. I'll try to replace =E2=80=9Cindium-run-node=E2=80=9D for =E2=80=9Cindium-l= aunch-nodejs=E2=80=9D and provide a proper config for an ob-js REPL in a =E2=80=9C.indium.json=E2=80= =9D but any pointers you could provide to me would be of great help. Thank you --=20 Ezequiel Birman --0000000000004495660599fe1548 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all.

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

I believe the error I am g= etting is related to=C2=A0https://code.orgmode.org/bzg/org-mode/src/mas= ter/lisp/ob-js.el#L47

where =E2=80=9C(declare-= function indium-run-node "ext:indium-nodejs" (command))=E2=80=9D = refers to a function named =E2=80=9Cindium-run-node=E2=80=9D that does no l= onger exist


There is an =E2=80=9Cindium-launch-nodejs= =E2=80=9D instead that works with the current client-server model for Indiu= m.

I'll try to replace =E2=80=9Cindium-run-nod= e=E2=80=9D for =E2=80=9Cindium-launch-nodejs=E2=80=9D and provide a proper = config for an ob-js REPL in a =E2=80=9C.indium.json=E2=80=9D but any pointe= rs you could provide to me would be of great help.

Thank you

--=C2=A0
Ezequiel Birman
--0000000000004495660599fe1548--