This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # babashka (68)
- # beginners (133)
- # calva (5)
- # chlorine-clover (21)
- # cider (40)
- # clj-kondo (42)
- # cljs-dev (31)
- # clojure (53)
- # clojure-austin (1)
- # clojure-europe (30)
- # clojure-italy (6)
- # clojure-nl (3)
- # clojure-uk (104)
- # clojurescript (15)
- # datascript (2)
- # datomic (50)
- # emacs (12)
- # fulcro (82)
- # graalvm (4)
- # hoplon (225)
- # jobs (4)
- # jobs-discuss (7)
- # joker (5)
- # juxt (17)
- # kaocha (13)
- # leiningen (16)
- # meander (21)
- # nrepl (18)
- # off-topic (16)
- # pathom (8)
- # pedestal (13)
- # perun (1)
- # re-frame (4)
- # spacemacs (23)
- # testing (28)
- # unrepl (3)
- # vim (5)
- # xtdb (1)
I'm getting odd errors when I use namespaces with numbers in them, and try to evaluate stuff with spacemacs
cider-eval-last-sexp. Does anyone know how to fix this?
An example is using the namespace
But working in the namespace
advent-of-code-2019 works fine.
The errors look like this:
Namespace '-fuel' not found.
@olieidel_old Does the source code file containing the
01-fuel namespace use the underscore? i.e.
Java Classpath does not like dashes in filenames.
Yeah, the filenames are all good.
The filename is
In the directory
Like I said, it works fine if I have only one distinct number in the namespace.
Also, as an aside, I didn't actually move the file to a different namespace, I just renamed the namespace in the file.
Strange, I have lots of files with a similar format and havent noticed a problem https://github.com/practicalli/four-clojure/tree/master/src/four_clojure
It's only an issue when I try to read it with CIDER, which makes me think that it's a CIDER bug, and I was wondering if there's a workaround or something.
The REPL works fine.
I am using CIDER with no problems. Maybe the old name is still in the CIDER repl. Did you unevaluate the namespace or restart the CIDER repl after changing the namespace name?
I've restarted Spacemacs a lot.
But your namespaces don't fit the criteria for failing.
It only happens for me when I have two distinct numbers in the namespace.
advent-of-code-2019 works find, but
I'm going to look around on the CIDER github issues page.
XD, I just found the bug report. It's slightly different than the trouble I was experiencing, but it's the same thing. It got fixed 2 days ago, but I guess I haven't updated Spacemacs since then.
Okay, so you just need to update packages, no need to update Spacemacs itself.
XD, I meant update packages. Thanks for the help.