flyingmachine / emacs-for-clojure

519 stars 267 forks source link

M-x cider-jack-in throws "Symbol’s function definition is void: sesman-current-sessions" message #41

Closed habreu71 closed 5 years ago

habreu71 commented 5 years ago

Hi,

I'm experiencing this problem after following the Upgrading steps at https://github.com/flyingmachine/emacs-for-clojure

Everytime I do M-x cider-jack-in I'm getting the message below:

Symbol’s function definition is void: sesman-current-sessions

I'm using Emacs25-nox on Devuan Ascii (Debian without systemd).

Please help. Thank you in advance for any hint or help.

Hector.

habreu71 commented 5 years ago

I managed to fix it as follows:

1) I installed emacs-nox default package (emacs24-nox) along with emacs25-nox, since in my Linux distro it's emacs24 who has the metapackages.

2) I follow the instructions at https://github.com/flyingmachine/emacs-for-clojure (including the upgrade) but additionally I made sure that all the .elc files were deleted:

cd .emacs.d find . -name '*.elc' | xargs rm

See: https://emacs.stackexchange.com/questions/31364/cider-jack-in-symbols-function-definition-is-void-clojure-project-dir-with-cl https://github.com/syl20bnr/spacemacs/issues/3129 https://github.com/clojure-emacs/cider/issues/1556