From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Bug: [ob-clojure] Surprising evaluation result [9.1.6 (release_9.1.6-491-g70b029 @ /Users/xcy/src/org-mode/lisp/)] Date: Fri, 2 Mar 2018 21:29:05 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113de048a29f6e05666df799" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erkkk-0005ET-Hr for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 08:29:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erkkj-0000M3-7B for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 08:29:38 -0500 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:37488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erkkj-0000LZ-1T for emacs-orgmode@gnu.org; Fri, 02 Mar 2018 08:29:37 -0500 Received: by mail-oi0-x229.google.com with SMTP id f186so7021207oig.4 for ; Fri, 02 Mar 2018 05:29:36 -0800 (PST) In-Reply-To: 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" To: Xu Chunyang Cc: Org-mode --001a113de048a29f6e05666df799 Content-Type: text/plain; charset="UTF-8" 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 Chunyang wrote: > 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 > > --001a113de048a29f6e05666df799 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 k= now how to workaround this.

[stardiviner]=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): star= diviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild<= br>Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2= 433
Blog: ht= tp://stardiviner.github.io/

On Thu, Mar 1, 2018 at 11:50 PM, Xu Chunyang= <mail@xuchunyang.me> wrote:
Hello all,

I run the following Clojure code with CIDER as the backend. The result
is surprising to me:

=C2=A0 =C2=A0 #+begin_src clojure
=C2=A0 =C2=A0 (* 6 7)
=C2=A0 =C2=A0 (=3D nil ())
=C2=A0 =C2=A0 #+end_src

=C2=A0 =C2=A0 #+RESULTS:
=C2=A0 =C2=A0 : 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=C2=A0 =C2=A0release_9.1.7-440-g5e8fa1361
CIDER v0.16.0-83-g88f4fcf
Emacs 27.0.50


--001a113de048a29f6e05666df799--