parinfer

eraserhd 2019-10-01T15:38:28.001600Z

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

👍 1
🎉 2
Stefan 2019-10-03T07:17:49.004900Z

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

2019-10-03T16:39:36.005300Z

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

eraserhd 2019-10-03T17:02:22.007500Z

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

2019-10-03T17:17:35.007700Z

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

eraserhd 2019-10-03T18:09:29.008400Z

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

eraserhd 2019-10-03T18:19:33.008600Z

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

eraserhd 2019-10-03T18:19:54.008800Z

@dev964 https://github.com/servo/gecko-media/issues/71

eraserhd 2019-10-03T18:20:27.009100Z

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

justinbarclay 2019-10-03T19:17:49.009300Z

https://rust-lang.github.io/rust-bindgen/requirements.html

justinbarclay 2019-10-03T19:18:31.009600Z

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

justinbarclay 2019-10-03T19:21:47.009800Z

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

2019-10-04T07:34:04.010Z

it compiled! I was missing clang package ...

eraserhd 2019-10-04T13:59:13.010200Z

@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?

eraserhd 2019-10-04T13:59:45.010400Z

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

dharrigan 2019-10-01T16:09:18.001800Z

w00t

mattly 2019-10-01T16:40:16.002400Z

Might be enough for me to give emacs another shot

justinbarclay 2019-10-01T16:44:33.002500Z

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

henrik 2019-10-01T16:51:19.002900Z

That’s what I was thinking

henrik 2019-10-01T16:51:56.003100Z

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.

justinbarclay 2019-10-01T16:52:55.003300Z

I feel so called out by that statement 😂

😬 2
mattly 2019-10-01T19:28:55.004400Z

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