rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.1k stars 176 forks source link

rust-mode on emacs 29 and above is very slowly #548

Open ki827 opened 1 month ago

ki827 commented 1 month ago

I clean my config and use package-install to install the ust-mode, company-mode. Active eglot-mode and company-mode, rust-mode, without additional configuration, I found that emacs slowly.

psibi commented 1 month ago

It's very had to help with minimal information. This could be issue with any of the modes including rust-mode. Can you disable each of the modes and try to see which one is causing the issue ?

Also, once you have identified it - can you include the profiling report: https://www.gnu.org/software/emacs/manual/html_node/elisp/Profiling.html