From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: ob-clojure.el alternative using nrepl Date: Fri, 04 Oct 2013 11:05:32 -0600 Message-ID: <874n8xj7ab.fsf@gmail.com> 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: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS8p9-0002FT-PX for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 13:06:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VS8p4-0004h0-Kz for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 13:05:55 -0400 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:43472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS8p4-0004go-DL for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 13:05:50 -0400 Received: by mail-pa0-f44.google.com with SMTP id lf10so4423041pab.17 for ; Fri, 04 Oct 2013 10:05:49 -0700 (PDT) In-Reply-To: (Oleh's message of "Fri, 4 Oct 2013 10:26:17 +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: Oleh Cc: Bastien , org mode Oleh writes: > Thanks, Eric. > > Your changes work. > Great, thanks for the patch. > > 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. > I think this must be particular to your system. The (defvar org-babel-tangle-lang-exts) form in ob-clojure.el should take care of this problem, and indeed does for me. $ emacs --batch --eval "(progn (add-to-list 'load-path \"~/src/org-mode/lisp\") (require 'org) (require 'ob-clojure) (message \"success\"))" success Cheers, > > 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 >> -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D