emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
Lu 2021-05-06T09:53:12.209300Z

Quick question about clojure-lsp and cider.. I noticed that when I try the cider command M-. -> cider-find-var and the function definition is not in my working directory but say in core.cljs (so presumably in a jar), everything hangs and I have to force kill emacs.. has anyone experienced that at all?

hindol 2021-05-06T11:05:03.209800Z

Instead of force killing Emacs, did you try Ctrl + g?

Lu 2021-05-06T11:11:15.210400Z

yeah tried Ctrl + g many times .. but thanks for suggesting that ๐Ÿ™‚

Juฮปian (he/him) 2021-05-06T11:16:49.211300Z

cider can be interrupted using C-c C-c , or using the function cider-interrupt - that may help, too

ericdallo 2021-05-06T12:04:37.211400Z

BTW if you are using cider command especifically, clojure-lsp is not being used there

Lu 2021-05-06T13:33:26.213Z

When I run M-x cider-find-var I get a LSP:: Connected to.. message and everything just hangs from there..

ericdallo 2021-05-06T13:35:53.213700Z

So the issue is not related with cider, but when lsp-mode connect to a new jar buffer, do you have an updated lsp-mode and clojure-lsp?

ericdallo 2021-05-06T13:36:15.214100Z

Is the jar buffer file content big?

Lu 2021-05-06T13:57:22.214900Z

updated and problem went away :face_palm: thanks ๐Ÿ™‚

Lu 2021-05-06T13:57:56.215500Z

btw the buffer was the core.cljc namespace of ClojureScript

ericdallo 2021-05-06T13:59:04.216Z

Nice, yeah, we fixed this performance issue recently on lsp-mode side some weeks ago

๐Ÿ™Œ 1