when Emacs hangs with 100% cpu usage when highlighting a token by moving point over it, do I report it to emacs-lsp or clojure-lsp? and what information would be helpful?
Probably lsp-mode
, double check the perfomrnace section: https://emacs-lsp.github.io/lsp-mode/page/performance/
Maybe it's stuck in a loop?
thanks. I don’t think it is a performance problem. it get’s stuck at 100% cpu for ever (= I waited ~30 min once)
you can stop it with C-g
Maybe also check clojure-lsp logs?
also, if you M-x
toggle-debug-on-quit
, reproduce the issue and C-g when freeze, you will know where it's freezing in the stacktrace
thanks got a stacktrace
hmm, doesn’t reproduce wit emacs -q -l lsp-start-plain.el
probably your config so
could you past your emacs config? or the relevant part of it
just spacemacs with lsp layer
I don't know how spaceemacs is configuring lsp layer, but we already had issues on the past with completion config
BTW, spaceemacs is a common emacs framework and hover is a common usage, I suggest you reinstall your emacs packages and byte compile them again
I just did reinstall yesterday, didn’t help
I’ll write it up in an lsp issue, I have a way to repro it 100% with my setup
good, don't forget to paste you emacs config there as it probably is the issue