swank-clojure is the Clojure server component of SLIME, the Superior Lisp Interaction Mode for Emacs, which is used to connect SLIME to a running Clojure instance.
Questions tagged [swank-clojure]
19 questions
8
votes
4 answers
I can't initialize neither swank nor clojure-jack-in
I've a problem. I've installed clojure, slime, slime-repl and elein using marmalade. Now I open my project and call elein-swank. I get this:
Starting swank..
error in process filter: slime-presentation-init-keymaps: Symbol's function definition is…

user1050817
- 915
- 2
- 11
- 21
7
votes
1 answer
Can't send funny chars to SLIME
Although I set UTF-8 everywhere (in my lein project, the slime-lisp group customization, the Emacs buffer itself...), I keep getting this error when trying to run code such as (def beta "β"):
Coding system iso-latin-1-unix not suitable…

deprecated
- 5,142
- 3
- 41
- 62
5
votes
1 answer
Printing UTF-8 text in slime REPL
I'm a beginning user of both Emacs and Clojure, testing my working environment with some simple text processing. I'm having problems getting the Slime REPL to properly print UTF-8 text stored in a vector.
I start by reading the contents of a file (a…

nmashton
- 51
- 2
5
votes
1 answer
load a new dependency in slime?
I am using emacs and swank-clojure. How do I resolve the below scenario -
I have added a new dependency to project.clj.
I run lein deps in a shell to get the new dep.
I have an existing slime session that is open and want to use a function from…

murtaza52
- 46,887
- 28
- 84
- 120
4
votes
2 answers
Getting started with Datomic and Clojure in Emacs
My project.clj file looks like this
(defproject cljs-template "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.4.0-beta4"]
[noir-cljs "0.3.0"]
…

Stephen Cagle
- 14,124
- 16
- 55
- 86
4
votes
2 answers
"Hot swapping" code with swank clojure, and crash resilience
I've been messing around with developing a game in clojure, and one thing I've been really excited about is hot swapping in code.
I've been using swank clojure and emacs with the lein-swank plugin.
My main problem has been that of typos. Say I…

thedayturns
- 9,723
- 5
- 33
- 41
3
votes
1 answer
swank-clojure and slime no longer co-operating in emacs
I made the mistake of updating my existing ports with MacPorts -- now slime and swank-clojure no longer work. I get the following message when I invoke clojure-jack-in within emacs:
Versions differ: 2011-04-16 (slime) vs. 20100404 (swank). Continue?…

dtg
- 1,803
- 4
- 30
- 44
3
votes
1 answer
lein swank doesn't work after lein upgrade
After upgrading Leiningen (from v1.6 to v1.7) with lein upgrade command lein swank stopped working with error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
[...]
at…

ffriend
- 27,562
- 13
- 91
- 132
3
votes
2 answers
Dynamically importing dependencies?
Is it possible to add new stuff to the classpath (e.g. editing project.clj and running lein deps) and then importing it to an existing Clojure session?
This is, without having to disconnect and then connect again.

deprecated
- 5,142
- 3
- 41
- 62
3
votes
2 answers
Clojure Slime Configuration
I have lein 1.7 with swank 1.4 plugin. Then, I start with no emacs configuration and install clojure-mode from marmalade, create a new project with lein, open up project.clj and then do M-x clojure-jack-in. Slime start just fine. Then I am entering…

EvgeniySharapov
- 3,078
- 3
- 27
- 38
2
votes
1 answer
Clojure Hello World - "No such namespace" error
I'm trying to write a helloworld with clojure. I'm using leinengen with emacs and swank-clojure.
Here's what my src/hello.clj contains:
(ns hello)
(defn hello []
(println "Hello World"))
When I clojure-jack-in and C-c C-c over the function, I…

roshanvid
- 793
- 6
- 21
2
votes
2 answers
Updating Clojure version for swank/slime
I just updated from Clojure 1.2 to clojure 1.3.0 on Windows 7
and emacs is still going to Clojure 1.2 with swank/slime.
Any suggestions where to change this so it uses 1.3?

Anniepoo
- 2,152
- 17
- 17
2
votes
1 answer
how to automatically load new dependencies from project.clj in swank
I am working in emacs, swank-clojure. I start my repl using clojure-jack-in. However when I add a new dependency to my project.clj, the dependency is not available in the repl.
1) Is there a way to load new dependencies automatically in swank, when…

murtaza52
- 46,887
- 28
- 84
- 120
2
votes
0 answers
resetting the swank in emacs
Let me the describe the problem I am having in emacs.
I started the swank using the clojure-jack-in. I had to kill it for some reason, and killed swank using M-k (I dont know if there is a better way to shut it down).
Then I started inferior-lisp…

murtaza52
- 46,887
- 28
- 84
- 120
1
vote
1 answer
Leakage of java.exe processes
In Emacs + clojure-mode/swank-clojure, when I quit, the java.exe process that was created doesn't get actually killed (as much as I select 'y' when asked for it). What could be the cause?

deprecated
- 5,142
- 3
- 41
- 62