Subject: Re: bug#58790: Eglot URI parsing bug when using clojure-lsp server

From: Michael Albinus <[email-masked]>
Date: Tue, 15 Nov 2022 20:04:08 +0100

Danny Freeman <[email-masked]> writes:

Hi Danny,

> Thanks for your insights Michael! If you are curious, this code in eglot
> is about to round-aboutly call `find-file-noselect' on a URI, which
> Emacs will probably fail to open if there is no registered file name
> handler. So before doing that we write a message warning the user if no
> file name handler is registered. That's the idea.

Another approach is to simply require url-handlers in eglot.el, when it
comes to handle a URI. It shall do what you want.

(Untested, I haven't used url-handlers for a while).

> Danny Freeman

Best regards, Michael.