From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ezequiel Birman <ebirman77@gmail.com> Subject: ob-js and Indium Date: Wed, 18 Dec 2019 14:50:30 -0300 Message-ID: <CAOo=t4c_vvhe8KB1xUkfVske-LZjHmtQ4_LjQ6ZNm6MW3vg3nw@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004495660599fe1548" Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([2001:470:142:3::10]:40850) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ebirman77@gmail.com>) 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 <ebirman77@gmail.com>) 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 <ebirman77@gmail.com>) 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 <emacs-orgmode@gnu.org>; Wed, 18 Dec 2019 09:50:42 -0800 (PST) List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> 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 <div dir=3D"ltr">Hi all.<div><br><div>I wanted to know if a JavaScript sour= ce block configured to use a session managed via <a href=3D"https://github.= com/NicolasPetton/Indium">https://github.com/NicolasPetton/Indium</a>=C2=A0= is currently supported.</div><div><br></div><div>I believe the error I am g= etting is related to=C2=A0<a href=3D"https://code.orgmode.org/bzg/org-mode/= src/master/lisp/ob-js.el#L47">https://code.orgmode.org/bzg/org-mode/src/mas= ter/lisp/ob-js.el#L47</a></div><div><br></div><div>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</div><div><br></div><div><a href=3D"https://github.com/NicolasP= etton/Indium/commit/3e7f181dca115bccb0cb150fc753ca353be359e4#diff-76bee0dfd= 13edc6083c22f66c5711149">https://github.com/NicolasPetton/Indium/commit/3e7= f181dca115bccb0cb150fc753ca353be359e4#diff-76bee0dfd13edc6083c22f66c5711149= </a><br></div><div><br></div><div>There is an =E2=80=9Cindium-launch-nodejs= =E2=80=9D instead that works with the current client-server model for Indiu= m.</div><div><br></div><div>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.</div><div><br></div><div= >Thank you</div><div><br></div><div>--=C2=A0</div><div>Ezequiel Birman</div= ></div></div> --0000000000004495660599fe1548--