From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: ob-js and Indium Date: Thu, 19 Dec 2019 16:45:28 +0800 Message-ID: <8736dgg0uv.fsf@gmail.com> References: Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45445) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihrRG-0005Dh-8x for emacs-orgmode@gnu.org; Thu, 19 Dec 2019 03:45:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihrRE-0004BD-Sl for emacs-orgmode@gnu.org; Thu, 19 Dec 2019 03:45:41 -0500 Received: from [183.246.146.101] (port=1814 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ihrRE-0003bK-CK for emacs-orgmode@gnu.org; Thu, 19 Dec 2019 03:45:40 -0500 In-reply-to: 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 Ezequiel Birman 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 pack= age APIs updated again. I think you can update by yourself. It's simple. > > 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 longer exist > > https://github.com/NicolasPetton/Indium/commit/3e7f181dca115bccb0cb150fc7= 53ca353be359e4#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-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 pointers you could > provide to me would be of great help. > > Thank you --=20 [ 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 =20=20=20=20=20=20