From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: [PATCH] Re: ob-clojure.el: Add ClojureScript interface Date: Fri, 14 Feb 2020 23:15:29 +0800 Message-ID: <87eeuxqjxq.fsf@gmail.com> References: <20180422205003.87836-1-roberthambrock@gmail.com> <20180422205003.87836-3-roberthambrock@gmail.com> <87v9ocuesg.fsf@gmail.com> <87imkb7mwj.fsf@gnu.org> <87y2t6fqwj.fsf@gmail.com> <87pnei8oe0.fsf@bzg.fr> <87k14prbb5.fsf@gmail.com> <87eeuxqyeq.fsf@bzg.fr> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50041) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2cxL-0006lm-IE for emacs-orgmode@gnu.org; Fri, 14 Feb 2020 10:32:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2cxK-0004TF-5t for emacs-orgmode@gnu.org; Fri, 14 Feb 2020 10:32:39 -0500 In-reply-to: <87eeuxqyeq.fsf@bzg.fr> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: roberthambrock@gmail.com, emacs-orgmode@gnu.org =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Bastien writes: > Hi Stardiviner, > > stardiviner writes: > >> About this patch, last night, I try to test ob-clojurescript eval with C= IDER >> connection. But no luck, the ClojureScript REPL connection always failed= to >> start. I have problem on CIDER. So I have a request that can you take a = test. >> Because on my side, ~(cider-current-connection "cljs")~ returns ~nil~ un= able to >> test. > > I was able to execute #+begin_src clojurescript source blocks only > when the containing Org file is itself within a project where cider > knows how to launch a clojurescript nrepl. This is what I tried to > convey in the ORG-NEWS entry: > > You can now use =3D#+begin_src clojurescript=3D and execute > ClojureScript code from Org files. You will need to put the file in > an directory from where ClojureScript knows how to start a nrepl > connection: e.g. you can put your Org file at the root of a > figwheel-main directory. I use CIDER (sesman) keybinding =3D[C-c C-s d]=3D on ob-clojure src block t= o link current buffer directory to CIDER REPL session. I guess this should work for ClojureScript src block too. > > There was no patch attached to your email, can you resend it? > You already applied patches. I already checked latest master of Org Mode so= urce code. =2D --=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 =2D----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl5GuZEUHG51bWJjaGls ZEBnbWFpbC5jb20ACgkQG13xyVromsNd9wf7BNRVjn52wjYJtO+FEZXXfoWFuhZg qCYqd6LhWL8tC3/aLEYmomWD0nLyz4QzOsxD9hliRRl1KNc+JYTRU9b5Si901l23 FPQQdGWxX6LqdRPx9TUg4IToo1AM1qNfRnZXq4lDvpDgO/NxWldeF14681RkgM16 W3OLa5FnW3eHxsLrFf7OIbxKyQRlT8W+GSx7GTaQgbZanKB8Z16mIZ9GYAl97VA9 nbUNg6SjddWmzwoDihAl3f+LLSKjtdTN+jeSeL2RNr/w/1dm6rjpCJKvCxTTmbV8 ruo6AAfvtP1msKvwGHpyoO9MhmqWMIAg+U+HVjk09baZVx2dxLox/YVrbg=3D=3D =3DcFe+ =2D----END PGP SIGNATURE-----