swank-clojure icon indicating copy to clipboard operation
swank-clojure copied to clipboard

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

Open spoon16 opened this issue 13 years ago • 6 comments

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.

spoon16 avatar Jun 25 '12 20:06 spoon16

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

technomancy avatar Jun 26 '12 00:06 technomancy

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

The REPL buffer does not open.

spoon16 avatar Jun 26 '12 00:06 spoon16

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.

technomancy avatar Jun 26 '12 04:06 technomancy

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.

spoon16 avatar Jun 26 '12 05:06 spoon16

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

fmardini avatar Jul 06 '12 13:07 fmardini

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

fmsbeekmans avatar Aug 03 '12 12:08 fmsbeekmans