emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] ob-clojure.el does not evaluate org-mode clojure src block


From: address@hidden
Subject: [O] ob-clojure.el does not evaluate org-mode clojure src block
Date: Mon, 20 Feb 2017 20:41:39 +0800

```
      #+BEGIN_SRC clojure :session
      (def kk "stardiviner")
      #+END_SRC
```

Press =[C-c C-c]= to evaluate this. Then check out =kk= in CIDER REPL buffer.

That's why my problem happens:


Also I did some simple edebug on ob-clojure.el:

=ob-clojure.el::org-babel-execute:clojure=

```
      #+BEGIN_SRC emacs-lisp
      (nrepl-dict-get
       (nrepl-sync-request:eval "(print \"hello, world!\")" (cider-current-connection) (cider-current-session))
       ;; key: "output", "status"
       "output")
      #+END_SRC
```

```
       #+RESULTS: 
       #+BEGIN_EXAMPLE
       (dict "status"
             ("namespace-not-found" "done" "error" "done" "state" "state")
             "id" "8" "session" "7dcda490-01d9-4411-a05b-804a4f8663b6" "changed-namespaces"
             (dict)
             "repl-type" "cljclj")
       #+END_EXAMPLE
```

You can see the request evaluate result is error.


[stardiviner]           <Hack this world!>      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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]