Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-08 Thread Ihor Radchenko
Daniel Kraus writes: > The problem is that or :results value (/the default) I only want the > result of the last expression and I do that `binding` of stdout to surpress > all other output. > But I guess during tangle this should just be ignored? > Is there a simple way to find out if

Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-08 Thread Daniel Kraus
Hi! Ag writes: > Setting :results output header makes it work as expected. Without it - > it's as I described, wrapped. I can reproduce the bug. The problem is that or :results value (/the default) I only want the result of the last expression and I do that `binding` of stdout to surpress all

Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-08 Thread Ihor Radchenko
Ag Ibragimov writes: > I'm using the latest, org-version reports "Org mode version 9.7 > (9.7-??-fdea200 ..." Please detail the steps you tried. At least "version 9.7" does not look right because the latest version is labeled "9.7-pre". Also, provide the clojure backend you are using. > This

Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-07 Thread Ag
Setting :results output header makes it work as expected. Without it - it's as I described, wrapped. On Mon, May 8, 2023 at 12:18 AM Ag Ibragimov wrote: > > Ihor Radchenko writes: > > > I see the expected result on my side. > > I'm using the latest, org-version reports "Org mode version 9.7 >

Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-07 Thread Ag Ibragimov
Ihor Radchenko writes: > I see the expected result on my side. I'm using the latest, org-version reports "Org mode version 9.7 (9.7-??-fdea200 ..." This particular line here is causing the problem I described: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/ob-clojure.el#n191

Re: [BUG] Tangling of clojure code blocks is broken [9.7 (9.7-??-0807107 @ /Users/ag/.emacs.d/.local/straight/build-30.0.50/org/)]

2023-05-06 Thread Ihor Radchenko
Ag Ibragimov writes: > Repro steps: > ... > Observed: > > It's wrapping the content into > `(prn (binding [*out* (java.io.StringWriter.)]{:foo :bar}))` > > Expected: > > {:foo :bar} I see the expected result on my side. May you follow the steps starting from emacs -Q or make repro? See