Fork me on GitHub
#parinfer
<
2016-08-11
>
Jakub Holý (HolyJak)19:08:46

Hello, I have a problem with parinfer (or its config in #C0744GXCJ?), likely I am just misunderstanding how to use it. I am trying to comment out a form using #_ and this happens: 1. Before

(do
  (print "hi"))
2. After typing #_:
#_(do)
  (print "hi")
I have expected the whole form to be commented out. Instead, parinfer moved parens so that just the first "line" is commented out. Is that a bug? Is there a better way to do this? Thank you!

snoe19:08:09

@holyjak: for edits like that, you want to be in paren-mode. however I got in the habit of adding the #_ on the line above

Jakub Holý (HolyJak)19:08:26

Thanks! I would prefer avoid switching modes 😞

Jakub Holý (HolyJak)19:08:32

I would have expected that commenting out a form in this way should be possible even in parinfer. Perhaps it needs to learn that #_ is a "part" of the (?