Andrew:
Make sure you have
(require 'ob-clojure)
in your controlling emacs file (mine is <username>.el).
-ck
On Nov 23, 12:00 pm, Andrew <[email protected]> wrote:
> Here's my attempt at following the steps
> athttp://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html.
> *The
> result is org-babel-execute-src-block: No org-babel-execute function for
> clojure *
>
> 1. The recommendation was to follow "Connecting with SLIME" from
> https://github.com/technomancy/swank-clojurewhich involves M-x
> slime-connect, so I looked for that in
> http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html...
> It has a section called "Server/Set up Leiningen project.clj file" which
> says add a dev-dependency in my project.clj file for leiningen/lein-swank.
> So I picked [leiningen/lein-swank "1.2.0-SNAPSHOT"]
> 2. lein deps
> 3. lein swank
> 4. It said I should add swank-clojure as a dev-dependency too. So I
> picked [swank-clojure "1.4.0-SNAPSHOT"]
> 5. lein deps
> 6. lein swank
> 7. M-x slime-connect ... connected
> 8. open tmp.org file and place cursor within a block of code and do C-c
> C-c
> 9. Evaluate this block of code on your system? y
>
> org-babel-execute-src-block: No org-babel-execute function for clojure!
>
> What am I missing? I have the following:
>
> clojure-mode 1.11.4 installed
> org 20111122 installed
> slime 20100404.1 installed
> slime-repl 20100404 installed
>
> ... and lein plugin swank-clojure (1.3.3 I think)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en