This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-02
Channels
- # announcements (11)
- # aws (3)
- # babashka (34)
- # beginners (20)
- # biff (2)
- # calva (3)
- # cherry (29)
- # cider (6)
- # cljs-dev (9)
- # clojure (124)
- # clojure-europe (12)
- # clojure-norway (5)
- # clojure-uk (2)
- # clojurescript (32)
- # conjure (11)
- # datalevin (1)
- # datomic (16)
- # deps-new (1)
- # etaoin (6)
- # holy-lambda (10)
- # honeysql (28)
- # hyperfiddle (21)
- # jackdaw (2)
- # jobs (2)
- # leiningen (15)
- # missionary (12)
- # off-topic (132)
- # other-languages (1)
- # pathom (13)
- # rdf (10)
- # re-frame (8)
- # reagent (5)
- # releases (1)
- # remote-jobs (4)
- # shadow-cljs (32)
- # tools-deps (6)
- # vim (15)
- # xtdb (24)
I'm not sure what happened but cider-pprint-*
commands no longer work for me.
They simply print everything on the same line - the same result when I pprint in a comment or in a separate buffer.
(cider--version)
"1.5.0-snapshot (package: 20220628.551)"
I use spacemacs if it matters.Another minor problem with pprint functions printing to a comment I noticed a long time ago:
unlike cider-eval-defun-to-comment
, cider-pprint-eval-defun-to-comment
will consume the next line;
that means it should be an empty line, because otherwise it simply prepends the evaluation result to the stuff on the next line
which means it's commented out.
Example:
This
(comment
(map inc (range 10))
.)
is Ok with cider-eval-defun-to-comment
(comment
(map inc (range 10))
;; => (1 2 3 4 5 6 7 8 9 10)
.)
but is not with cider-pprint-eval-defun-to-comment
(comment
(map inc (range 10))
;; => (1 2 3 4 5 6 7 8 9 10).)