From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: ob-clojure evaluate error when Org-mode buffer has ns clojure code Date: Fri, 16 Jun 2017 23:36:51 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11444ab0b2195b0552158f0f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtJO-0005Pb-Gr for emacs-orgmode@gnu.org; Fri, 16 Jun 2017 11:37:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtJN-0001xk-Dv for emacs-orgmode@gnu.org; Fri, 16 Jun 2017 11:37:26 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtJN-0001w0-71 for emacs-orgmode@gnu.org; Fri, 16 Jun 2017 11:37:25 -0400 Received: by mail-wm0-x22f.google.com with SMTP id x70so29329418wme.0 for ; Fri, 16 Jun 2017 08:37:23 -0700 (PDT) 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: Org-mode --001a11444ab0b2195b0552158f0f Content-Type: text/plain; charset="UTF-8" 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 kkkk "hello") #+END_SRC #+RESULTS: When I have `(ns ..)` namespace clojure code in buffer, the second `(print ..)` clojure result nothing. But when I remove the first src block, the `(print ..)` clojure src block works fine. I'm using Org-mode version from `master` with `use-package` like this: (use-package org :load-path "~/Code/Emacs/org-mode/lisp/" :pin manual :mode (("\\.org$" . org-mode)) :config (use-package org-plus-contrib :load-path "~/Code/Emacs/org-mode/contrib/lisp/" :pin manual) ) [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/ --001a11444ab0b2195b0552158f0f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When Org-mode buffer like this:

#+BEGIN_SRC clojure
(ns my.kk
=C2=A0 (:require '[incanter.core :as kk]))
#+END_SRC
#+BEGIN_SRC clojure
(print "hi")
(def kkkk &q= uot;hello")
#+END_SRC
<= font face=3D"trebuchet ms, sans-serif">
#+RESULTS:

When I have `(ns= ..)` namespace clojure code in buffer, the second `(print ..)` clojure res= ult nothing. But when I remove the first src block, the `(print ..)` clojur= e src block works fine.

I'm using Org-mode version from `master` with `use-packa= ge` like this:

(use-package org
=C2=A0 :load-path "~/Code/Emacs/= org-mode/lisp/"
=C2=A0 :pin manual
=C2=A0 :mode ((= "\\.org$" . org-mode))
=C2=A0 :config
=C2=A0 = (use-package org-plus-contrib
=C2=A0 =C2=A0 :load-path "~/Co= de/Emacs/org-mode/contrib/lisp/"
=C2=A0 =C2=A0 :pin manual)<= /div>
=C2=A0 )


[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): = stardiviner =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 @numbchi= ld
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C= 3 2433
Blog: http://stardiviner.github.io/
--001a11444ab0b2195b0552158f0f--