Hi @darrickw are you still using that emacs plugin? I’ve been using parinfer-rust for vim and I only fight it sometimes and mostly works. Has that been your experience with emacs too?
I find parinfer-rust to be awful. The parinfer-mode is much better. I never need to fight with it. It never gets messed up by comments, etc. It just gets a little slow in multi-hundred line blocks of code.
oh it uses an elisp implementation here: https://github.com/kisaragi-hiu/parinfer-mode/blob/main/parinferlib.el
we were considering having the rust port be a canonical version shared by plugins since it was seeing some success
@darrickw what is the issue with comments in parinfer-rust
The rust version can't distinguish comments, strings, regexps, ... It just blindly messes up your code.
It seemed unmaintained, too, but I haven't looked in a couple months.
Strange, I use it all the time and haven't seen that. I wonder what else was involved on the emacs side of it, or what was added on the vim side
Yes, it was the Emacs version. It's possible that the underlying rust engine was good and just the emacs plugin was broken. I switched and haven't looked back.