Re: [O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Bastien
Lee Hinman writes: > I tried it running from git (org-version returns "Org-mode version > 8.2.3a (release_8.2.3a @ /Users/hinmanm/src/elisp/org-mode/lisp/)") Latest release is 8.2.5h, later than the one reported. > (setq org-babel-default-header-args > (cons '(:results . "code") >

Re: [O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Lee Hinman
On 2/6/14, 9:32 AM, Bastien wrote: > Can you try with latest ob-clojure.el from the master branch? > We fixed a few things recently, and the example works fine for > me. I tried it running from git (org-version returns "Org-mode version 8.2.3a (release_8.2.3a @ /Users/hinmanm/src/elisp/org-mode/li

Re: [O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Bastien
Hi Lee, Lee Hinman writes: > When tangling a block like: > > #+BEGIN_SRC clojure :tangle foo.clj > (println "foo") > ;; My comment > #+END_SRC > > The tangled code looks like: > > (let [org-mode-print-catcher (java.io.StringWriter.)] > (clojure.pprint/with-pprint-dispatch clojure.pprint/code-dis

[O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Lee Hinman
When tangling a block like: #+BEGIN_SRC clojure :tangle foo.clj (println "foo") ;; My comment #+END_SRC The tangled code looks like: (let [org-mode-print-catcher (java.io.StringWriter.)] (clojure.pprint/with-pprint-dispatch clojure.pprint/code-dispatch (clojure.pprint/pprint (do (println "foo")