If you are willing to entertain a slightly different interaction model,
you might want to take a look at the lentic package

https://github.com/phillord/lentic

Instead of Clojure snippets which you can pop out and edit, this gives
you two buffers, one entirely valid clojure (which syntax highlights,
you can eval, test and so forth) and one entirely valid org (which you
can publish, show-hide and so forth). You can edit either one (the
Clojure view or the Org-mode view) and changes percolate backward.

This video shows it working with org-mode and Emacs-lisp.

https://vimeo.com/116078853

And this video shows it working with latex and clojure.

https://vimeo.com/116141808

I don't have a video of it working with org and clojure, but it does
work with them. My tawny-owl library is being (slowly) ported to this
form of literate development.

https://github.com/phillord/tawny-owl/blob/master/src/tawny/owl.clj

It also allows integration with asciidoc, and clojure. I wrote these
slides:

http://homepages.cs.ncl.ac.uk/phillip.lord/download/tawny/icbo_2015/2015_lisbon.html

as literate clojure source.

Have fun.

Phil



Johannes Brauer <bra...@nordakademie.de> writes:

> Hi Karsten,
>
> thank you for the links to your project. But until now, I haven’t succeeded to
> setup my Emacs so that I can evaluate Clojure code snippets in an org file.
>
> Johannes
>> Am 03.11.2015 um 19:56 schrieb Karsten Schmidt <i...@toxi.co.uk>:
>>
>> Hi Johannes, checkout my leiningen template for org-mode projects
>> here: http://thi.ng/babel and an example project using this template
>> here: http://thi.ng/fabric
>>
>>
>> On 3 November 2015 at 13:03, Stuart Sierra <the.stuart.sie...@gmail.com> 
>> wrote:
>>> Hi Johannes
>>>
>>> I have a working Org babel & Clojure in my Emacs setup. It's idiosyncratic
>>> to my preferences, but maybe it will be useful:
>>> github.com/stuartsierra/dotfiles
>>>
>>> –S
>>>
>>>
>>>
>>> On Tuesday, November 3, 2015 at 3:25:51 AM UTC-5, Johannes wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am looking for a working environment for using org-mode with Clojure
>>>> babel. Googleing for the issue I can only find some apparently outdated
>>>> hints. I am using org-mode version 8.2.10, Clojure 1.6.0, Leiningen 2.5.1,
>>>> and CIDER 0.10.0.
>>>>
>>>> Any hints, where I can find the right configuration?
>>>>
>>>> Johannes
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clojure@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with your
>>> first post.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>> "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to clojure+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Karsten Schmidt
>> http://postspectacular.com | http://thi.ng | http://toxiclibs.org
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with your 
>> first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/clojure/PldQTR3yB3A/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> ________________________________
>
>
> Staatlich anerkannte private Fachhochschule
> NORDAKADEMIE
> Gemeinnützige Aktiengesellschaft
> Köllner Chaussee 11
> 25337 Elmshorn
>
> Vorstand:
> Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)
>
> Vorsitzender des Aufsichtsrats:
> Dr. h.c. Hans-Heinrich Bruns
>
> Sitz:
> Elmshorn, Amtsgericht Pinneberg, HRB 1682

-- 
Phillip Lord,                           Phone: +44 (0) 191 208 7827
Lecturer in Bioinformatics,             Email: phillip.l...@newcastle.ac.uk
School of Computing Science,            
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower,               skype: russet_apples
Newcastle University,                   twitter: phillord
NE1 7RU                                 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to