Re: [O] ob-clojure.el (org-babel for Clojure)

2014-10-11 Thread Bastien
Hi Daniel,

Daniel Szmulewicz daniel.szmulew...@gmail.com writes:

 Just to confirm that it's a API change that broke ob-clojure.el for cider. 
 Also, the cider maintainer suggests to remove the nrepl back-end, 
 as it has merged into cider.

Just to confirm that this has been done in the meantime in master.

-- 
 Bastien



Re: [O] ob-clojure.el (org-babel for Clojure)

2014-10-03 Thread Daniel Szmulewicz
Daniel Szmulewicz daniel.szmulewicz at gmail.com writes:

 
 Thorsten Jolitz tjolitz at gmail.com writes:
 
  Did you try other :results types like 
  
  ,
  | #+BEGIN_SRC clojure :results raw
  `
  
 
 Yes, thank you. I tried various switches for the results argument, 
 and the result was the same: 
 
 Code block produced no output.
 
 I also wanted to rule out a version mismatch, so I tried in org-mode 
 from the main branch, and the result was the same: 
 
 Code block produced no output.
 
 Things are moving fast with Cider, maybe an API that ob-clojure.el was 
 relying upon underwent a breaking change?.
 
 
Just to confirm that it's a API change that broke ob-clojure.el for cider. 
Also, the cider maintainer suggests to remove the nrepl back-end, 
as it has merged into cider.
I'll be happy to submit a patch to fix ob-clojure.el, 
but I'm not sure how to proceed. 
Pointers welcome.







Re: [O] ob-clojure.el (org-babel for Clojure)

2014-10-03 Thread Thorsten Jolitz
Daniel Szmulewicz daniel.szmulew...@gmail.com writes:

 Daniel Szmulewicz daniel.szmulewicz at gmail.com writes:

 
 Thorsten Jolitz tjolitz at gmail.com writes:
 
  Did you try other :results types like 
  
  ,
  | #+BEGIN_SRC clojure :results raw
  `
  
 
 Yes, thank you. I tried various switches for the results argument, 
 and the result was the same: 
 
 Code block produced no output.
 
 I also wanted to rule out a version mismatch, so I tried in org-mode 
 from the main branch, and the result was the same: 
 
 Code block produced no output.
 
 Things are moving fast with Cider, maybe an API that ob-clojure.el was 
 relying upon underwent a breaking change?.
 
 
 Just to confirm that it's a API change that broke ob-clojure.el for cider. 
 Also, the cider maintainer suggests to remove the nrepl back-end, 
 as it has merged into cider.
 I'll be happy to submit a patch to fix ob-clojure.el, 
 but I'm not sure how to proceed. 
 Pointers welcome.

try this

,
| http://orgmode.org/worg/org-contribute.html
`

-- 
cheers,
Thorsten




[O] ob-clojure.el (org-babel for Clojure)

2014-10-02 Thread Daniel Szmulewicz
Executing Clojure in a code block results in a Code block produced no output.

Any code. For example:

#+BEGIN_SRC clojure
(+ 1 1)
#+END_SRC


I am running CIDER 0.8.0alpha (package: 20141001.738) (Java 1.8.0_05, Clojure 
1.6.0, nREPL 0.2.6)
Ob-clojure.el from master. 
Org-mode 8.2.7c

Thank you in advance.
--
Daniel Szmulewicz
daniel.szmulew...@gmail.com






Re: [O] ob-clojure.el (org-babel for Clojure)

2014-10-02 Thread Thorsten Jolitz
Daniel Szmulewicz daniel.szmulew...@gmail.com writes:

 Executing Clojure in a code block results in a Code block produced no
 output.

Did you try other :results types like 

,
| #+BEGIN_SRC clojure :results raw
`

or 
:results value
:results pp
etc

see http://orgmode.org/manual/Specific-header-arguments.html

-- 
cheers,
Thorsten




Re: [O] ob-clojure.el (org-babel for Clojure)

2014-10-02 Thread Daniel Szmulewicz
Thorsten Jolitz tjolitz at gmail.com writes:

 Did you try other :results types like 
 
 ,
 | #+BEGIN_SRC clojure :results raw
 `
 

Yes, thank you. I tried various switches for the results argument, 
and the result was the same: 

Code block produced no output.

I also wanted to rule out a version mismatch, so I tried in org-mode 
from the main branch, and the result was the same: 

Code block produced no output.

Things are moving fast with Cider, maybe an API that ob-clojure.el was 
relying upon underwent a breaking change?.