Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-09 Thread Phil Hagelberg
Shawn Hoover writes: > In updating Clojure Box to the latest I found that the defadvice form > has to be loaded before slime is loaded. (I didn't know about > ad-activate.) This would be a problem if you somehow require slime > before the ELPA's package-initialize is called, which loads the > swa

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-09 Thread James
Zef, Can you compile files? My environment works fine by setting all necessary clojure.jar, clojure-contrib.jar, swank-clojure.jar, ~/clj (my own project directory) in swank-clojure-classpath. However, I have difficulty to generate classes from the *.clj. E.g. I have a find.clj in ~/clj/src/futils

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-08 Thread Zef Hemel
Thanks, indeed, swank-clojure was not on my classpath, I added it as a dependency to my project.clj and now it works fine. On Jan 8, 2:25 pm, Shawn Hoover wrote: > On Fri, Jan 8, 2010 at 4:39 AM, Zef Hemel wrote: > > After I do the swank clojure project command, enter the directory and > > press

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-08 Thread Shawn Hoover
On Fri, Jan 8, 2010 at 4:39 AM, Zef Hemel wrote: > After I do the swank clojure project command, enter the directory and > press return my Emacs gets stuck doing this: http://imgur.com/Ap8mo > When I just go to the Slime CLI that works fine. Any idea what could > be wrong there? > > Zef > Check

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-08 Thread Shawn Hoover
On Thu, Jan 7, 2010 at 11:37 PM, Joel wrote: > Hello, > I have an emacs setup on OSX using elpa with the latest clojure-mode, > swank-clojure, slime, slime-repl all from ELPA. When I upgraded to the > latest swank-clojure in ELPA (swank-clojure-1.1.0), I began to get > this error as well: > > > S

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-08 Thread Zef Hemel
After I do the swank clojure project command, enter the directory and press return my Emacs gets stuck doing this: http://imgur.com/Ap8mo When I just go to the Slime CLI that works fine. Any idea what could be wrong there? Zef -- You received this message because you are subscribed to the Google

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-07 Thread Joel
Hello, I have an emacs setup on OSX using elpa with the latest clojure-mode, swank-clojure, slime, slime-repl all from ELPA. When I upgraded to the latest swank-clojure in ELPA (swank-clojure-1.1.0), I began to get this error as well: > Searching for program: no such file or directory, lisp > I t

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-07 Thread Phil Hagelberg
Rob Lachlan writes: > But having installed swank-clojure, I get an error: > > java.lang.ClassNotFoundException: swank.swank > > And I can't find swank-clojure.jar anywhere on my system. Should I > have built that separately? Anyway, thanks very much for all your > help. How did you launch it? I

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-07 Thread Rob Lachlan
Thanks Phil and Rob for your help. I got rid of everything in emacs.d, and tried reinstalling from the beginning. For some reason, elpa seems to get stuck halfway through with this message: trying to parse HTTP response code in odd buffer: *http tromey.com:80* But having installed swank-clojure

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-07 Thread Phil Hagelberg
Rob Lachlan writes: > Thanks for the help. I had initially installed slime, clojure-mode > and swank following the instructions at > http://riddell.us/tutorial/slime_swank/slime_swank.html > > I tried simply installing swank-clojure, but that seemed to conflict > with what I already had. So I

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-07 Thread Rob Wolfe
Rob Lachlan napisał(a): > Thanks for the help. I had initially installed slime, clojure-mode > and swank following the instructions at > http://riddell.us/tutorial/slime_swank/slime_swank.html > > I tried simply installing swank-clojure, but that seemed to conflict > with what I already had. S

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-06 Thread Rob Lachlan
Thanks for the help. I had initially installed slime, clojure-mode and swank following the instructions at http://riddell.us/tutorial/slime_swank/slime_swank.html I tried simply installing swank-clojure, but that seemed to conflict with what I already had. So I removed everything -- slime, cloj

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-06 Thread Phil Hagelberg
Rob Lachlan writes: > I have src and test in the directory I'm passing in. The problem > however, seems to be on the emacs end. In the mini-buffer when I > enter in Project root: and press return, the cursor > just moves to the next line in the mini- buffer. So I think that the > clojure-proj

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-05 Thread Rob Lachlan
I have src and test in the directory I'm passing in. The problem however, seems to be on the emacs end. In the mini-buffer when I enter in Project root: and press return, the cursor just moves to the next line in the mini- buffer. So I think that the clojure-project function is getting stuck ri

Re: Having difficulties with compilation in slime, emacs and clojure-project

2010-01-05 Thread Konrad Hinsen
On 06.01.2010, at 07:26, Rob Lachlan wrote: but when I put it in .emacs, and invoked it, the function seemed to get stuck. I'm asked in the mini-buffer for the project root, and I write it in and press return, but nothing happens. I just keep getting carriage returns in the mini-buffer. Any i

Having difficulties with compilation in slime, emacs and clojure-project

2010-01-05 Thread Rob Lachlan
I've been trying to compile clojure files from emacs. The issue I run into is of my own clj files not being found on the classpath. (If I'm trying to compile a standalone file, which references only clojure core, there's no problem. It's when I have multiple files, and I'm trying to include a fi