parinfer-rust 0.4.0 is out, with support for smart mode in emacs thanks to @emoarmy
Oh boy I just settled on vim, now I’ll have to reconsider again 🙂 Great work though, thanks!!!! 🎉
@eraserhd do you know what dependencies parinfer has on ubuntu? installed rust with cargo + libclang-dev gives me:
@dev964 stddef.h really should be in libclang-dev, that's definitely from clang. Maybe there's a clang-dev or something?
hmm, tried installing pretty much every package with clang and dev in its name - didn't help
It appears to be in libclang-common-<version>-dev
, though I have to imagine that is a dependency of libclang-dev
.
I found an issue that suggests both "clang" and "libclang-dev" must be installed.
(if you figure it out, let me know so I can update the docs)
It looks like debian environments suggest 3 packages for bindgen to work. Bindgen is the sole dependency for the emacs-module crate.
and I just finished setting up a fresh instance of ubuntu 18.04(through WSL) and going 1(ish) by 1 on what packages to install to be able to compile parinfer-rust.
What I found I needed was:
apt install build-essentials libclang-dev clang
it compiled! I was missing clang
package ...
@dev964 I changed the dependency note to be "`clang` and libclang-dev
packages or equivalent for your OS". Think that would have been clear enough?
(It wasn't explicit about wanting clang before.)
w00t
Might be enough for me to give emacs another shot
I’d welcome you to try my package https://github.com/justinbarclay/parinfer-rust-mode, however it’s still in beta and there are few things (particularly the first item in https://github.com/justinbarclay/parinfer-rust-mode#known-issues) that I’m looking to make sure I’ve got fixed before I announce it as released
That’s what I was thinking
I don’t particularly enjoy any editor, but I understand you develop Stockholm syndrome with emacs after spending a certain amount of time tweaking it.
I feel so called out by that statement 😂
That’s why I’ve only ever used things like spacemacs or doom-emacs