New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parinfer layer #5574
Comments
Those points might also be of use to those interesting on hacking or using parinfer: |
They're not. Ignore the above article. It's unfairly biased and factually incorrect. I could rebut it point-by-point (and will, if necessary) but I don't want to encourage anyone else to read it. |
@gilch Have you been able to hack something together on spacemacs? |
There's a more recent port of Parinfer to elisp now: https://github.com/oakmac/parinfer-elisp It's just the inference engine, but it has an extensive test suite. The question is when exactly to invoke these functions (and when not to) to make it cooperate with Spacemac's other packages, especially Evil. |
42 |
https://www.youtube.com/watch?v=mqjDOSKyIcc They're beating us! Unacceptable |
Just wanna mention there is another promising port for parinfer at https://github.com/DogLooksGood/parinfer-mode |
I've add a PR for parinfer layer, #7339. |
Is it going to be merged at some point? |
@achikin no! Guess why |
@JAremko :))) Sorry. |
@JAremko No, why ? |
@pablooliveira Because it was already merged |
@JAremko Haha nice, thanks. :) |
@prestancedesign It's tagged with "fixed in develop" it means that the issue will be closed with the next release (when the commit end up in the master branch) We got really inconsistent with this lately. |
Solved in #7339 |
Thx you very much @JAremko. (y) |
Consider adding a parinfer layer.
Parinfer is like a more powerful adjust-parens, and also includes a slightly less aggressive version of aggressive-indent-mode as a separate mode.
Lisp users prefer to read their code by indentation rather than by counting delimiters. Parinfer makes editing Lisp feel more like editing Python. Parinfer gives you most of the power of paredit (and evil-cleverparens for that matter), but is much easier to learn as evidenced by its inclusion in Nightcode.
There is already a parinfer package for emacs. It may need a little work. The inference engine used by other editors seems to work correctly, and the package includes a direct translation of it into emacs lisp. But the emacs integration doesn't work as well as the other editors I've tried. Sometimes the point doesn't end up where I expect. It may need some adjustments to play nice with evil. LightTable has independent plugins for both Vim keys and Parinfer that work well together, so I don't expect this to be a problem for long. These are minor issues the spacemacs community could fix quickly once a layer is available for testing.
The text was updated successfully, but these errors were encountered: