From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.bugs Subject: bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows Date: Thu, 17 Nov 2022 17:51:01 +0100 Message-ID: <86bkp5y16y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21025"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 To: 59338@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 17 17:52:15 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 1ovi7b-0005Gj-Eg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Nov 2022 17:52:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovi7P-0000p0-Q2; Thu, 17 Nov 2022 11:52:03 -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 1ovi7O-0000oQ-Ho for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 11:52:02 -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 1ovi7O-0006vg-9M for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 11:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovi7O-0004Ds-54 for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 11:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Nov 2022 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59338 X-GNU-PR-Package: emacs X-Debbugs-Original-To: emacs-bugs Original-Received: via spool by submit@debbugs.gnu.org id=B.166870389416193 (code B ref -1); Thu, 17 Nov 2022 16:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Nov 2022 16:51:34 +0000 Original-Received: from localhost ([127.0.0.1]:34149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovi6v-0004D6-II for submit@debbugs.gnu.org; Thu, 17 Nov 2022 11:51:33 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovi6s-0004Cx-PV for submit@debbugs.gnu.org; Thu, 17 Nov 2022 11:51:32 -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 1ovi6s-0000KS-9Q for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 11:51:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovi6q-0006qK-Qa for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 11:51:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=/S/7Pop3JL5xGi2RbtKR6ALQAtLc3MfjmsrP7I11nHE=; b=VHTvhuajZRQ1IC 1JZ7fK+WYzuXM8weizhcQm/GY/FobPrL3NIhpA6PJT/jcxWhixjvoPLDPr3IpXYwngH+6TOGQe4fQ W3mG6sPB1hzXJrRcZarjkPhlLfAC/uEHNsY2EGl7jKV9Tmzb1mfI/7x2FWrcNn4/n8YZS63xAsel7 0MmVtn7/H3/CE9q8ASCFvpV0SmCfdIDWqkOTs5igoHZIF/Eq/OPc9c6mkrUr7Km9nddiWtaiJkSsp oXX5GA8AfRVzmO8xiNo4+9WTLoAIImQGXO6Xrd+Cnrk+lqzbIvelVWpNWO1aU3/7pn0BxgXMma5kA MhPPVuGcZtLGXKb0tLRA==; Original-Received: from p5b326552.dip0.t-ipconnect.de ([91.50.101.82] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovi6b-0007Hw-E7 for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 11:51:27 -0500 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:248129 Archived-At: Hi all, the commit 1a2d603bb3 was supposed to fix bug#58790, but it introduces (or possibly surfaces) another one. With Emacs (checkout c3b64985aa), eval'ing the next 2 forms returned an URI: (require 'eglot) (insert "\n" (format "%s" (eglot--path-to-uri "d:/digestif-test/tikz-test.tex"))) => file:///d%3A/digestif-test/tikz-test.tex With Emacs 623db40d, it looks like this: (require 'eglot) (insert "\n" (format "%s" (eglot--path-to-uri "d:/digestif-test/tikz-test.tex"))) => d:/digestif-test/tikz-test.tex I think the underlying problem is with the return value of `url-generic-parse-url', but I'm not familiar enough with it to make a judgement. As the result, digestif-LSP doesn't work with the current Eglot on Windows -- checkout c3b64985aa does. This is with: In GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-11-17 Repository revision: 623db40dd1cd21623c5cecdc0abbf3ce885f92b1 Repository branch: master System Description: Microsoft Windows 10 Pro Best, Arash