This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (10)
- # beginners (139)
- # cider (47)
- # clara (19)
- # cljs-dev (2)
- # cljsjs (9)
- # clojure (94)
- # clojure-berlin (1)
- # clojure-dev (23)
- # clojure-greece (5)
- # clojure-italy (5)
- # clojure-nl (14)
- # clojure-uk (36)
- # clojurescript (85)
- # cursive (2)
- # datomic (56)
- # emacs (3)
- # events (1)
- # fulcro (33)
- # garden (3)
- # graphql (6)
- # hoplon (53)
- # jobs (1)
- # leiningen (4)
- # mount (46)
- # nrepl (7)
- # off-topic (8)
- # om (3)
- # other-languages (4)
- # pedestal (7)
- # portkey (7)
- # re-frame (1)
- # reagent (16)
- # remote-jobs (3)
- # ring-swagger (2)
- # shadow-cljs (16)
- # slack-help (2)
- # tools-deps (2)
- # yada (1)
anyone know how to enable the "new" parinfer smart mode? do I need a special package or is it bundled into cider?
Pretty sure the Emacs implementation of parinfer doesn’t have smart mode, I know the maintainer of the package was working on it a few months back, but he’s been radio silent for awhile.
It's never clear to me what parts of this Cider pulls in itself, which is what prompted me to ask here. I was using Spacemacs, but nowadays Doom Emacs, both of which I think explicitly include clojure-mode and cider at the very least
> ;; Version: 0.18.0-snapshot > ;; Package-Requires: ((emacs "25") (clojure-mode "5.7.0") (pkg-info "0.4") (queue "0.1.1") (spinner "1.7") (seq "2.16"))
i believe those are meaningful but i'm not sure whether its emacs or package system or somewhere else
ah i remember something in emacs breaking on parsing those at one point. so emacs cares
I was just reminded that "yes, there are other places in emacs where comments are interpreted and influence the runtime"
DEFUN ("set-buffer", Fset_buffer, Sset_buffer, 1, 1, 0, doc: /* Make buffer BUFFER-OR-NAME current for editing operations. BUFFER-OR-NAME may be a buffer or the name of an existing buffer. See also `with-current-buffer' when you want to make a buffer current temporarily. This function does not display the buffer, so its effect ends when the current command terminates. Use `switch-to-buffer' or `pop-to-buffer' to switch buffers permanently. The return value is the buffer made current. */)
Yeah thats always been my thought when looking into emacs internals “This feels gross, but hey…”
and that reminds me I need to check in and see how the remacs project is coming along
recent commits! last time I tried to use it, I didn't get very far, but that was more than 6 months ago
Is there a
.dir-locals.el-friendly way to make
clojure-cli projects use an alias from
deps.edn for clj and cljs repls? Ideally the cljs would be a separate alias.
I saw https://cider.readthedocs.io/en/latest/clojurescript/ say that it's not supported, but I was wondering if there were any workarounds
So running tests isn't as big of a deal right now for me 🙂 I could just run them outside of cider.. but i'm having issues getting
pprint working in cljs. Anyone know if that's supported? Edit: Seems like right after I ask I figure it out... just had to require cljs.pprint
What’s not supported is running those tests via
cider-test commands, as the underlying functionality hasn’t been ported to ClojureScript yet.
package.el parses this, not
use-package is just a convenient macro to work with
Ohhh, that's awesome news! 🙂 For some reason doing
cider-jack-in-cljs doesn't seem to load the files in my
test directory. I'll see if there's a configuration I'm missing
cider-jack-in-cljs doesn’t load anything. 🙂 You have to evaluate each namespace yourself your use one of the commands for loading all files in a project.
We don’t load projects on jack-in automatically, as they might have some nasty side-effects, associated with evaluating the source code.
Ahh, thanks for the explanation! When I run
cider-load-buffer from a file in
src it can import all the requires. For some reason when I do the same from a file in
test it says that it could not locate the namespace of a file I have under the test directory.
Well it's not really that it's from src or test, it's that the file I'm requiring lives in test
Ya, I'm using
deps.edn and I don't specify
test in there anywhere. I'll keep digging. Thanks for your help and all the work you do with cider!