From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Danny Freeman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58790: Eglot URI parsing bug when using clojure-lsp server Date: Tue, 15 Nov 2022 17:28:54 -0500 Message-ID: <87r0y3luad.fsf@dfreeman.email> References: <8cf8ba5d-c604-b2dc-274a-7597b19fb73f@dfreeman.email> <87ilk5xq01.fsf@gmail.com> <87r0yrwfn3.fsf@gmail.com> <37716e41-5955-99f6-5204-e760a716fbf6@yandex.ru> <9bb290c8-f000-31d8-265d-b5441c33eb38@dfreeman.email> <4d50b820-7053-75eb-5b11-d3d36a02b013@dfreeman.email> <87v8nxsrq6.fsf@gmail.com> <87cza40xgs.fsf@dfreeman.email> <83edubrvf0.fsf@gnu.org> <87cz9v9irh.fsf@gmail.com> <83o7terf9a.fsf@gnu.org> <87k042tqze.fsf@dfreeman.email> <87fseqtpiu.fsf@dfreeman.email> <875yfm8lzf.fsf@gmail.com> <83wn82osoo.fsf@gnu.org> <871qq8xfzr.fsf@gmx.de> <87mt8uwo2q.fsf@dfreeman.email> <87zgcs6nvb.fsf@gmx.de> Reply-To: Danny Freeman Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26077"; mail-complaints-to="usenet@ciao.gmane.io" Cc: felician.nemeth@gmail.com, 58790@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , dgutov@yandex.ru, Eli Zaretskii , stefankangas@gmail.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 23:37:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ov4Yc-0006ZF-SQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 23:37:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov4YI-0005J4-EP; Tue, 15 Nov 2022 17:37:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov4YC-0005IE-St for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 17:37:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ov4YA-0001Bm-CZ for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 17:37:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ov4YA-0004VE-8p for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 17:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Danny Freeman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Nov 2022 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58790 X-GNU-PR-Package: emacs Original-Received: via spool by 58790-submit@debbugs.gnu.org id=B58790.166855179717271 (code B ref 58790); Tue, 15 Nov 2022 22:37:02 +0000 Original-Received: (at 58790) by debbugs.gnu.org; 15 Nov 2022 22:36:37 +0000 Original-Received: from localhost ([127.0.0.1]:55461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov4Xl-0004UV-FF for submit@debbugs.gnu.org; Tue, 15 Nov 2022 17:36:37 -0500 Original-Received: from out0.migadu.com ([94.23.1.103]:38266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov4Xg-0004UJ-TC for 58790@debbugs.gnu.org; Tue, 15 Nov 2022 17:36:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dfreeman.email; s=key1; t=1668551791; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=arxmMEdSy8F69gs8OCVubSvhoApYE6hz8eh+Bp575sY=; b=mw0m6CRUyLF6wZoQbjEAYOUP+DzLp6fI3SW51WimaIi1NGS/LW/3uCz4bbZ3olWFK8NE/U itc3KgSejDphyTMlwi+idqGuQIphSHbyZZoDd3wKMuajNYmJ9kzQX3hAMl5usK5/uw6zJq 9pLkpjuLOWb2OhCitUgvbk3xdEdqM2k= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <87zgcs6nvb.fsf@gmx.de> X-Migadu-Flow: FLOW_OUT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247975 Archived-At: Michael Albinus writes: > 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). That is a really interesting idea. I didn't know about the url-handlers package. I think we would want the user to turn on that mode themselves if they were expecting those types of URLs (http, ftp, etc). There are other URI schemes we have seen come through this function that are outside the scope of the url-handlers package. The ones in this particular thread are `jar` and `zipfile` URIs. I've seen other obscure URIs as well that aren't really even standardized and only used by one particular LSP server. -- Danny Freeman