emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ob-clojure.el (org-babel for Clojure)
@ 2014-10-02  6:59 Daniel Szmulewicz
  2014-10-02  9:25 ` Thorsten Jolitz
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Szmulewicz @ 2014-10-02  6:59 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

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.szmulewicz@gmail.com





[-- Attachment #2: Type: text/html, Size: 1268 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ob-clojure.el (org-babel for Clojure)
  2014-10-02  6:59 ob-clojure.el (org-babel for Clojure) Daniel Szmulewicz
@ 2014-10-02  9:25 ` Thorsten Jolitz
  2014-10-02 14:30   ` Daniel Szmulewicz
  0 siblings, 1 reply; 6+ messages in thread
From: Thorsten Jolitz @ 2014-10-02  9:25 UTC (permalink / raw)
  To: emacs-orgmode

Daniel Szmulewicz <daniel.szmulewicz@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ob-clojure.el (org-babel for Clojure)
  2014-10-02  9:25 ` Thorsten Jolitz
@ 2014-10-02 14:30   ` Daniel Szmulewicz
  2014-10-04  1:34     ` Daniel Szmulewicz
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Szmulewicz @ 2014-10-02 14:30 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ob-clojure.el (org-babel for Clojure)
  2014-10-02 14:30   ` Daniel Szmulewicz
@ 2014-10-04  1:34     ` Daniel Szmulewicz
  2014-10-04  2:36       ` Thorsten Jolitz
  2014-10-11 12:56       ` Bastien
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Szmulewicz @ 2014-10-04  1:34 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ob-clojure.el (org-babel for Clojure)
  2014-10-04  1:34     ` Daniel Szmulewicz
@ 2014-10-04  2:36       ` Thorsten Jolitz
  2014-10-11 12:56       ` Bastien
  1 sibling, 0 replies; 6+ messages in thread
From: Thorsten Jolitz @ 2014-10-04  2:36 UTC (permalink / raw)
  To: emacs-orgmode

Daniel Szmulewicz <daniel.szmulewicz@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ob-clojure.el (org-babel for Clojure)
  2014-10-04  1:34     ` Daniel Szmulewicz
  2014-10-04  2:36       ` Thorsten Jolitz
@ 2014-10-11 12:56       ` Bastien
  1 sibling, 0 replies; 6+ messages in thread
From: Bastien @ 2014-10-11 12:56 UTC (permalink / raw)
  To: Daniel Szmulewicz; +Cc: emacs-orgmode

Hi Daniel,

Daniel Szmulewicz <daniel.szmulewicz@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-11 12:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02  6:59 ob-clojure.el (org-babel for Clojure) Daniel Szmulewicz
2014-10-02  9:25 ` Thorsten Jolitz
2014-10-02 14:30   ` Daniel Szmulewicz
2014-10-04  1:34     ` Daniel Szmulewicz
2014-10-04  2:36       ` Thorsten Jolitz
2014-10-11 12:56       ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).