Re: org-mode Clojure babel

2016-01-07 Thread Johannes Brauer
thanks a lot,Martin, upgrading leiningen from 2.5.1 to 2.5.3 solves the problem Johannes Am 07.01.2016 um 21:05 schrieb Martin Clausen mailto:martin.clau...@gmail.com>>: Have you tried updating leiningen? On Thu, Jan 7, 2016 at 9:02 PM Johannes Brauer mailto:bra...@nordakademie.de>> wrote: now

Re: org-mode Clojure babel

2016-01-07 Thread Martin Clausen
Have you tried updating leiningen? On Thu, Jan 7, 2016 at 9:02 PM Johannes Brauer wrote: > now my profiles.clj looks like > {:repl {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"] > [lein-pprint "1.1.2"]] > :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}} > > But r

Re: org-mode Clojure babel

2016-01-07 Thread Johannes Brauer
now my profiles.clj looks like {:repl {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"] [lein-pprint "1.1.2"]] :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}} But repl complains: ; CIDER 0.11.0snapshot (package: 20160104.1114) (Java 1.8.0_25, Clojure 1.6.0, nREPL 0.

Re: org-mode Clojure babel

2016-01-06 Thread Reid McKenzie
"0.11.0-SNAPSHOT". It's case sensitive. Reid On 01/06/2016 02:23 PM, Johannes Brauer wrote: > I tried this before. But with > {:repl {:plugins [[cider/cider-nrepl " 0.11.0-snapshot"]]}} > in my profiles.clj and cider-jack-in I get a Java exception: > Starting nREPL server via lein repl :headless.

Re: org-mode Clojure babel

2016-01-06 Thread Johannes Brauer
I tried this before. But with {:repl {:plugins [[cider/cider-nrepl " 0.11.0-snapshot"]]}} in my profiles.clj and cider-jack-in I get a Java exception: Starting nREPL server via lein repl :headless... error in process sentinel: Could not start nREPL server: java.lang.IllegalArgumentException: Bad a

Re: org-mode Clojure babel

2016-01-06 Thread Martin Clausen
If you update to cider/cider-nrepl 0.11.0-snapshot in your .lein/profiles.clj that should fix the problem. On Wed, Jan 6, 2016 at 1:02 PM Johannes wrote: > BUT!!! > > With cider-nrepl set to 0.10.0 and cider set to 0.11.0-snapshot emacs > complains: > WARNING: CIDER requires nREPL 0.2.12 (or new

Re: org-mode Clojure babel

2016-01-06 Thread Johannes
BUT!!! With cider-nrepl set to 0.10.0 and cider set to 0.11.0-snapshot emacs complains: WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.10.1). Things will break! That's not an org-bable problem,

Re: org-mode Clojure babel

2016-01-03 Thread Stuart Sierra
I recently adapted my Emacs config to work with Org 8.3.2 and CIDER 0.10.0. Here it is.

Re: org-mode Clojure babel

2015-12-29 Thread Johannes Brauer
thanks for the hint; indeed it works Am 21.12.2015 um 16:12 schrieb martin_clausen mailto:martin.clau...@gmail.com>>: I found that Org-mode version 8.3.2 and CIDER 0.11.0 snapshot (package: 20151212.1044) works great and can be easily be installed from repos. On Sunday, December 20, 2015 at 6:

Re: org-mode Clojure babel

2015-12-21 Thread martin_clausen
I found that Org-mode version 8.3.2 and CIDER 0.11.0 snapshot (package: 20151212.1044) works great and can be easily be installed from repos. On Sunday, December 20, 2015 at 6:16:15 PM UTC+1, Johannes wrote: > > Thanks, for the explanations. I hope for the best, that there will be an > working

Re: org-mode Clojure babel

2015-12-20 Thread Johannes Brauer
Thanks, for the explanations. I hope for the best, that there will be an working org-babel version in the future. In the mean time I will continue using lentilc. Johannes Am 10.12.2015 um 16:24 schrieb Matching Socks mailto:phill.w...@gmail.com>>: The latest stable Org Babel stopped working wi

Re: org-mode Clojure babel

2015-12-10 Thread Matching Socks
The latest stable Org Babel stopped working with the introduction of Cider 0.10.0. You can either go back to Cider 0.9.1, or (1) get Org 8.3.2, (2) git-clone Org's repo, and (3) back-port to 8.3.2 the change in ob-clojure.el that accommodates the latest Cider. The breakage was raised at h

Re: org-mode Clojure babel

2015-11-10 Thread Johannes
I am quite impressed about lentic. I think I will use it. Thank you, Phil. Nevertheless I am looking for a working configuration for Emacs org-mode with Clojure babel. Johannes Am Freitag, 6. November 2015 18:10:58 UTC+1 schrieb Phillip Lord: > > > If you are willing to entertain a slightly di

Re: org-mode Clojure babel

2015-11-07 Thread Johannes Brauer
it sounds exciting, I’ll give it a try. Johannes > Am 06.11.2015 um 18:10 schrieb Phillip Lord : > > > 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 snippet

Re: org-mode Clojure babel

2015-11-06 Thread Phillip Lord
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 highligh

Re: org-mode Clojure babel

2015-11-05 Thread Johannes Brauer
Hi! Thank you for your hints. ... One thing to do is look at your Org mode's ob-clojure.el and figure out whether it mentions cider. (The older or "stable" versions use only slime or nrepl.) The Org website is a house of mirrors, but somewhere you should find a tidy tar.gz of a nicely assemb

Re: org-mode Clojure babel

2015-11-04 Thread Matching Socks
If you and your Emacs are happy with cider and clojure-mode, then the leap to Org Babel with Clojure should be a short one. One thing to do is look at your Org mode's ob-clojure.el and figure out whether it mentions cider. (The older or "stable" versions use only slime or nrepl.) The Org webs

Re: org-mode Clojure babel

2015-11-04 Thread Stuart Sierra
Hi, Johannes, Sorry, I don't know. That error looks like an incompatibility of Elisp functions from different libraries. There are just too many different moving pieces here: Emacs, org-mode, CIDER, and nREPL. These projects are not coordinated with regard to version numbers and API incompatib

Re: org-mode Clojure babel

2015-11-04 Thread Johannes Brauer
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 : > > Hi Johannes, checkout my leiningen template for org-mode projects

Re: org-mode Clojure babel

2015-11-04 Thread Johannes Brauer
Hi Stuart, thanks a lot for your help. I’ve included your settings in my Emacs (Aquamacs) setup. After having activated CIDER I tried to compile (C-c C-c) a little code snippet: #+begin_src clojure :results silent (+ 1 2) #+end_src What happens, is: Evaluate this clojure code block on you

Re: org-mode Clojure babel

2015-11-03 Thread Karsten Schmidt
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 wrote: > Hi Johannes > > I have a working Org babel & Clojure in my Emacs setup. It's idios

Re: org-mode Clojure babel

2015-11-03 Thread Stuart Sierra
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