rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.12k stars 179 forks source link

compilation: interpret ANSI color code. #397

Closed mookid closed 3 years ago

mookid commented 4 years ago

fix #184. with and without the new code:

image

rust-highfive commented 4 years ago

r? @brotzeit

(rust_highfive has picked a reviewer for you, use r? to override)

brotzeit commented 3 years ago

Sorry for not giving an approval though I looked at it. I'm a little hesitant since I don't know for sure if this will work. But if you didn't encounter any issues while using it, it's probably fine ?

birkenfeld commented 3 years ago

While this works for the simple functions rust-compile etc., it does not for generic compile. Hence there is no way to customize the command line used; for example I often need to either cd subdir; cargo build or cargo run --bin something.

I've hacked together an alternative at #401.