emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Babel Clojure example problems
Date: Wed, 4 Jun 2014 23:49:02 -0500	[thread overview]
Message-ID: <CAFAhFSVJwT_WRaV9gEyS5ZV2ULt=Wm6rXmODBgh_hGJyCY5icw@mail.gmail.com> (raw)

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

I'm having trouble following the example page on babel and clojure (
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html ).
I believe I've done everything correctly, the first example works:

#+begin_src clojure :results silent
  (+ 1 4)
#+end_src

but the next two. . .

#+begin_src clojure :results value
  [ 1 2 3 4]
#+end_src

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

. . . bomb, causing slime/swank-looking error buffer:

Package { does not exist.

  Line: 1, Column: 17, File-Position: 17

  Stream: #<SB-IMPL::STRING-INPUT-STREAM {1006B45023}>
   [Condition of type SB-INT:SIMPLE-READER-PACKAGE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] Abort thread (#<THREAD "worker" RUNNING {1006B1CB33}>)

I've got the nREPL 0.1.8-preview running.

LB

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

             reply	other threads:[~2014-06-05  4:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05  4:49 Lawrence Bottorff [this message]
2014-06-05  9:53 ` Babel Clojure example problems Thorsten Jolitz
     [not found]   ` <CAFAhFSUe3ih1ViUfQPO06CMLe1c+u5JDczHHGh-x4eXGX3jNQA@mail.gmail.com>
     [not found]     ` <8761kf1m6q.fsf@gmail.com>
2014-06-05 15:17       ` Lawrence Bottorff
2014-06-05 15:38         ` Thorsten Jolitz

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='CAFAhFSVJwT_WRaV9gEyS5ZV2ULt=Wm6rXmODBgh_hGJyCY5icw@mail.gmail.com' \
    --to=borgauf@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).