From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Re: ob-clojure.el: Add ClojureScript interface Date: Fri, 14 Feb 2020 21:40:17 +0100 Message-ID: <87v9o8zyzs.fsf@gnu.org> 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> <87eeuxqjxq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56168) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2hlP-0001em-Bw for emacs-orgmode@gnu.org; Fri, 14 Feb 2020 15:40:40 -0500 In-Reply-To: <87eeuxqjxq.fsf@gmail.com> (stardiviner's message of "Fri, 14 Feb 2020 23:15:29 +0800") 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: stardiviner Cc: roberthambrock@gmail.com, emacs-orgmode@gnu.org stardiviner writes: > I use CIDER (sesman) keybinding =[C-c C-s d]= on ob-clojure src > block to link current buffer directory to CIDER REPL session. I simply start Cider with C-c M-j and then execute the Clojure source block with C-c C-c, it works fine. > I guess this should work for ClojureScript src block too. IMHO it works differently for ClojureScript, as C-c M-J doesn't know how to start a ClojureScript session unless you're in a directory with the proper cljs configuration (be it figwheel-main.edn, dev.cljs.edn, whatever.) At least this is how I made it work. -- Bastien