From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Szmulewicz Subject: ob-clojure.el (org-babel for Clojure) Date: Thu, 2 Oct 2014 09:59:08 +0300 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_4828A19F-2AA2-4C0E-BB14-EF7579425B93" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZaMF-00070q-Ue for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 02:59:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZaM5-0002ji-CL for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 02:59:23 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:60051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZaM5-0002jT-69 for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 02:59:13 -0400 Received: by mail-wi0-f181.google.com with SMTP id hi2so2973368wib.8 for ; Wed, 01 Oct 2014 23:59:11 -0700 (PDT) Received: from [192.168.1.101] ([5.144.62.32]) by mx.google.com with ESMTPSA id gs6sm173313wib.1.2014.10.01.23.59.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Oct 2014 23:59:10 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --Apple-Mail=_4828A19F-2AA2-4C0E-BB14-EF7579425B93 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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.=20 Org-mode 8.2.7c Thank you in advance. -- Daniel Szmulewicz daniel.szmulewicz@gmail.com --Apple-Mail=_4828A19F-2AA2-4C0E-BB14-EF7579425B93 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii 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




--Apple-Mail=_4828A19F-2AA2-4C0E-BB14-EF7579425B93-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: ob-clojure.el (org-babel for Clojure) Date: Thu, 02 Oct 2014 11:25:55 +0200 Message-ID: <87tx3mddr0.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZceQ-0004s3-3d for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 05:26:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZceH-0001Li-SE for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 05:26:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:50566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZceH-0001Lc-Mj for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 05:26:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZceF-0004Ep-T4 for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 11:26:07 +0200 Received: from e178061072.adsl.alicedsl.de ([85.178.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 11:26:07 +0200 Received: from tjolitz by e178061072.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 11:26:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Daniel Szmulewicz 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Szmulewicz Subject: Re: ob-clojure.el (org-babel for Clojure) Date: Thu, 2 Oct 2014 14:30:30 +0000 (UTC) Message-ID: References: <87tx3mddr0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZhTN-0000Tl-IO for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 10:35:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZhTF-0004sf-Dr for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 10:35:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:47558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZhTF-0004rs-7y for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 10:35:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZhTE-0002Pm-CQ for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 16:35:04 +0200 Received: from 213.57.118.74 ([213.57.118.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 16:35:04 +0200 Received: from daniel.szmulewicz by 213.57.118.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2014 16:35:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thorsten Jolitz 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?. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Szmulewicz Subject: Re: ob-clojure.el (org-babel for Clojure) Date: Sat, 4 Oct 2014 01:34:23 +0000 (UTC) Message-ID: References: <87tx3mddr0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaEF9-00032q-Of for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 21:34:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaEF3-0004Oo-KK for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 21:34:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:55791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaEF3-0004Oc-DI for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 21:34:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XaEF2-0007n1-3l for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 03:34:36 +0200 Received: from dynamic.5.144.62.69.ccc.net.il ([dynamic.5.144.62.69.ccc.net.il]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2014 03:34:36 +0200 Received: from daniel.szmulewicz by dynamic.5.144.62.69.ccc.net.il with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2014 03:34:36 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Daniel Szmulewicz gmail.com> writes: > > Thorsten Jolitz 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: ob-clojure.el (org-babel for Clojure) Date: Sat, 04 Oct 2014 04:36:14 +0200 Message-ID: <87wq8g1rz5.fsf@gmail.com> References: <87tx3mddr0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaFDM-0001Kj-Kk for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 22:37:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaFCu-0007Yt-8O for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 22:36:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:55161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaFCu-0007YO-2B for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 22:36:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XaFCr-0005DF-Fe for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 04:36:25 +0200 Received: from e178061012.adsl.alicedsl.de ([85.178.61.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2014 04:36:25 +0200 Received: from tjolitz by e178061012.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2014 04:36:25 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Daniel Szmulewicz writes: > Daniel Szmulewicz gmail.com> writes: > >> >> Thorsten Jolitz 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: ob-clojure.el (org-babel for Clojure) Date: Sat, 11 Oct 2014 14:56:19 +0200 Message-ID: <87lhomlq8c.fsf@bzg.ath.cx> References: <87tx3mddr0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcwDn-0006eL-Gx for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 08:56:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcwDe-00010d-7Z for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 08:56:31 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:43644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcwDe-00010W-1K for emacs-orgmode@gnu.org; Sat, 11 Oct 2014 08:56:22 -0400 Received: by mail-wi0-f180.google.com with SMTP id em10so4209816wid.1 for ; Sat, 11 Oct 2014 05:56:21 -0700 (PDT) In-Reply-To: (Daniel Szmulewicz's message of "Sat, 4 Oct 2014 01:34:23 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Szmulewicz Cc: emacs-orgmode@gnu.org Hi Daniel, Daniel Szmulewicz 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