-
ccls
C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I've broken into emacs backtrace with kill -USR2 and I've dumped the lsp io log, and what I can tell is that there's no communication between ccls and emacs when the hang happens. This isn't a case of ccls flooding emacs. The backtrace shows that its hanging on this line of ccls-mode: https://github.com/MaskRay/emacs-ccls/blob/master/ccls-semantic-highlight.el#L304 Specifically its hanging inside that call to find-buffer-visiting in some tramp internals. What I'm wondering is, is ccls-mode misusing this call? Or is something broken in tramp?
I'm actually surprised this worked for you. I assumed I was getting the same issue as this: https://github.com/MaskRay/ccls/issues/411 And I found other references to the same thing elsewhere. I'm pretty sure this isn't scanning files on the remote. I'm watching the tramp log and there are no new opens happening.
If you believe it is rather a Tramp issue, report it on the [[email protected]](mailto:[email protected]) mailing list. Some weeks ago, I've helped the lsp-mode people on another problem with Tramp, so maybe we can nail it down for you as well. See https://github.com/emacs-lsp/lsp-mode/issues/2375 Please note that I don't use lsp-mode or ccls-mode; a step-by-step recipe for reproducing the problem would help.