On Wednesday, 7 August 2019 12:42:07 UTC+1, Peter Hull wrote:

The connection returns two values, first 'nil' then '24', and function 
nrepl--merge concats these into the incorrect response that org-mode pastes 
into your doc.

Wait, might be on to something here. In org-mode 9.1.9 the sent message 
looks like:
(-->
 id "8"
 op "eval"
 session "a34917da-541a-4d4a-b790-af8e11020c96"
 time-stamp "2019-08-07 13:18:00.307045105"
 code "(* 1 2 3 4)"
 ns "org-babel-clojure.core"
)


in 9.2.5 it's
(-->
 id "18"
 op "eval"
 session "86281560-e467-47c4-869d-043b03f5c546"
 time-stamp "2019-08-07 12:23:33.769213028"
 code "(ns org-babel-clojure.core)
(* 1 2 3 4)"
)



In the latter we're sending two forms (ns ...) and (* ...) so we get two 
responses. Previously it sent only one and used the ns key in the message 
to set the message.

This relates to this change last year: 
https://github.com/bzg/org-mode/commit/d7e12d1df7091563c5f0fe0bd8b2db634d3e87ba

So, I think you should bug the ob-clojure people at org-mode about this!

Hope that helps,
Pete



-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/ac4eeb01-f29b-4f6c-bf0b-86029202dae9%40googlegroups.com.

Reply via email to