This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-02
Channels
- # announcements (3)
- # asami (29)
- # babashka (62)
- # beginners (131)
- # biff (7)
- # calva (31)
- # cider (5)
- # clerk (14)
- # clj-kondo (3)
- # cljsrn (12)
- # clojars (18)
- # clojure (72)
- # clojure-austin (17)
- # clojure-dev (6)
- # clojure-europe (31)
- # clojure-indonesia (1)
- # clojure-nl (1)
- # clojure-norway (18)
- # clojure-sweden (11)
- # clojure-uk (6)
- # clr (47)
- # conjure (42)
- # cursive (88)
- # datalevin (2)
- # datomic (25)
- # emacs (42)
- # exercism (1)
- # fulcro (10)
- # funcool (8)
- # gratitude (2)
- # honeysql (16)
- # introduce-yourself (5)
- # jobs-discuss (26)
- # leiningen (5)
- # lsp (31)
- # malli (21)
- # matcher-combinators (14)
- # missionary (2)
- # nbb (1)
- # off-topic (40)
- # pathom (38)
- # portal (2)
- # re-frame (7)
- # reagent (18)
- # reitit (1)
- # releases (5)
- # shadow-cljs (62)
- # sql (12)
- # testing (4)
- # xtdb (37)
Hi I am both new to clojure and also CIDER. For experimenting I keep a project skeleton with clojure.tools.dep
as dependency as a :dev
alias for hot-loading stuff. I am looking for a way to :require it under user namespace when I launch a repl for the project with cider-jack-in. I have been able to launch a repl with the :dev alias using .dir-locals.el
but can't figure out how to :require add-libs
into user namespace. I have even tried creating a dev/user.clj
file but it doesn't execute when I launch with the :dev
alias
Nevermind the issue was a spelling mistake, I was writing "extra-path" instead of "extra-paths" in the deps.edn.
Every time I try to take from a deferred in manifold my cider repl blocks and I have to cider-interrupt. I'm using cider-connect to a standard nrepl. Everything is fully functional evaluating at the command line with the repl 'clj' provides me. Any info on how I'm futzing this up would be real cool of you.
I should add more context. That message was woefully baren. I do not block when I eval with cider-eval-last-sexp-in-buffer-as-current-region. I only block when I want to see the result in the repl buffer or in that little message next the the function when I do cider-eval-last-sexp or cider-eval-last-sexp-to-repl CORRECTION: Sometimes it blocks on eval-ls-as-cb and sometimes it does not. It most definitely blocks as all times when I try to access the value on the stream i.e. @(s/take! s) blocks pretty much always, maybe not the first time in a fresh repl. (s/take! s) will print to the buffer, but it's help is limited because the response in <<..>> (this is expected behavior.)
O.K. So, I think I've got a handle on what's up. It's a cider-interrupt thing. And largely my confusion was brought about by being dumb. If I try to take from an empty stream it hangs. I can expect that. But cider-interrupt only gives me the appearance of interrupt. I've still got a process open or something like that and any subsequent calls of any kind to the same channels hang. Is this expected? I've got to manually call (s/close! s) and re-eval things. Maybe I should be in #C02H9GF74CF. I'm confused, any insights?