Re: Namespace Problems org-mode/org-babel

2014-02-21 Thread Volker Strobel
Here is the link to my org-mode post: http://article.gmane.org/gmane.emacs.orgmode/82549 -- 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 - pl

Re: Namespace Problems org-mode/org-babel

2014-02-21 Thread Volker Strobel
Thanks again! However, the problem persists. In re-installed emacs 24.3 and fetched the org-mode development version again (M-x org-version: *Org-mode version 8.2.5h (release_8.2.5h-643-gd0ae56 @ /home/pold/org-mode/lisp/*). I also tried to copy the content of the ob-clojure.el file directly to

Re: Namespace Problems org-mode/org-babel

2014-02-21 Thread Maik Schünemann
That is really strange. The location of the org file doesn't matter as long as it is in the right project so that cider can find the project.clj could it be that you have conflicting versions of org mode? Make sure that you have the new version of ob-clojure loaded. It should look like this http://

Re: Namespace Problems org-mode/org-babel

2014-02-20 Thread Volker Strobel
Now I have the same problem again... Everything worked fine for a few hours, until now. Again, I tried to re-install/rebuild org-mode (development version from git) etc. I don't know what suddenly went wrong (I moved my .org file from the src/ folder to the leiningen project folder, but I undid

Re: Namespace Problems org-mode/org-babel

2014-02-20 Thread Volker Strobel
Thanks Maik! I just re-installed the most recent org-mode version (although I was 99.9 % sure, I did the same steps two days ago...) and now everything works fine! Quite simple, as I was looking for the error many, many hours (and several times stumbled across your 2012 blog post "Literate Prog

Re: Namespace Problems org-mode/org-babel

2014-02-20 Thread Maik Schünemann
Sorry for the short answer I am writing this on my phone. I am also using org mode and the following works fine for me: 1 evaluate the first block. Now cider should already be in the right namespace. 2. The next source block can be evaluated in the current ns. You basically have to make sure that t

Re: Namespace Problems org-mode/org-babel

2014-02-19 Thread Volker Strobel
> > I should mention, that I use cider and followd the instructions on this > page for the > setup: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, sen

Namespace Problems org-mode/org-babel

2014-02-19 Thread Volker Strobel
Hi, I'm trying to use org-mode with clojure. However, my problem is, that all functions are evaluated in the 'user' namespace. Basically, I have something like this: #+BEGIN_SRC clojure (ns environment.my-test (:gen-class) (:require [clojure.java.io :refer :all])) #+END_SRC #+RESULTS: : n