From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: ob-clojure.el alternative using nrepl Date: Fri, 4 Oct 2013 10:26:17 +0200 Message-ID: References: <87mwmqpcyd.fsf@bzg.ath.cx> <87hacynx1l.fsf@bzg.ath.cx> <8761temdp1.fsf@gmail.com> <871u42m3gf.fsf@gmail.com> <87mwmqnhme.fsf@bzg.ath.cx> <87wqluklu7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5430d4e6dd10d04e7e60e3a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS0iK-0005Eb-A3 for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 04:26:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VS0iI-0004Th-VM for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 04:26:20 -0400 Received: from mail-bk0-x22e.google.com ([2a00:1450:4008:c01::22e]:49453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS0iI-0004SN-NZ for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 04:26:18 -0400 Received: by mail-bk0-f46.google.com with SMTP id 6so1391303bkj.33 for ; Fri, 04 Oct 2013 01:26:17 -0700 (PDT) In-Reply-To: <87wqluklu7.fsf@gmail.com> 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: Eric Schulte Cc: Bastien , org mode --bcaec5430d4e6dd10d04e7e60e3a Content-Type: text/plain; charset=ISO-8859-1 Thanks, Eric. Your changes work. Still, I think that it's needed to require ob-tangle. It defines the variable `org-babel-tangle-lang-exts' that ob-clojure wants to modify right at loading. So it's impossible to load ob-clojure unless ob-tangle was already loaded. Just to clarify, this code will work: (setq org-babel-tangle-lang-exts nil) (require 'ob-clojure) whereas (require 'ob-clojure) will not. regards, Oleh > Alright, I just pushed this up. > > Thanks for testing, I haven't used Clojure in a couple of years now > (since happily moving on to Common Lisp as my lisp of choice). > > Thanks to Oleh for the patch! > > Cheers, > > -- > Eric Schulte > https://cs.unm.edu/~eschulte > PGP: 0x614CA05D > --bcaec5430d4e6dd10d04e7e60e3a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, Eric.

Your changes work.

Still, I think that it's needed to require ob-tangle.
It defines the variable `org-babel-tangle-lang-exts' that ob-clojure<= /div>
wants to modify right at loading. So it's impossible to load ob-cl= ojure
unless ob-tangle was already loaded.

Just to clarify, this code will work:

(setq org-babel-tangle-lang-exts nil)
(require 'ob-clojure)

whereas=A0

(require = 'ob-clojure)

will not.

regards,
Oleh
=A0
Alright, I just pushed this up.

Thanks for testing, I haven't used Clojure in a couple of years now
(since happily moving on to Common Lisp as my lisp of choice).

Thanks to Oleh for the patch!

Cheers,

--
Eric Schulte
https://cs.unm.e= du/~eschulte
PGP: 0x614CA05D

--bcaec5430d4e6dd10d04e7e60e3a--