I have successfully installed Clojure on my Arch Linux system and even have clojure-mode success in emacs. However, when connecting to SLIME using
M-x slime
I get no REPL. Instead I get a *
In addition, any Clojure code I try to compile with C-c C-c fails.
Here is my .emacs file; what am I doing wrong?
(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(inhibit-startup-screen t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (put 'upcase-region 'disabled nil) (setq inferior-lisp-program "/usr/bin/sbcl") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/") (require 'slime) (slime-setup) ;; clojure-mode (add-to-list 'load-path "~/opt/clojure/clojure-mode") (require 'clojure-mode) (setq swank-clojure-jar-home "~/opt/jars") (setq swank-clojure-deps (list "~/opt/jars/swank-clojure.jar" "~/opt/jars/clojure.jar" "~/opt/jars/clojure-contrib.jar")) (add-to-list 'load-path "~/opt/clojure/swank-clojure") (require 'swank-clojure)

New Topic/Question
Reply





MultiQuote




|