Tags down


Other editors that can use slime/swank?

By : user3851301
Date : October 17 2020, 11:12 AM
it fixes the issue MCLIDE can connect to Swank servers. (See the MCLIDE tour -- the very bottom of the page -- for a notice to confirm this. I recall reading about swank-clojure & MCLIDE recently... Not sure if they work together yet, but at the very least there's someone out there who's competent and interested in bringing them together.)
code :

Share : facebook icon twitter icon

How to reconnect to slime/swank-clojure session?

By : myxai manipakon
Date : March 29 2020, 07:55 AM
Does that help It seems that whenever I disconnect from clojure slime session, I cannot reconnect again. I am using leiningen to start the swank session (with lein-swank plugin). So, every time I quit emacs (I know I shouldn't) or reboot/logout I have to restart both slime and swank. Is there a way to re-connect to a slime/clojure-swank session? , Yes, but you have to tell swank not to close the connection:
code :
lein swank 4005 "localhost" :dont-close true

Understanding output in Clojure using swank/slime

By : user2574562
Date : March 29 2020, 07:55 AM
To fix this issue The reason is, that in other threads *out* is not bound to the REPL's stream. Try something like this:
code :
(let [repl-out *out*]
  (defn foo []
    (binding [*out* repl-out]
(defmacro future-output [& body]
  `(let [out# *out*]
       (binding [*out* out#]

Emacs with Slime and Swank for non-leiningen projects

By : user3452177
Date : March 29 2020, 07:55 AM
Hope this helps You need to have swank-clojure.jar in CLASSPATH and your script should have following code:
code :
(require 'swank.swank) 
(swank.swank/start-repl 4005)

Updating Clojure version for swank/slime

By : anymol
Date : March 29 2020, 07:55 AM
I wish did fix the issue. lein deps will fetch the clojure version you've declared in the :dependencies of your project.clj, and lein swank will start a swank server using that clojure version.
BTW: From inside emacs, I think it's more convenient to simply use M-x clojure-jack-in from a buffer associated with some file in your project. That'll also start swank for you.

SLIME and SWANK Fail on a MIPS Architecture

By : mario219
Date : March 29 2020, 07:55 AM
wish help you to fix your issue That version of SBCL is too old to work with current SLIME. Try building and installing a new version of SBCL with the sources from http://www.sbcl.org and see if that improves the situation.
Privacy Policy - Terms - Contact Us © bighow.org