Hi, Tim,
Excuse my obstinacy, I still think the problem is in `ob-clojure.el`
Because when I:
```org
#+BEGIN_SRC clojure :session
(ns user-kk)
#+END_SRC
#+BEGIN_SRC clojure :session :results output
(print "hi")
(def "hello")
#+END_SRC
#+RESULTS:
```
The second block does not return result.
w
I see, thanks very much.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Sun, Jun 18, 2017 at 9:10 AM, Tim Cross wro
It looks like you have a combination of both clojure errors and possibly
org babel errors. You need to sort out the clojure errors before you can
verify there are any problems with org babel clojure support.
You mention that
> I start CIDER REPL session with `cider-jack-in` without project in
>
After a new evaluation. I found
```org
#+BEGIN_SRC clojure
(ns user
(:require '[incanter.core :as mm]))
#+END_SRC
#+RESULTS:
: class clojure.lang.Compiler$CompilerExceptionclass
clojure.lang.Compiler$CompilerExceptionCompilerException
java.lang.Exception: Found lib name 'incanter.core' containin
I did configure `ob-clojure` with the following settings:
```elisp
(require 'ob-clojure)
;; use CIDER as the Clojure execution backend
(setq org-babel-clojure-backend 'cider)
;; Useful keybindings when using Clojure from Org
;; (org-defkey org-mode-map (kbd "C-x C-e") 'cider-eval-last-sexp)
;; (
My guess is that cider is not finding the incanter package in the
classpath when the first block attempts to evaluate. Another issue is
that your not using any session options, so your two blocks will be
evaluated in separate environments - not a real problem with your
current example, but will be
When Org-mode buffer like this:
#+BEGIN_SRC clojure
(ns my.kk
(:require '[incanter.core :as kk]))
#+END_SRC
#+BEGIN_SRC clojure
(print "hi")
(def "hello")
#+END_SRC
#+RESULTS:
When I have `(ns ..)` namespace clojure code in buffer, the second `(print
..)` clojure result nothing. But when