On Jun 22, 7:36 am, Larry Travis <tra...@cs.wisc.edu> wrote:
>
> Thanks. I'm not sure what you mean by "leiningen" or by a "clojure
> project" (which almost certainly reveals my inexperience with respect to
> clojure installation and/or programming!) but I think I can figure it
> out with some exploration.

Leinging is a build/dependencies tool for clojure that should make it
fairly easy to include swank-clojure in your project (I mean, clojure
program).

But really, all you need is swank.swank and the rest of the .clj code
from swank-clojure in your class path, and some code like this:

(ns your-namespace
  (:require [swank.swank]))

(defn run-swank []
  (swank.swank/start-repl 4005 :host "localhost"))

Calling (your-namespace/run-swank) will start a server that you can
connect to with M-x slime-connect from Emacs.

HTH,
Joost.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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