Fork me on GitHub
#emacs
<
2016-07-14
>
wei08:07:43

what’s the simplest way to connect to a socket repl from emacs?

benedek08:07:37

afaik cider does not have socket repl support yet. i would try with inf-clojure

wei08:07:39

how does inf-clojure have support but cider not? aren’t they both by the same author?

wei08:07:57

i do prefer inf-clojure though for its simplicity

benedek09:07:49

cider needs a middleware (essentially clojure code backend) to do the smart stuff. that is packaged atm as an nrepl middleware

benedek09:07:07

inf-clojure does not need a middleware (clojure code backend) as it is much, much simpler

benedek09:07:45

same author: indeed, afaik inf-clojure was specially created for those who rather go for simplicity over more features

wei09:07:13

how do I specify which port to connect to in inf-clojure? didn’t see that in the doc

wei09:07:54

got it, specified inf-clojure-mode-program

wei09:07:05

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