Skip to content
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

Bump Parinfer to v0.9.0, make use of some niceties #7868

Closed
wants to merge 2 commits into from

Conversation

welcome-linja
Copy link
Contributor

parinfer-rust-mode came out with version 0.9 last week, the headline feature of which is using their own fork of parinfer-rust with better Emacs integration. Notably, the nominated macOS binary is now built for arm64e rather than x86_64, which will break some setups; this is inevitable without a complex workaround (as vanilla parinfer-rust is no longer supported, and the fork doesn't provide an x86_64 binary), and it makes just as many setups now work when they previously did not.

I also enabled the option parinfer-rust-disable-troublesome-modes, which is behind a prompt by default. I was unsure about this but I believe it is in line with the existing decision to enable auto-download and the DOOM philosophy in general: reduce the amount of hassle the user goes through to get things working together.

(Apologies about the commits; I discovered the guidelines when opening this PR. If I have to redo them I will.)


  • I searched the issue tracker and this hasn't been PRed before.
  • My changes are not on the do-not-PR list for this project.
  • My commits conform to the git conventions.
  • I am blindly checking these off.
  • This a draft PR; I need more time to finish it.

@welcome-linja
Copy link
Contributor Author

Shit, you know what I just realised? troublesome-modes by default only includes built-in modes, but plenty of Spaceman's options would be considered troublesome. Merging in this state would cause crazy issues, and I really can't be bothered to do it properly. Sorry.

@gagbo
Copy link
Member

gagbo commented May 23, 2024

What are the "Spaceman’s options" ?

I’ve worked a bit on that parinfer version, and it’s a pretty important change to be able to handle lisps as good as neovim, and to deal with parens and quotes in comments too (which currently break a lot of setups).

I’m unpinned (to test updates) so it doesn’t really matter to me now, but those are good changes. Anyway, you definitely don’t have to make a PR here, and instead just change the pin in your packages.el and do your tweaks, I was just curious about this part of the post

@welcome-linja
Copy link
Contributor Author

welcome-linja commented May 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants