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://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/ob-clojure.el
maybe the old ob-clojure from the org mode shipping with emacs gets loaded.
Try to evaluate the file in an emacs session or copy the content to
you .emacs file to make sure it gets executed (without the provide and
require statements)


On Fri, Feb 21, 2014 at 7:30 AM, Volker Strobel
<volker.strobe...@gmail.com> wrote:
> 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 that again).
> I also created a new leiningen project in order to start from scratch. If I
> include (in-ns ...) in every code block it'll work fine, but I really would
> try to avoid that.
> Here is an example again:
>
> #+BEGIN_SRC clojure :tangle core.clj
> (ns org-works.core
>   (:gen-class))
> #+END_SRC
>
> #+RESULTS:
> : nil
>
> #+BEGIN_SRC clojure :tangle core.clj
> (in-ns 'org-works.core)
> (def a 5)
>
> #+END_SRC
>
> #+RESULTS:
> : #'org-works.core/a
>
> #+BEGIN_SRC clojure :tangle core.clj
> (def b 5)
>
> #+END_SRC
>
> #+RESULTS:
> : #'user/b
>
> Currently this file is located in the src folder of the leiningen project.
> How can I make org-mode to use the correct namespace again?
> Thanks, again!
> Volker
>
> --
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to