syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.69k stars 4.9k forks source link

[clojure] files not loading when using helm - helm-cider issue #15235

Closed practicalli-johnny closed 2 years ago

practicalli-johnny commented 2 years ago

Description :octocat:

Clojure files not loading with latest Clojure packages when using Helm

Latest CIDER snapshot package removed cider-compat namespace and breaks helm-cider. When using helm with Spacemacs, the helm-cider package is enabled in the clojure layer. The helm-cider package is loaded and generates an error when trying to open a Clojure file

helm-cider-spec.el:27:1:Error: Cannot open load file: No such file or directory, cider-compat

Temporary work-around described in this article https://practical.li/blog/posts/emacs-cider-removing-old-cider-compat/

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart:

Clojure file fails to load and an error is generated

helm-cider-spec.el:27:1:Error: Cannot open load file: No such file or directory, cider-compat

Expected behaviour: :heart: :smile:

The Clojure file should open and Emacs should switch to Clojure mode

System Info :computer:

Backtrace :paw_prints:

<<BACKTRACE IF RELEVANT>>
practicalli-johnny commented 2 years ago

The maintainer has merged the pr into the helm-cider repository which should resolve the issue once a new package is available on Melpa https://melpa.org/#/?q=helm-cider

practicalli-johnny commented 2 years ago

New version of helm-cider package available on Melpa that resolves the issue. A Spacemacs package update will resolve the issue.

https://melpa.org/#/helm-cider

Thank you.