This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-21
Channels
- # announcements (24)
- # aws (2)
- # babashka (20)
- # beginners (147)
- # cider (20)
- # clara (43)
- # clj-kondo (3)
- # cljdoc (15)
- # cljsjs (1)
- # cljsrn (36)
- # clojars (19)
- # clojure (64)
- # clojure-europe (4)
- # clojure-italy (45)
- # clojure-nl (1)
- # clojure-spec (20)
- # clojure-uk (26)
- # clojurescript (16)
- # cursive (9)
- # datomic (18)
- # dirac (14)
- # docker (3)
- # fulcro (48)
- # keechma (1)
- # leiningen (32)
- # luminus (1)
- # off-topic (40)
- # pedestal (1)
- # quil (1)
- # re-frame (24)
- # reagent (3)
- # reitit (3)
- # remote-jobs (2)
- # ring-swagger (4)
- # shadow-cljs (115)
- # spacemacs (22)
- # specter (4)
- # tools-deps (76)
I guess it’s best to ask @robertkrahn about this. Everything seems fine to me, but I recall there were some issues with shadow and suitable.
any clue why cider would shadow a local-set-key I've added? I have something like
(defun ca-cider-or-dumb-jump ()
(interactive)
(if (cider-connected-p)
(cider-find-var)
(dumb-jump-go)))
(add-hook 'clojure-mode-hook
(lambda ()
(setq-local cider-repl-use-pretty-printing t)
(local-set-key (kbd "M-.") 'ca-cider-or-dumb-jump)
but M-.
is still always just cider-find-var
M-. ca-cider-or-dumb-jump
(that binding is currently shadowed by another mode)
does the order matter somehow? I don't think I ever noticed an issue like that
I too often accidentally print
or otherwise log huge datastructures or otherwise enormously long lines... bringing emacs to its knees. is there a way to limit printing to something sensible (like max 2k line length)
examining the *nrepl-messages ...*
for example the "eval" response messages is something I'd like to truncate
is there a client implementation in CIDER for this closed issue? https://github.com/nrepl/nrepl/pull/79
I had something semi-working before. I think it was a comint filter function that truncated stuff. Problem is it messed up syntax highlighting in my buffer because it might truncate after an opening quote but before a closing quote. I gave up. But if someone has a solution to that then I think the comint filtering would work.
@U11SJ6Q0K I’m assuming you’re already aware of *print-length*
and *print-level*
?