From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Stegall Subject: Issue with org-babel-clojure evaluation returning all forms Date: Wed, 20 Sep 2017 22:04:24 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1145a2ceefc3e80559a982c6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duqqq-00006t-Sr for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 22:04:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duqqp-0000z0-OZ for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 22:04:28 -0400 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:50540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duqqp-0000xX-CD for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 22:04:27 -0400 Received: by mail-wr0-x22b.google.com with SMTP id w12so3444856wrc.7 for ; Wed, 20 Sep 2017 19:04:25 -0700 (PDT) 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 --001a1145a2ceefc3e80559a982c6 Content-Type: text/plain; charset="UTF-8" I'm trying to set up babel for use with Clojure according to http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html#org85bc1ec and I can evaluate code but when I evaluate a block with multiple forms in it it outputs all of the form like so #+begin_src clojure :results value (def small-map {:a 2 :b 4 :c 8}) (:b small-map) #+end_src #+RESULTS: : #'user/small-map4 I'm using cider for the back end as given in the tutorial and I'm not getting any errors just unwanted input. I don't think anything in my emacs config should effect this but I can post if needed. I'm also using org-plus-contrib as I the default org installation doesn't allow me to evaluate clojure blocks, saying it can't find slime. I've used the debugging tools to go through cb-clojure.el and found that the nrepl-sync-request:eval result dictionary list the output of all of the form in value without any separator so it may be something with cider, I'm running the latest version from melpa-stable. If any other information is needed, let me know and thanks in advance for any help. --001a1145a2ceefc3e80559a982c6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I'm trying to set = up babel for use with Clojure according to=C2=A0http://orgmode.org/worg/= org-contrib/babel/languages/ob-doc-clojure.html#org85bc1ec=C2=A0and I c= an evaluate code but when I evaluate a block with multiple forms in it it o= utputs all of the form like so

#+begin_src clojure :results value
  (def small-map {:a 2 :b 4 :c 8})
  (:b small-map)
#+end_src

#+RESULTS:
: #'user/small-map4

I'm using cider for th= e back end as given in the tutorial and I'm not getting any errors just= unwanted input.

I don't think a= nything in my emacs config should effect this but I can post if needed.

=

I'm also using org-plus-contrib as = I the default org installation doesn't allow me to evaluate clojure blo= cks, saying it can't find slime.

I've used the debugging tools to go through cb-clojure.el and found th= at the nrepl-sync-request:eval result dictionary list the output of all of = the form in value without any separator so it may be something with cider, = I'm running the latest version from melpa-stable.

If any other information is needed, let me know and thank= s in advance for any help.

--001a1145a2ceefc3e80559a982c6--