On Thu, Jan 7, 2010 at 11:37 PM, Joel <jboehl...@gmail.com> 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:
>
> > Searching for program: no such file or directory, lisp
> >
>
> I traced it back a bit, and found that the before advice on slime-read-
> interactive-args wasn't being called. It apparently wasn't activated.
> I evaluated the following form:
> (ad-activate 'slime-read-interactive-args)
>
> And now all seems to be working well. I'm not sure why this advice
> hasn't been activated. On the prior versions of swank-clojure, I
> didn't have this problem. Loading order issue maybe? Anyhow, try
> explicitly activating that advice and see if that fixes your problem.
>
> Cheers,
> Joel
>

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 swank-clojure autoloads, which
includes the defadvice.

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