[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ob-clojure.el alternative using nrepl
From: |
Eric Schulte |
Subject: |
Re: [O] ob-clojure.el alternative using nrepl |
Date: |
Fri, 04 Oct 2013 11:05:32 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Oleh <address@hidden> 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
- [O] ob-clojure.el alternative using nrepl, Oleh, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Oleh, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Bastien, 2013/10/03
- Message not available
- Message not available
- Re: [O] ob-clojure.el alternative using nrepl, Oleh, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Eric Schulte, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Oleh, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Eric Schulte, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Bastien, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Eric Schulte, 2013/10/03
- Re: [O] ob-clojure.el alternative using nrepl, Oleh, 2013/10/04
- Re: [O] ob-clojure.el alternative using nrepl,
Eric Schulte <=