Fork me on GitHub
#cider
<
2016-08-20
>
blueberry11:08:55

What is today's recommended workflow for using Clojure code in Org mode files? I am using Prelude, Cider, and Leiningen on Linux. I've found some posts online, but they are either old or are using many custom settings that may not be needed (or might even brake something). I do not need full-blown literate programming. I just need to make writing Clojure snippets in Org-mode as easy as possible when writing docs, presentations, blog posts, etc...

blueberry11:08:35

@bozhidar Is there any plan for including Org-mode and Cider integration in Prelude?

bozhidar15:08:11

no, I don't have this on my roadmap, but I'm guessing that anyone can quickly add org-babel and whatever the matching clojure package is

plexus16:08:55

I can confirm Clojure works fine with org-mode. If you need specific dependencies then put a project.clj in the same dir as your org file and cider-jack-in from there

boz17:08:40

Hope you don’t mind me asking on this channel. … I’m trying out clj-refactor and C-c RET seems to conflict between cljr and cider-macroexpand-1. Any pointers on how to get around this?

lvh19:08:37

plexus: Do you use babel for that?

plexus19:08:02

yes, org-babel, I guess the package is ob-clojure

plexus19:08:06

@boz this is a know issue, this is why the README now suggest C-c C-m instead of C-c RET

plexus19:08:48

if you want to use C-c RET anyway I guess you can unbind the key binding for cider-macroexpand-1