rksm / emacs-rust-config

emacs.d files for making Emacs a Rust development environment
MIT License
92 stars 28 forks source link

Emacs freezing when saving rs file #6

Closed antonymerle closed 3 years ago

antonymerle commented 3 years ago

Hi, thanks a lot for the config !

Everything seemed to work well except when I try to save a rust file, emacs freezes and I need eventually to kill the process and restart. The modifications on the file are saved when I reopen it.

I am on windows 10, I use clang/LLVM and the last rust-analyzer version.

Does anyone have encountered the same problem ?

rksm commented 3 years ago

Hi @waldganger, I haven't seen this happen yet, but it might be related to the pretty printing as this is what is happening when saving. I recently made a change to the config as a workaround of https://github.com/brotzeit/rustic/issues/253. Not sure if this is related but maybe it makes a difference.

If not, try to disable the pretty printing and see if this helps.