From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Moynihan Subject: Re: Re: Org-Babel - Clojure & Lazy Sequences Bug Date: Sun, 28 Nov 2010 23:23:38 +0000 Message-ID: References: <87k4kqpc4q.fsf@gmail.com> <87vd3lz4i0.fsf@gmail.com> <87k4jzltfi.fsf@gmail.com> <871v67lmy4.fsf@gmail.com> <87pqtr2msy.fsf@Rainer.invalid> <87mxoukd39.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016364ee0f8fe51f40496253fd6 Return-path: Received: from [140.186.70.92] (port=55204 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMqbF-0003Od-0m for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 18:24:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMqb9-00087x-B2 for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 18:24:04 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:46848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMqb9-00087t-8V for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 18:23:59 -0500 Received: by qwi2 with SMTP id 2so925465qwi.0 for ; Sun, 28 Nov 2010 15:23:58 -0800 (PST) In-Reply-To: <87mxoukd39.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Achim Gratz , emacs-orgmode@gnu.org --0016364ee0f8fe51f40496253fd6 Content-Type: text/plain; charset=ISO-8859-1 Hey Eric, thanks for the changes... I tried them locally and they didn't work as some of the pprint functions you were using weren't fully qualified. I've attached a small patch with the fixes. Also it's worth noting for anyone else that clojure 1.2.0(+) is required for this to work. Thanks again for working on this, R. On 27 November 2010 15:20, Eric Schulte wrote: > Fixed, Thanks -- Eric > > Achim Gratz writes: > >> "Eric Schulte" writes: >>> I've just pushed up an implementation of this feature. >> >> I'm afraid byte-compile doesn't like it: >> >> In org-babel-expand-body:clojure: >> ob-clojure.el:63:26:Warning: reference to free variable `result-params' >> >> >> :-) >> >> >> Achim. > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --0016364ee0f8fe51f40496253fd6 Content-Type: text/x-patch; charset=US-ASCII; name="ob-clojure.patch" Content-Disposition: attachment; filename="ob-clojure.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gh2k72vp0 RnJvbSA0YzA1NzQzOTA1YTFhYjM5NzBkN2Y1MDc1NDQwZTY3ZTFiZTlkN2YzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSaWNrIE1veW5paGFuIDxyaWNrQHdncmlkcy5jb20+CkRhdGU6 IFN1biwgMjggTm92IDIwMTAgMjM6MjE6MDIgKzAwMDAKU3ViamVjdDogW1BBVENIXSBGaXhlZCBi YWJlbCBwcmV0dHkgcHJpbnRpbmcsIGJ5IGZ1bGx5IHF1YWxpZnlpbmcgZnVuY3Rpb24gbmFtZXMK Ci0tLQogbGlzcC9vYi1jbG9qdXJlLmVsIHwgICAgMiArLQogMSBmaWxlcyBjaGFuZ2VkLCAxIGlu c2VydGlvbnMoKyksIDEgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9vYi1jbG9qdXJl LmVsIGIvbGlzcC9vYi1jbG9qdXJlLmVsCmluZGV4IGU0MWJmMTUuLmE1ZThjNzIgMTAwNjQ0Ci0t LSBhL2xpc3Avb2ItY2xvanVyZS5lbAorKysgYi9saXNwL29iLWNsb2p1cmUuZWwKQEAgLTYzLDcg KzYzLDcgQEAKICAgICAoaWYgKG9yIChtZW1iZXIgImNvZGUiIHJlc3VsdC1wYXJhbXMpCiAJICAg IChtZW1iZXIgInBwIiByZXN1bHQtcGFyYW1zKSkKIAkoZm9ybWF0IChjb25jYXQgIihsZXQgW29y Zy1tb2RlLXByaW50LWNhdGNoZXIgKGphdmEuaW8uU3RyaW5nV3JpdGVyLildIgotCQkJIih3aXRo LXBwcmludC1kaXNwYXRjaCAlcy1kaXNwYXRjaCIKKwkJCSIoY2xvanVyZS5wcHJpbnQvd2l0aC1w cHJpbnQtZGlzcGF0Y2ggY2xvanVyZS5wcHJpbnQvJXMtZGlzcGF0Y2giCiAJCQkiKGNsb2p1cmUu cHByaW50L3BwcmludCAlcyBvcmctbW9kZS1wcmludC1jYXRjaGVyKSIKIAkJCSIoc3RyIG9yZy1t b2RlLXByaW50LWNhdGNoZXIpKSkiKQogCQkoaWYgKG1lbWJlciAiY29kZSIgcmVzdWx0LXBhcmFt cykgImNvZGUiICJzaW1wbGUiKSBib2R5KQotLSAKMS43LjAuNAoK --0016364ee0f8fe51f40496253fd6 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --0016364ee0f8fe51f40496253fd6--