Re: clojure-mode install on Windows XP does not work, for me

2009-05-21 Thread Phil Hagelberg

klang  writes:

> This only works (for now) when using an alternative fork of clojure-
> mode
>
> git clone git://github.com/technomancy/clojure-mode.git
>
> .. that's why I got the same error messages consistently on both XP,
> OSX and Ubuntu ..

I was able to contact jochu (the original maintainer of clojure-mode),
and he's merged my changes upstream.

I plan on helping to fix swank-clojure to work with trunk, but for now
at least the obvious method will work.

-Phil

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-21 Thread klang

This only works (for now) when using an alternative fork of clojure-
mode

git clone git://github.com/technomancy/clojure-mode.git

.. that's why I got the same error messages consistently on both XP,
OSX and Ubuntu ..

/klang

On May 18, 8:40 pm, klang  wrote:
> Using my existing definitions
>
> (setq clojure-src-root "~/lisp/clj")
>
> (setq swank-clojure-extra-classpaths
>       (cons (concat clojure-src-root "/swank-clojure")
>         (when (file-directory-p "~/.clojure")
>           (directory-files "~/.clojure" t ".jar$"
>
> This does not work, with "origin/master", rolling back to "origin/1.0"
> works though. (with or without setting swank-clojure-extra-classpaths)
>
> Paul, you must have done something else to swank-clojure to make thing
> work on origin/master?
>
> /klang
>
> On May 18, 7:14 pm, Paul Stadig  wrote:
>
> > I just happened to be setting up emacs an a new Ubuntu install today. I
> > think it might have something to do with 'add-classpath. The
> > swank-clojure-init function is trying to add the swank-clojure directory to
> > the classpath, but the 'require still fails when starting up the clojure
> > REPL.
>
> > I added the following to my .emacs to get it to work:
>
> > (setq swank-clojure-extra-classpaths
> >       (cons "~/src/swank-clojure"
> >         (when (file-directory-p "~/.clojure")
> >           (directory-files "~/.clojure" t ".jar$"
>
> > Paul
>
> > On Mon, May 18, 2009 at 1:02 PM, Phil Hagelberg  wrote:
>
> > > klang  writes:
>
> > > > First things first:
>
> > > > swank doesn't load and slime can't connect to the *inferior-lisp*
> > > > running clojure
>
> > > > I am missing something obvious, please advice.
>
> > > It's not your fault; it looks like the latest Clojure 1.1 snapshot is
> > > not compatible with swank-clojure. I haven't been following it closely,
> > > but somewhere between 1.0 and the present it's broken. It looks like
> > > swank-clojure will need to be updated to work with the latest.
>
> > > In the meantime, cd to your checkout of clojure and perform:
>
> > >  $ git checkout origin/1.0
> > >  $ ant
>
> > > Then launch a new Emacs instance and M-x slime should work. This did the
> > > trick for me at least. I'll update clojure-mode to work with 1.0 by
> > > default so you don't need to do anything by hand.
>
> > > -Phil
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-21 Thread Phil Hagelberg

klang  writes:

> There is still something obvious that I am missing, to get origin/
> master working, but at least I am missing it consistently on three
> operating systems, yay me! :-)

I think swank-clojure will have to be updated to support the latest
origin/master; there must have been a breaking change in Clojure. Stick
with 1.0 until it gets updated.

-Phil

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-21 Thread klang

I have just tried my setup on both OSX and Ubuntu .. (with Paul's
modifications) .. and there is something seriously wrong with my way
of using clojure-mode to bootstrap the whole installation.

I am looking at the same error-messages as described in my original
post, on additional two different systems.

Well, back to the drawing board for me.
There is still something obvious that I am missing, to get origin/
master working, but at least I am missing it consistently on three
operating systems, yay me! :-)

/klang

On May 21, 12:06 pm, Alen Ribic  wrote:
> Thanks this also worked for me on my Aquamacs Clojure slime setup. I
> added your code to the customization.el file in ~/Library/
> Preferences/...
>
> -Alen
>
> On May 18, 7:14 pm, Paul Stadig  wrote:
>
> > I just happened to be setting up emacs an a new Ubuntu install today. I
> > think it might have something to do with 'add-classpath. The
> > swank-clojure-init function is trying to add the swank-clojure directory to
> > the classpath, but the 'require still fails when starting up the clojure
> > REPL.
>
> > I added the following to my .emacs to get it to work:
>
> > (setq swank-clojure-extra-classpaths
> >       (cons "~/src/swank-clojure"
> >         (when (file-directory-p "~/.clojure")
> >           (directory-files "~/.clojure" t ".jar$"
>
> > Paul
>
> > On Mon, May 18, 2009 at 1:02 PM, Phil Hagelberg  wrote:
>
> > > klang  writes:
>
> > > > First things first:
>
> > > > swank doesn't load and slime can't connect to the *inferior-lisp*
> > > > running clojure
>
> > > > I am missing something obvious, please advice.
>
> > > It's not your fault; it looks like the latest Clojure 1.1 snapshot is
> > > not compatible with swank-clojure. I haven't been following it closely,
> > > but somewhere between 1.0 and the present it's broken. It looks like
> > > swank-clojure will need to be updated to work with the latest.
>
> > > In the meantime, cd to your checkout of clojure and perform:
>
> > >  $ git checkout origin/1.0
> > >  $ ant
>
> > > Then launch a new Emacs instance and M-x slime should work. This did the
> > > trick for me at least. I'll update clojure-mode to work with 1.0 by
> > > default so you don't need to do anything by hand.
>
> > > -Phil
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-21 Thread Alen Ribic

Thanks this also worked for me on my Aquamacs Clojure slime setup. I
added your code to the customization.el file in ~/Library/
Preferences/...

-Alen

On May 18, 7:14 pm, Paul Stadig  wrote:
> I just happened to be setting up emacs an a new Ubuntu install today. I
> think it might have something to do with 'add-classpath. The
> swank-clojure-init function is trying to add the swank-clojure directory to
> the classpath, but the 'require still fails when starting up the clojure
> REPL.
>
> I added the following to my .emacs to get it to work:
>
> (setq swank-clojure-extra-classpaths
>       (cons "~/src/swank-clojure"
>         (when (file-directory-p "~/.clojure")
>           (directory-files "~/.clojure" t ".jar$"
>
> Paul
>
> On Mon, May 18, 2009 at 1:02 PM, Phil Hagelberg  wrote:
>
> > klang  writes:
>
> > > First things first:
>
> > > swank doesn't load and slime can't connect to the *inferior-lisp*
> > > running clojure
>
> > > I am missing something obvious, please advice.
>
> > It's not your fault; it looks like the latest Clojure 1.1 snapshot is
> > not compatible with swank-clojure. I haven't been following it closely,
> > but somewhere between 1.0 and the present it's broken. It looks like
> > swank-clojure will need to be updated to work with the latest.
>
> > In the meantime, cd to your checkout of clojure and perform:
>
> >  $ git checkout origin/1.0
> >  $ ant
>
> > Then launch a new Emacs instance and M-x slime should work. This did the
> > trick for me at least. I'll update clojure-mode to work with 1.0 by
> > default so you don't need to do anything by hand.
>
> > -Phil

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-19 Thread Dimiter "malkia" Stanev

Following Paul Stadig's advice, I've got it working too:

In my ~/.emacs

(custom-set-variables
 '(swank-clojure-extra-classpaths '("/Users/malkia/p/clojure-contrib/
clojure-contrib.jar:/Users/malkia/classes/:/Users/malkia/p/swank-
clojure"))
 '(swank-clojure-extra-vm-args '("-Xmx102400" "-server" "-
Duser.dir=/Users/malkia/p/"))
 '(swank-clojure-java-path "/System/Library/Frameworks/
JavaVM.framework/Versions/1.6.0/Home/bin/java"))

It works :)


On May 19, 9:38 pm, "Dimiter \"malkia\" Stanev" 
wrote:
> I have now the same problem, but under Mac OS X 10.5
>
> Things used to work few days ago (if not yesterday)
>
> On May 18, 7:32 am, klang  wrote:
>
>
>
> > First things first:
>
> > swank doesn't load and slime can't connect to the *inferior-lisp*
> > running clojure
>
> > I am missing something obvious, please advice.
>
> > ..this is what I did:
>
> > Starting up cygwin, I prepare to install clojure.
>
> >     mkdir -p ~/lisp/clj
> >     cd ~/lisp/clj
> >     git clone git://github.com/jochu/clojure-mode.git
>
> > in emacs I add JAVA_HOME, ANT_HOME and update PATH accordingly
>
> > (setenv "JAVA_HOME" "c:/jdk1.6.0_11")
> > (setenv "ANT_HOME" "~/tools/apache-ant-1.7.1")
> > (setenv "PATH"
> >         (concat (getenv "ANT_HOME") "/bin;"
> >                 (getenv "JAVA_HOME") "/bin;"
> >                 (getenv "PATH")))
>
> > Now, the only thing I need to do is tell clojure-mode where I want the
> > source code and then use the build-in clojure-install to bootstrap the
> > rest of the system .. easy!
>
> > (setq clojure-src-root "~/lisp/clj")
> > (add-to-list 'load-path "~/lisp/clj/clojure-mode")
> > (require 'clojure-mode)
>
> > M-x clojure-install is executed
>
> > The process finishes by telling me to add a line to my .emacs file
>
> > (eval-after-load 'clojure-mode '(clojure-slime-config))
>
> > To be on the safe side, I evaluate this line and start slime with M-x
> > slime which gives the following messages:
>
> > (add-classpath "file:///c:/klang/lisp/clj/swank-clojure/")
> > (require 'swank.swank)
> > (swank.swank/ignore-protocol-version "2009-05-17")
> > (swank.swank/start-server "c:/DOCUME~1/a68709/LOCALS~1/Temp/slime.
> > 2904" :encoding "iso-latin-1-unix")
> > Clojure 1.1.0-alpha-SNAPSHOT
> > user=> nil
> > user=> user=> java.io.FileNotFoundException: Could not locate swank/
> > swank__init.class or swank/swank.clj on classpath:  (NO_SOURCE_FILE:0)
> > user=> user=> java.lang.ClassNotFoundException: swank.swank
> > (NO_SOURCE_FILE:0)
> > user=> user=> java.lang.ClassNotFoundException: swank.swank
> > (NO_SOURCE_FILE:0)
> > user=> user=>
>
> > The *Messages* buffer in emacs says
> > ;; Polling "c:/DOCUME~1/a68709/LOCALS~1/Temp/slime.2904".. (Abort with
> > `M-x slime-abort-connection'.) [2027 times]
>
> > ..so, swank can't contact the clojure *inferior-lisp* buffer, even
> > though clojure does seem to work fine.
>
> > I must be missing something obvious.
>
> > Can anybody help?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-19 Thread Dimiter "malkia" Stanev

I have now the same problem, but under Mac OS X 10.5

Things used to work few days ago (if not yesterday)

On May 18, 7:32 am, klang  wrote:
> First things first:
>
> swank doesn't load and slime can't connect to the *inferior-lisp*
> running clojure
>
> I am missing something obvious, please advice.
>
> ..this is what I did:
>
> Starting up cygwin, I prepare to install clojure.
>
>     mkdir -p ~/lisp/clj
>     cd ~/lisp/clj
>     git clone git://github.com/jochu/clojure-mode.git
>
> in emacs I add JAVA_HOME, ANT_HOME and update PATH accordingly
>
> (setenv "JAVA_HOME" "c:/jdk1.6.0_11")
> (setenv "ANT_HOME" "~/tools/apache-ant-1.7.1")
> (setenv "PATH"
>         (concat (getenv "ANT_HOME") "/bin;"
>                 (getenv "JAVA_HOME") "/bin;"
>                 (getenv "PATH")))
>
> Now, the only thing I need to do is tell clojure-mode where I want the
> source code and then use the build-in clojure-install to bootstrap the
> rest of the system .. easy!
>
> (setq clojure-src-root "~/lisp/clj")
> (add-to-list 'load-path "~/lisp/clj/clojure-mode")
> (require 'clojure-mode)
>
> M-x clojure-install is executed
>
> The process finishes by telling me to add a line to my .emacs file
>
> (eval-after-load 'clojure-mode '(clojure-slime-config))
>
> To be on the safe side, I evaluate this line and start slime with M-x
> slime which gives the following messages:
>
> (add-classpath "file:///c:/klang/lisp/clj/swank-clojure/")
> (require 'swank.swank)
> (swank.swank/ignore-protocol-version "2009-05-17")
> (swank.swank/start-server "c:/DOCUME~1/a68709/LOCALS~1/Temp/slime.
> 2904" :encoding "iso-latin-1-unix")
> Clojure 1.1.0-alpha-SNAPSHOT
> user=> nil
> user=> user=> java.io.FileNotFoundException: Could not locate swank/
> swank__init.class or swank/swank.clj on classpath:  (NO_SOURCE_FILE:0)
> user=> user=> java.lang.ClassNotFoundException: swank.swank
> (NO_SOURCE_FILE:0)
> user=> user=> java.lang.ClassNotFoundException: swank.swank
> (NO_SOURCE_FILE:0)
> user=> user=>
>
> The *Messages* buffer in emacs says
> ;; Polling "c:/DOCUME~1/a68709/LOCALS~1/Temp/slime.2904".. (Abort with
> `M-x slime-abort-connection'.) [2027 times]
>
> ..so, swank can't contact the clojure *inferior-lisp* buffer, even
> though clojure does seem to work fine.
>
> I must be missing something obvious.
>
> Can anybody help?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-19 Thread Paul Stadig
I don't think I did anything special. All I did was install clojure,
clojure-contrib, slime, and swank-clojure using the M-x clojure-install
command from clojure-mode. I'm pretty sure it doesn't make a difference, but
I'm also running on a snapshot of Emacs.

Aside from that I just added the below to my .emacs file and I was up and
running.

The error that occurs when starting up the REPL is that it cannot find
swank.swank, which means that swank clojure is not on the classpath. Adding
it to the swank-clojure-extra-classpaths will cause it to pass that in the
-cp parameter for java, which should allow the REPL startup script to find
swank.swank.

The REPL startup is using 'add-classpath to try to add the swank.swank
namespace to the classpath, but it is obviously not working, which is why I
thought it might be a problem with add-classpath.


Paul

On Mon, May 18, 2009 at 2:40 PM, klang  wrote:

>
> Using my existing definitions
>
> (setq clojure-src-root "~/lisp/clj")
>
> (setq swank-clojure-extra-classpaths
>  (cons (concat clojure-src-root "/swank-clojure")
>(when (file-directory-p "~/.clojure")
>  (directory-files "~/.clojure" t ".jar$"
>
> This does not work, with "origin/master", rolling back to "origin/1.0"
> works though. (with or without setting swank-clojure-extra-classpaths)
>
> Paul, you must have done something else to swank-clojure to make thing
> work on origin/master?
>
> /klang
>
> On May 18, 7:14 pm, Paul Stadig  wrote:
> > I just happened to be setting up emacs an a new Ubuntu install today. I
> > think it might have something to do with 'add-classpath. The
> > swank-clojure-init function is trying to add the swank-clojure directory
> to
> > the classpath, but the 'require still fails when starting up the clojure
> > REPL.
> >
> > I added the following to my .emacs to get it to work:
> >
> > (setq swank-clojure-extra-classpaths
> >   (cons "~/src/swank-clojure"
> > (when (file-directory-p "~/.clojure")
> >   (directory-files "~/.clojure" t ".jar$"
> >
> > Paul
> >
> > On Mon, May 18, 2009 at 1:02 PM, Phil Hagelberg  wrote:
> >
> > > klang  writes:
> >
> > > > First things first:
> >
> > > > swank doesn't load and slime can't connect to the *inferior-lisp*
> > > > running clojure
> >
> > > > I am missing something obvious, please advice.
> >
> > > It's not your fault; it looks like the latest Clojure 1.1 snapshot is
> > > not compatible with swank-clojure. I haven't been following it closely,
> > > but somewhere between 1.0 and the present it's broken. It looks like
> > > swank-clojure will need to be updated to work with the latest.
> >
> > > In the meantime, cd to your checkout of clojure and perform:
> >
> > >  $ git checkout origin/1.0
> > >  $ ant
> >
> > > Then launch a new Emacs instance and M-x slime should work. This did
> the
> > > trick for me at least. I'll update clojure-mode to work with 1.0 by
> > > default so you don't need to do anything by hand.
> >
> > > -Phil
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-18 Thread klang

Using my existing definitions

(setq clojure-src-root "~/lisp/clj")

(setq swank-clojure-extra-classpaths
  (cons (concat clojure-src-root "/swank-clojure")
(when (file-directory-p "~/.clojure")
  (directory-files "~/.clojure" t ".jar$"

This does not work, with "origin/master", rolling back to "origin/1.0"
works though. (with or without setting swank-clojure-extra-classpaths)

Paul, you must have done something else to swank-clojure to make thing
work on origin/master?

/klang

On May 18, 7:14 pm, Paul Stadig  wrote:
> I just happened to be setting up emacs an a new Ubuntu install today. I
> think it might have something to do with 'add-classpath. The
> swank-clojure-init function is trying to add the swank-clojure directory to
> the classpath, but the 'require still fails when starting up the clojure
> REPL.
>
> I added the following to my .emacs to get it to work:
>
> (setq swank-clojure-extra-classpaths
>       (cons "~/src/swank-clojure"
>         (when (file-directory-p "~/.clojure")
>           (directory-files "~/.clojure" t ".jar$"
>
> Paul
>
> On Mon, May 18, 2009 at 1:02 PM, Phil Hagelberg  wrote:
>
> > klang  writes:
>
> > > First things first:
>
> > > swank doesn't load and slime can't connect to the *inferior-lisp*
> > > running clojure
>
> > > I am missing something obvious, please advice.
>
> > It's not your fault; it looks like the latest Clojure 1.1 snapshot is
> > not compatible with swank-clojure. I haven't been following it closely,
> > but somewhere between 1.0 and the present it's broken. It looks like
> > swank-clojure will need to be updated to work with the latest.
>
> > In the meantime, cd to your checkout of clojure and perform:
>
> >  $ git checkout origin/1.0
> >  $ ant
>
> > Then launch a new Emacs instance and M-x slime should work. This did the
> > trick for me at least. I'll update clojure-mode to work with 1.0 by
> > default so you don't need to do anything by hand.
>
> > -Phil
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-18 Thread klang

That did the trick!
Thanks!

Hopefully, this will be a help for other new clojure/emacs/slime/swank
users!

/klang

On May 18, 7:02 pm, Phil Hagelberg  wrote:
> klang  writes:
> > First things first:
>
> > swank doesn't load and slime can't connect to the *inferior-lisp*
> > running clojure
>
> > I am missing something obvious, please advice.
>
> It's not your fault; it looks like the latest Clojure 1.1 snapshot is
> not compatible with swank-clojure. I haven't been following it closely,
> but somewhere between 1.0 and the present it's broken. It looks like
> swank-clojure will need to be updated to work with the latest.
>
> In the meantime, cd to your checkout of clojure and perform:
>
>   $ git checkout origin/1.0
>   $ ant
>
> Then launch a new Emacs instance and M-x slime should work. This did the
> trick for me at least. I'll update clojure-mode to work with 1.0 by
> default so you don't need to do anything by hand.
>
> -Phil
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-18 Thread Paul Stadig
I just happened to be setting up emacs an a new Ubuntu install today. I
think it might have something to do with 'add-classpath. The
swank-clojure-init function is trying to add the swank-clojure directory to
the classpath, but the 'require still fails when starting up the clojure
REPL.

I added the following to my .emacs to get it to work:

(setq swank-clojure-extra-classpaths
  (cons "~/src/swank-clojure"
(when (file-directory-p "~/.clojure")
  (directory-files "~/.clojure" t ".jar$"


Paul

On Mon, May 18, 2009 at 1:02 PM, Phil Hagelberg  wrote:

>
> klang  writes:
>
> > First things first:
> >
> > swank doesn't load and slime can't connect to the *inferior-lisp*
> > running clojure
> >
> > I am missing something obvious, please advice.
>
> It's not your fault; it looks like the latest Clojure 1.1 snapshot is
> not compatible with swank-clojure. I haven't been following it closely,
> but somewhere between 1.0 and the present it's broken. It looks like
> swank-clojure will need to be updated to work with the latest.
>
> In the meantime, cd to your checkout of clojure and perform:
>
>  $ git checkout origin/1.0
>  $ ant
>
> Then launch a new Emacs instance and M-x slime should work. This did the
> trick for me at least. I'll update clojure-mode to work with 1.0 by
> default so you don't need to do anything by hand.
>
> -Phil
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: clojure-mode install on Windows XP does not work, for me

2009-05-18 Thread Phil Hagelberg

klang  writes:

> First things first:
>
> swank doesn't load and slime can't connect to the *inferior-lisp*
> running clojure
>
> I am missing something obvious, please advice.

It's not your fault; it looks like the latest Clojure 1.1 snapshot is
not compatible with swank-clojure. I haven't been following it closely,
but somewhere between 1.0 and the present it's broken. It looks like
swank-clojure will need to be updated to work with the latest.

In the meantime, cd to your checkout of clojure and perform:

  $ git checkout origin/1.0
  $ ant

Then launch a new Emacs instance and M-x slime should work. This did the
trick for me at least. I'll update clojure-mode to work with 1.0 by
default so you don't need to do anything by hand.

-Phil

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---