This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-24
Channels
- # announcements (3)
- # beginners (128)
- # boot (2)
- # braveandtrue (97)
- # calva (13)
- # cider (4)
- # cljdoc (12)
- # cljs-dev (16)
- # clojure (78)
- # clojure-germany (8)
- # clojure-italy (5)
- # clojure-nl (1)
- # clojure-spec (59)
- # clojure-uk (29)
- # clojurescript (46)
- # core-async (9)
- # cursive (63)
- # data-science (3)
- # datomic (22)
- # devcards (1)
- # duct (7)
- # emacs (4)
- # flambo (2)
- # fulcro (37)
- # instaparse (6)
- # jobs-discuss (38)
- # juxt (1)
- # off-topic (35)
- # om-next (1)
- # parinfer (7)
- # re-frame (14)
- # reagent (6)
- # reitit (21)
- # rum (1)
- # shadow-cljs (74)
- # spacemacs (8)
- # specter (1)
- # sql (3)
- # testing (2)
- # unrepl (2)
- # yada (6)
i really love parinfer, im trying to understand if some behavior is expected or if maybe my version is just behind the vision 🙂 say i have some expressions like so:
(foo (bar zoo)
(wham bame cram))
if i make change the foo name, then it changes my code, e.g shorter and the bar function gets feed the line below. Is that desirable?(im on spacemacs on the dev branch
@drewverlee that sounds like you might be in the wrong mode. It sounds like you want to be in indent mode and not parent mode: https://shaunlebron.github.io/parinfer/#switching-modes
It looks like you can try using SPC t P
to switch modes and see if that exhibits the behaviour you expect: http://develop.spacemacs.org/layers/+misc/parinfer/README.html
if you change “foo” to “f” in your example, and this happens…
(f (bar zoo
(wham bame cram)))
…then that is wrong, and this is what should happen instead:
(f (bar zoo)
(wham bame cram))
you can see the canonical behavior by trying it here: http://shaunlebron.github.io/parinfer/demo
yep i was in the wrong mode, seems like a silly mistake.