emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Stegall <mstegall928@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Issue with org-babel-clojure evaluation returning all forms
Date: Wed, 20 Sep 2017 22:04:24 -0400	[thread overview]
Message-ID: <CAGtWEAdoDwkM8s217uFXzXW0ZPyCVO45khGQ13LwGYVZ6V96Gw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 3993 bytes --]

             reply	other threads:[~2017-09-21  2:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21  2:04 Matthew Stegall [this message]
2017-09-22 23:01 ` Issue with org-babel-clojure evaluation returning all forms Tim Cross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGtWEAdoDwkM8s217uFXzXW0ZPyCVO45khGQ13LwGYVZ6V96Gw@mail.gmail.com \
    --to=mstegall928@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).