This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-30
Channels
- # announcements (4)
- # babashka (8)
- # beginners (124)
- # calva (13)
- # cider (10)
- # circleci (6)
- # clj-kondo (193)
- # cljdoc (1)
- # cljs-dev (4)
- # clojure (50)
- # clojure-europe (28)
- # clojure-serbia (1)
- # clojure-spec (22)
- # clojure-uk (30)
- # clojurescript (11)
- # clojureverse-ops (3)
- # community-development (1)
- # conjure (5)
- # cursive (1)
- # datomic (11)
- # depstar (1)
- # events (2)
- # fulcro (7)
- # graalvm (2)
- # graphql (10)
- # helix (43)
- # hyperfiddle (14)
- # introduce-yourself (6)
- # jobs (2)
- # jobs-discuss (14)
- # kaocha (4)
- # luminus (2)
- # malli (24)
- # meander (6)
- # off-topic (4)
- # pathom (1)
- # polylith (13)
- # re-frame (6)
- # releases (1)
- # remote-jobs (1)
- # sci (14)
- # shadow-cljs (209)
- # tools-deps (30)
- # xtdb (26)
Does anyone know how/where cider sets the little "spinner" that is in the repl modeline? I'd like to notify tooling outside of emacs when the repl is busy... But I can't seem to find the appropriate elisp hooks/functions.
For some context, I use doom-modeline and I get REPL[clj]
showing in the modeline, but when the repl is blocked on a task it changes to REPL[===]
. I can't find the piece of code that does that. I want to hook something similar up to tell the polybar (an OS-level status bar) about the busy/not-busy status of the repl so I can always see it even from another buffer...
i.e. I'm looking to run some code when the repl starts and stops an eval (to set a flag in a process outside of emacs).
See the usages of https://github.com/clojure-emacs/cider/blob/af140ced2286ff646471b067b94c2b18d42616df/cider-client.el#L73
A reply directly from the expert! 🙂 Thanks @U051BLM8F. That's exactly what I was looking for. 🙂
hey, I haven't use clojure for a long time, why I can't print variable which has evaluated in repl ??