Hi all,

I updated my entire Clojure environment today to the latest in source
control: slime, swank-clojure, clojure, clojure-contrib, clojure-mode.
Now SLIME is unhappy. It appears that the swank-clojure code has been
patched appropriately.

Starting slime yields the following in my *inferior-lisp* buffer:

(add-classpath "file:///d:/clojure/swank-clojure/")

(require 'swank.swank)

(swank.swank/ignore-protocol-version "2009-01-17")

(swank.swank/start-server
"c:/DOCUME~1/temerson/LOCALS~1/Temp/slime.224" :encoding
"iso-latin-1-unix")

Listening for transport dt_socket at address: 8888
Clojure
user=> nil
user=> user=> nil
user=> user=> "2009-01-17"
user=> user=> Connection opened on local port  1561
1561
user=> user=>

The repl isn't started. Looking back at the forum, I saw Bill's
message about the reorg in the slime codebase. Here are the
appropriate bits of my .emacs:

(setq load-path (append '("D:/clojure/clojure-mode"
                          "D:/clojure/swank-clojure"
                          "D:/clojure/slime"
                          "D:/clojure/slime/contrib") load-path))

;; Clojure configuration
(autoload 'clojure-mode "clojure-mode" "A mode for clojure lisp" t)
(add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode))

(autoload 'paredit-mode "paredit" "Parenthesis editing minor mode" t)

(eval-after-load "clojure-mode"
  '(progn
     (defun clojure-paredit-hook () (paredit-mode +1))
     (add-hook 'clojure-mode-hook 'clojure-paredit-hook)

     (define-key clojure-mode-map "{" 'paredit-open-brace)
     (define-key clojure-mode-map "}" 'paredit-close-brace)))

; get ready for SLIME
;(require 'slime)
(setq swank-clojure-jar-path "D:\\clojure\\clojure\\clojure.jar")
(setq swank-clojure-extra-classpaths
'("D:\\clojure\\clojure-contrib\\clojure-contrib.jar"
                                       "C:\\classes\\*"))
; VM args that allows JSwat to connect to the REPL
(setq swank-clojure-extra-vm-args '("-Xdebug"

"-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888"))

(eval-after-load "slime"
  '(progn
     (slime-setup '(slime-repl))))

(require 'slime)
(require 'swank-clojure-autoload)

I appreciate any thoughts people may have.

Thanks.

    -tree

-- 
Tom Emerson
tremer...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to