Replies: 1 comment 5 replies
-
No, the "differences" make absolutely no difference here, you're just advising the wrong function. |
Beta Was this translation helpful? Give feedback.
-
No, the "differences" make absolutely no difference here, you're just advising the wrong function. |
Beta Was this translation helpful? Give feedback.
-
I'm using
eglot
1.17 and I see the code is the same in the latest git.When habitually running Emacs with
debug-on-error
enabled and loading a buffer that enables eglot but in a directory tree that has no lsp support,eglot-alternatives
callserror
, vs. just a warning, that no lsp support is available and is pretty jarring. Due to the differences in Emacs runtime behavior between the interpreter and byte compiler, it is not possible to adviseeglot-alternatives
with either(let ((debug-on-error))
or(with-demoted-errors
to avoid error.Would you consider an option to report lack of lsp support without invoking
error
?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions