Hi. With a latest version of slime, I can not make slime working
properly with clojure on Mac(Leopard). I tried it as instructions of
clojure wiki, a readme file in swank-clojure, and emacs/slime/clojure
tutorial on ubuntu, but in the every case, slime shows some error
messages.
When I type m+x run-clojure, a user prompte appears with errors:
(clojure/add-classpath "file:////Users/chanwoo/Documents/lisp/clojure/
swank-clojure/")
(clojure/require (quote
swank))
(swank/ignore-protocol-version "2008-10-31")
(swank/start-server "/var/folders/Zc/ZcIgibUaGyWC8sCN4S4Y9++++TI/-Tmp-/
slime.33346" :encoding "iso-latin-1-unix")
Clojure
user=>
nil
user=> java.lang.Exception: Unable to resolve symbol: *1 in this
context
clojure.lang.Compiler$CompilerException: core.clj:124: Unable to
resolve symbol: *1 in this context
........
Caused by: java.lang.Exception: No such var: swank/start-
server
at clojure.lang.Compiler.resolveIn(Compiler.java:
4002)
at clojure.lang.Compiler.resolve(Compiler.java:
3972)
at clojure.lang.Compiler.analyzeSymbol(Compiler.java:
3955)
at clojure.lang.Compiler.analyze(Compiler.java:
3686)
... 15
more
user=>
Polling "/var/folders/Zc/ZcIgibUaGyWC8sCN4S4Y9++++TI/-Tmp-/slime.
33346".. (Abort with `M-x slime-abort-connection'.)
my .emacs file:
;;clojure
mode
(add-to-list 'load-path "/Users/chanwoo/Documents/lisp/clojure/clojure-
mode")
(require 'clojure-auto)
;;slime
(add-to-list 'load-path "/Users/chanwoo/Documents/lisp/clojure/
slime")
(require
'slime)
(slime-
setup)
(add-to-list 'load-path "/Users/chanwoo/Documents/lisp/clojure/swank-
clojure")
(setq swank-clojure-jar-path "/Users/chanwoo/Documents/lisp/clojure/
clojure_20080916/clojure.jar")
(require 'swank-clojure-
autoload)
(defun run-clojure
()
"Starts clojure in
Slime"
(interactive)
(slime 'clojure))
Is vim setup with clojure easy than emacs? I have been used only emacs
with lisp, have no experience with vim...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---