From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Babel Clojure example problems Date: Wed, 4 Jun 2014 23:49:02 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33c65ec1832804fb0f7678 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsPbt-0004IM-II for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 00:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsPbs-00089Q-5I for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 00:49:05 -0400 Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]:52612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsPbr-00088s-UW for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 00:49:04 -0400 Received: by mail-pb0-f48.google.com with SMTP id rr13so541565pbb.7 for ; Wed, 04 Jun 2014 21:49:02 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b33c65ec1832804fb0f7678 Content-Type: text/plain; charset=UTF-8 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: # [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 (#) I've got the nREPL 0.1.8-preview running. LB --047d7b33c65ec1832804fb0f7678 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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, t= he first example works:

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

but the next two. = . .

#+begin_src clojure :results value
<= div> =C2=A0 [ 1 2 3 4]
#+end_src

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

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

Package { does not exist.

=C2=A0 Line: 1, Column: 17, File-Position: 17

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

Restarts:
=C2=A00: [RETRY] Retry SLIME evalua= tion request.
=C2=A01: [*ABORT] Return to SLIME's top level.<= /div>
=C2=A02: [ABORT] Abort thread (#<THREAD "worker" RUN= NING {1006B1CB33}>)

I've got the nREPL 0.1.8-preview running.

LB


--047d7b33c65ec1832804fb0f7678--