technomancy / swank-clojure

Swank/slime support for clojure
Eclipse Public License 1.0
412 stars 83 forks source link

clojure-jack-in failing with clean install of Emacs on OSX w/ clojure-mode #129

Open spoon16 opened 12 years ago

spoon16 commented 12 years ago

I'm trying to run clojure-jack-in and getting this

Compiling file /Users/<me>/.emacs.d/swank/slime-repl-79b38c83.el at Mon Jun 25 13:18:23 2012
slime-repl-79b38c83.el:105:27:Warning: reference to free variable
    `slime-connection-output-buffer'
slime-repl-79b38c83.el:122:1:Error: (slime-connection-output-buffer) is not a valid place expression

Compiling file /Users/<me>/.emacs.d/swank/slime-eldoc-d8b3cf74.el at Mon Jun 25 13:18:24 2012

In end of data:
slime-eldoc-d8b3cf74.el:15:1:Warning: the following functions are not known to be defined:
    slime-background-activities-enabled-p, slime-echo-arglist

I'm running GNU Emacs 24.1.50.1 using lein-swank 1.4.4 and leiningen 2 preview 6. Not sure how to debug.

technomancy commented 12 years ago

That's expected behaviour. Does the slime repl buffer fail to open?

spoon16 commented 12 years ago

in the command area it says error in process filter: Symbol's function definition is void: slime-connect

The REPL buffer does not open.

technomancy commented 12 years ago

Not sure what's going on, but you could try removing ~/.emacs.d/swank; it's possible one of the files in there was truncated.

spoon16 commented 12 years ago

I did that a few times. Even tried completely removing lein, emacs, clojure libs, etc... nothing seemed to work. I gave up for the evening, everything is working fine on my other machines.

fmardini commented 12 years ago

Had same issue (emacs from git) but went away after an emacs update

fmsbeekmans commented 12 years ago

Having the same issue with Leiningen 2 preview 6 and 1.7.1, emacs update didn't work either.