This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-24
Channels
- # announcements (5)
- # beginners (184)
- # calva (32)
- # cider (29)
- # clj-kondo (1)
- # cljdoc (29)
- # cljsrn (6)
- # clojure (44)
- # clojure-dev (36)
- # clojure-europe (9)
- # clojure-italy (18)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (30)
- # clojure-ukraine (1)
- # clojuredesign-podcast (8)
- # clojurescript (65)
- # code-reviews (21)
- # core-async (25)
- # cursive (51)
- # data-science (3)
- # datascript (2)
- # datomic (25)
- # emacs (14)
- # events (1)
- # figwheel-main (3)
- # fulcro (3)
- # graalvm (5)
- # jackdaw (17)
- # kaocha (14)
- # luminus (5)
- # off-topic (17)
- # pathom (7)
- # pedestal (2)
- # re-frame (71)
- # reagent (25)
- # shadow-cljs (83)
- # spacemacs (31)
- # sql (92)
- # tools-deps (23)
- # vim (102)
- # xtdb (5)
@jr0cket I love your blog post and all the efforts you put in spacemacs clojure layer ^^' I can understand why it's not worth it to switch.
Yes, there is that too 😁
I get the sense that doom-emacs tries to be even more vim like. I am not from a vim background so probably not aware of things that make doom-emacs appealing. Spacemacs helped me appreciate the vim style editing and I am very grateful for that. I wish doom-emacs every success.
I really appreciate the simplicity and philosophy of doom, plus Henrik is really active and emacs rocker. But I really like all the work done in spacemacs (especially bindings/hydra) and its "big" community
Hi! Has anyone anyone had any trouble with magit lately? after package update, magit window starts in emacs emacs state and even when switched to vim state mappings don’t work. Package update rollback helps 😜 (temporarly), Cheers!
If I want to eval a clojure expression in the repl buffer and pprint the results, is there a simple way to do that?
Ok, so say you want to check the output of a function that returns a good sized data structure. How would you go about evaluating it and examining its results?
Well, personally I use datawalk
for that 😄
https://github.com/eggsyntax/datawalk
And lately I've been loving scope-capture for cases where I'll frequently need the inputs/output of a function.
But otherwise I would typically send it to the REPL, and then do (pprint *1)
(or (pp)
).
Oh look, actually there is a pprint version of eval!
cider-pprint-last-sexp
and a few variants. I knew you could eval & print, but I didn't realize you could pprint.
Thanks. When I try cider-pprint-eval-last-sexp I see “wrong type argument: stringp, package-desc”
Yes, I can evaluate it using most the other evaluation options. I think this has something to do with refactor https://github.com/clojure-emacs/clj-refactor.el/issues/369
Various clj-refactor
functions have definitely failed for me a lot of times, it's mentioned somewhere in docs that some of them just don't work.
But does that fn come from clj-refactor
? I wouldn't have expected it to.
Disabling refactor and restarting it fixed that immediate issue, it now opens a buffer with the result but not really pprint format
My motivation for writing datawalk
was definitely that pprint
isn't really adequate for large data structures.
Admittedly this is probably 15 lines of code for this data structure I’m trying to view. It’s too much for me to scan it inline, but not that big where I need another plugin (plus my emacs fu is weak right now)