parinfer

shaunlebron 2017-07-30T02:40:56.066703Z

@rgdelato i’m pairing with chris in 20 minutes to get v3 in atom, would you like to join?

1👍
rgdelato 2017-07-30T02:42:12.071536Z

sorry, I'm actually out right now, won't be home for at least an hour or two

shaunlebron 2017-07-30T02:42:15.071729Z

i wonder if we can pair while streaming somehow

shaunlebron 2017-07-30T02:42:28.072489Z

np, late notice

mattly 2017-07-30T03:50:19.292094Z

I might have to give Atom another shot

2017-07-30T04:55:38.505111Z

btw, gave parinfer with paredit a try, i think there are many cases that don't work well (especially with slurp and barf)

2017-07-30T04:58:24.513386Z

especially because parinfer lets you get loosey goosey with the parens, but then that break paredit

2017-07-30T04:59:53.517665Z

i'll try to document the cases i come across

2017-07-30T05:01:01.522094Z

i honestly think it's paredit's fault though

henrik 2017-07-30T05:01:55.525503Z

Man, it’s like cljs christmas at the moment. New version of cljs the other day and now soon parinfer v3 in Atom.

2017-07-30T05:02:13.526517Z

for example, slurping before the "(:red ...)" form in this causes it to slurp the comment... which normally wouldn't happen with paredit

#_[(:red (:bold "testing"))
   "more"
   (:green "text")]

;; after using slurp before the (:red ...) form, becomes part of the #_[] form (with the trailing ] in the comment)

2017-07-30T05:05:31.537100Z

(can confirm this exact case doesn't happen without parinfer mode on, which seems like a very weird bug honestly)

2017-07-30T05:09:44.549756Z

gonna try smartparens to give me that functionality instead

shaunlebron 2017-07-30T06:13:43.735553Z

@cjhowe thanks for reporting this

shaunlebron 2017-07-30T06:14:06.736416Z

i don’t understand what “slurping before” means

shaunlebron 2017-07-30T06:14:54.738628Z

and I don’t understand the description of what happened—can you show what the “after” state is?

2017-07-30T07:25:42.949562Z

@shaunlebron i'll report in a gh issue if that's okay?

shaunlebron 2017-07-30T15:48:10.879545Z

@cjhowe sounds good, thanks!