I did an 'svn update' on my clojure (I'm now at revision 1149), and
ran ant clean, then ant (the default target). Then I deleted my old
swank-clojure directory, and did a git clone of
git://github.com/jochu/swank-clojure.git.
I made sure my .emacs was correctly pointing to the appropriate
paths. I still get the same error. Perhaps I'm using it
incorrectly? What is the proper usage? I start slime:
M-x slime
then load the file by using C-x C-e on the following line in ants.clj:
(load-file "c:/home/ants.clj")
Then in a buffer pointing to ants.clj, I put the point over a call to
render-place, and do M-. And I get this stack trace:
Debugger entered--Lisp error: (error "Synchronous Lisp Evaluation
aborted.")
signal(error ("Synchronous Lisp Evaluation aborted."))
error("Synchronous Lisp Evaluation aborted.")
funcall(error "Synchronous Lisp Evaluation aborted.")
apply(funcall (error "Synchronous Lisp Evaluation aborted."))
(let* ((tag ...) (slime-stack-eval-tags ...)) (apply (function
funcall) (catch tag ... ...)))
slime-eval((swank:find-definitions-for-emacs "render-place"))
slime-find-definitions-rpc("render-place")
funcall(slime-find-definitions-rpc "render-place")
slime-find-definitions("render-place")
(slime-edit-definition-cont (slime-find-definitions name) name
where)
(or (run-hook-with-args-until-success (quote slime-edit-definition-
hooks) name where) (slime-edit-definition-cont (slime-find-definitions
name) name where))
slime-edit-definition("render-place")
call-interactively(slime-edit-definition)
I must be doing something wrong - any ideas what?
-Matt
On Dec 9, 4:23 pm, "Bill Clementson" <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
>
>
> On Tue, Dec 9, 2008 at 4:15 PM, MattyDub <[EMAIL PROTECTED]> wrote:
>
> > I recently tried M-. for the first time with clojure + SLIME and it
> > broke for me (with a "Lisp error: (error "Synchronous Lisp Evaluation
> > aborted.")"); other parts of SLIME work (e.g., C-M-x, or C-x C-e), but
> > this doesn't . I didn't understand the previous messages in this
> > thread:
> > 1) Stephen Gilardi said to add "<path-to-clojure-trunk-svn-directory>/
> > src/clj" to his classpath - what classpath? The swank-clojure-jar-
> > path in my .emacs? Or another classpath?
> > 2) Feng suggested a patch, but didn't mention what file to make that
> > patch in - what file was that for?
> > Has this problem been patched yet? Should I just update my swank-
> > clojure, or something? Any help is appreciated. (I'm inferring from
> > the first method that swank-clojure supports slime-edit-definition -
> > if I'm incorrect, please let me know.)
>
> The problem has been fixed. If you download both the latest SVN
> version of Clojure and the latest GIT version of swank-clojure, you
> should be fine.
>
> - Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---