GNU bug report logs - #58790
Eglot URI parsing bug when using clojure-lsp server

Previous Next

Package: emacs;

Reported by: Danny Freeman <danny <at> dfreeman.email>

Date: Wed, 26 Oct 2022 05:08:04 UTC

Severity: normal

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Danny Freeman <danny <at> dfreeman.email>
Cc: felician.nemeth <at> gmail.com, 58790 <at> debbugs.gnu.org, João Távora <joaotavora <at> gmail.com>, dgutov <at> yandex.ru, Eli Zaretskii <eliz <at> gnu.org>, stefankangas <at> gmail.com
Subject: bug#58790: Eglot URI parsing bug when using clojure-lsp server
Date: Tue, 15 Nov 2022 20:04:08 +0100
Danny Freeman <danny <at> dfreeman.email> 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.




This bug report was last modified 2 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.