brotzeit / rustic

Rust development environment for Emacs
Apache License 2.0
721 stars 101 forks source link

Hijacking the current buffer #519

Open isoboroff opened 1 year ago

isoboroff commented 1 year ago

When I'm editing, I tend to C-x C-s just reflexively when I finish a thought. However, at that moment, the code may not compile cleanly. That's ok, I don't care.

However, the focus gets stolen from my editing buffer into a split that shows the compiler error. I can't do anything useful in this buffer, so I now have to keep switching back.

How do I keep the focus from getting abducted? I don't know if this is even rustic-mode's fault, but I'm not sure how to tell, and it only happens editing Rust.

Jacobfaib commented 1 year ago

I also found this annoying, you want to (setq rustic-format-display-method 'ignore).