Re: [O] Bug: [ob-clojure] Surprising evaluation result [9.1.6 (release_9.1.6-491-g70b029 @ /Users/xcy/src/org-mode/lisp/)]
"numbch...@gmail.com"writes: > No, it's not expected result. It should be caused by my commit here > https://code.orgmode.org/bzg/org-mode/pulls/5 I don't think so, your pull request is about ob-clojure-literate, while I am talking about ob-clojure. I want to know what authors of ob-clojure think about the behavior, is it a Bug? > Don't know how to workaround this. As for workaround, I have the following in my init.el (define-advice org-babel-expand-body:clojure (:filter-return (body) do) (format "(do %s)" body)) [...]
Re: [O] Bug: [ob-clojure] Surprising evaluation result [9.1.6 (release_9.1.6-491-g70b029 @ /Users/xcy/src/org-mode/lisp/)]
No, it's not expected result. It should be caused by my commit here https://code.orgmode.org/bzg/org-mode/pulls/5 Don't know how to workaround this. [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 Thu, Mar 1, 2018 at 11:50 PM, Xu Chunyangwrote: > Hello all, > > I run the following Clojure code with CIDER as the backend. The result > is surprising to me: > > #+begin_src clojure > (* 6 7) > (= nil ()) > #+end_src > > #+RESULTS: > : 42false > > As you can see, the result is the concatenation of the value of each > expression. Is it expected? I would like to get only the value of the > last expression, i.e., false. > > > -- > Org release_9.1.7-440-g5e8fa1361 > CIDER v0.16.0-83-g88f4fcf > Emacs 27.0.50 > >
[O] Bug: [ob-clojure] Surprising evaluation result [9.1.6 (release_9.1.6-491-g70b029 @ /Users/xcy/src/org-mode/lisp/)]
Hello all, I run the following Clojure code with CIDER as the backend. The result is surprising to me: #+begin_src clojure (* 6 7) (= nil ()) #+end_src #+RESULTS: : 42false As you can see, the result is the concatenation of the value of each expression. Is it expected? I would like to get only the value of the last expression, i.e., false. -- Org release_9.1.7-440-g5e8fa1361 CIDER v0.16.0-83-g88f4fcf Emacs 27.0.50