I was actually quite happy with using vim + lein repl, but since so many people keep saying that Emacs is the way to go when it comes to Lisps, I've decided to give it a try. The problem is now setting up a clojure environment that does all the fancy things that people keep talking about - for now I managed to install clojure-mode and nREPL and that works reasonably well, but I need to get the repl to work with my Leiningen projects if this experiment is going to go somewhere (having a repl in the editor would be pretty pointless if that meant having to manage of all my dependencies (especially classpath related ones) on my own again). The problematic point here is that most articles I see online are
- A) about swank-clojure, which is deprecated
- B) about Leiningen 1.x, which is deprecated
- C) both
- D) Only cover installation, not how to actually use the things you just installed (or even what they do)
Now what I'm looking for is:
- Get nrepl.el to respect my project.clj
- Find out what the normal workflow with leiningen + emacs + clojure-mode + nrepl.el is
- Has nothing to do with the question, but I'd be interested in why emacs sometimes covers up text (changes font color to background color until hit by the cursor) without me asking it to.