You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occurs when there's some buffer in clojure-mode with an invalid ns declaration (such as (ns ).
It seems that the culprit is clojure-find-ns (see the stacktrace below), which does not fail gracefully if it can't identify the ns in a buffer. It's not clear from its docstring if throwing an error is its expected behaviour when the ns form is invalid. That's why I'm opening the bug in this repo - I'm not sure if this situation should be handled by cider or clojure-mode, but it does affect cider.
I use Spacemacs, if that's relevant.
Expected behavior
Cider would jack in without errors.
Actual behavior
I got this error (I'm using toggle-debug-on-error):
This error occurs when there's some buffer in
clojure-mode
with an invalid ns declaration (such as(ns )
.It seems that the culprit is
clojure-find-ns
(see the stacktrace below), which does not fail gracefully if it can't identify the ns in a buffer. It's not clear from its docstring if throwing an error is its expected behaviour when the ns form is invalid. That's why I'm opening the bug in this repo - I'm not sure if this situation should be handled bycider
orclojure-mode
, but it does affect cider.I use Spacemacs, if that's relevant.
Expected behavior
Cider would jack in without errors.
Actual behavior
I got this error (I'm using
toggle-debug-on-error
):Steps to reproduce the problem
(ns
).cider-jack-in-cljs
in a shadow project (I don't know ifshadow
is relevant for the issue)shadow
and the app profileEnvironment & Version information
CIDER version information
Include here the version string displayed when
CIDER's REPL is launched. Here's an example:
Emacs version
Operating system
Mac OS 10.15.4
The text was updated successfully, but these errors were encountered: