lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
kommen 2021-03-08T12:01:18.484600Z

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?

ericdallo 2021-03-08T12:04:05.484700Z

Probably lsp-mode , double check the perfomrnace section: https://emacs-lsp.github.io/lsp-mode/page/performance/

borkdude 2021-03-08T12:05:46.485Z

Maybe it's stuck in a loop?

kommen 2021-03-08T12:06:56.485200Z

thanks. I don’t think it is a performance problem. it get’s stuck at 100% cpu for ever (= I waited ~30 min once)

ericdallo 2021-03-08T12:07:13.485400Z

you can stop it with C-g

borkdude 2021-03-08T12:07:49.485600Z

Maybe also check clojure-lsp logs?

ericdallo 2021-03-08T12:07:52.485800Z

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

kommen 2021-03-08T12:12:25.486Z

thanks got a stacktrace

kommen 2021-03-08T12:26:09.486200Z

hmm, doesn’t reproduce wit emacs -q -l lsp-start-plain.el

ericdallo 2021-03-08T12:26:29.486400Z

probably your config so

ericdallo 2021-03-08T12:26:52.486600Z

could you past your emacs config? or the relevant part of it

kommen 2021-03-08T12:27:05.486800Z

just spacemacs with lsp layer

ericdallo 2021-03-08T12:28:35.487Z

I don't know how spaceemacs is configuring lsp layer, but we already had issues on the past with completion config

ericdallo 2021-03-08T12:29:37.487200Z

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

kommen 2021-03-08T12:30:22.487400Z

I just did reinstall yesterday, didn’t help

kommen 2021-03-08T12:30:51.487600Z

I’ll write it up in an lsp issue, I have a way to repro it 100% with my setup

ericdallo 2021-03-08T12:41:41.487800Z

good, don't forget to paste you emacs config there as it probably is the issue