Fork me on GitHub
#planck
<
2016-09-11
>
mnewhook12:09:32

can I load something into the classpath inside a repl?

mfikes13:09:50

@mnewhook The Planck classpath mechanism is static, so the classpath itself cannot be changed at runtime, if that’s what you are asking. Having said that, there is no technical limitation that would preclude such a feature from being added.

mnewhook13:09:48

I means that i need to futz with the inf-clojure-program for each separate project I’m working which has an external dependency on which seems less than ideal

mnewhook13:09:35

if only planck had nREPL support? 🙂 Is there anything precluding this support besides implementing it?

mfikes13:09:29

@mnewhook Right. Planck could support nREPL. Instead Socket REPL support was implemented.

mnewhook13:09:45

actually, it looks like its possible for inf-clojure to support the socket repl.

mnewhook13:09:25

(setq inf-clojure-program "telnet localhost 7888")

slipset20:09:40

mnewhook: I think you could solve this by adding a .dir-locals.el file which contains your inf-clojure-program for each project https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html

slipset20:09:10

You must remember @mfikes is an infidel who uses intellij 🙂

mfikes20:09:41

Also, if there are improvements that could be made to the Emacs section of http://planck-repl.org/ides.html I'll take PRs relying on the community.