Fork me on GitHub
#parinfer
<
2019-10-01
>
eraserhd15:10:28

parinfer-rust 0.4.0 is out, with support for smart mode in emacs thanks to @emoarmy

👍 4
🎉 8
Stefan07:10:49

Oh boy I just settled on vim, now I’ll have to reconsider again 🙂 Great work though, thanks!!!! 🎉

Aleksander16:10:36

@U0ECYL0ET do you know what dependencies parinfer has on ubuntu? installed rust with cargo + libclang-dev gives me:

eraserhd17:10:22

@UA2R84M28 stddef.h really should be in libclang-dev, that's definitely from clang. Maybe there's a clang-dev or something?

Aleksander17:10:35

hmm, tried installing pretty much every package with clang and dev in its name - didn't help

eraserhd18:10:29

It appears to be in libclang-common-<version>-dev, though I have to imagine that is a dependency of libclang-dev.

eraserhd18:10:33

I found an issue that suggests both "clang" and "libclang-dev" must be installed.

eraserhd18:10:27

(if you figure it out, let me know so I can update the docs)

justinbarclay19:10:31

It looks like debian environments suggest 3 packages for bindgen to work. Bindgen is the sole dependency for the emacs-module crate.

justinbarclay19:10:47

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

Aleksander07:10:04

it compiled! I was missing clang package ...

eraserhd13:10:13

@UA2R84M28 I changed the dependency note to be "`clang` and libclang-dev packages or equivalent for your OS". Think that would have been clear enough?

eraserhd13:10:45

(It wasn't explicit about wanting clang before.)

mattly16:10:16

Might be enough for me to give emacs another shot

justinbarclay16:10:33

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

henrik16:10:19

That’s what I was thinking

henrik16:10:56

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.

justinbarclay16:10:55

I feel so called out by that statement 😂

😬 8
mattly19:10:55

That’s why I’ve only ever used things like spacemacs or doom-emacs