Cannot believe how easy parinfer makes working with clojure. I’d planned to try paraedit but wow seriously, so impressed!
It’s like blindingly obvious why and how it works, is this a new idea?
@lukemorton: new idea far as I’m aware
It’s amazing, we should update beginners guides for clj and cljs to recommend it!
official beginner guides are editor agnostic for good reason
for community generated stuff sounds like a good idea
ah true say
Any news about an emacs implementation of parinfer?
I didn't like it personally, I'd rather have my parens dict indentation than the opposite, if you're fluent with paredit it feels a bit weird. I guess it's mostly a matter of habit.
(at least as an emacs user, I rarely have to indent anything)
I like the slurping and barfing part
FWIW, Parinfer is going into a beta of Replete where its “implicit” aspect is useful for mobile.
@mfikes mobile seems like a killer app :simple_smile:
@mpenet: Parinfer has two modes. Parens dictate indentation in one mode and the opposite in the other.
emacs users may want to try aggressive-indent-mode in the meantime (but I also thought parinfer was badass and will try switching over to it once it's out there for emacs). https://github.com/Malabarba/aggressive-indent-mode
Yes, anyone interested in the Replete beta, DM me—it's one of those things you need to try out for a while to get a sense for whether it is appropriate.
Shaun is even tweaking Parinfer a bit as we learn what it means on mobile.
My impression with parinfer is that it looks sweet, but probably won't be as practical as paredit.
Paredit is super powerful. And with aggressive-indent, now indentation just works™ everywhere.
But I'd definitely give it a chance if someone implemented it in Emacs
parinfer looks good
I wonder if it could be combined with paredit
@tmtwd: they're two different solutions to the same problem.
interesting
paredit has functionality that parinfer does not - in those cases they are complementary
I'm thinking of things like forward-killing a sexp
does anyone know if there is work being done on an emacs port?
@chris: when I talked to Shaun at the conj, he said that he wasn't aware of any work being done on that front. I've been… thinking about it, but it would be by far the most elisp I've written, probably ever
ok. I’m kinda looking at it right now, but it’s just so much. I don’t really know that much elisp and it would absolutely dwarf anything I’ve done to date
yeah, same boat here
what’s the main thing parinfer does that paredit doesn’t? -curious- seen a couple people ask about emacs support now
If I'm thinking correctly, everything that parinfer does paredit also does
it's just done in a different way, and that way feels a bit more accessible
aha
docker-compose up
crap, sorry, wrong window
If you're using docker I'm sorry too :simple_smile:
:joking