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
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
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
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
>
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
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