From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows Date: Thu, 17 Nov 2022 19:06:36 +0200 Message-ID: <83r0y1cxyb.fsf@gnu.org> References: <86bkp5y16y.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20214"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59338@debbugs.gnu.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 17 18:07:23 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 1oviME-0004zE-KF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Nov 2022 18:07:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oviLw-00081P-E3; Thu, 17 Nov 2022 12:07:04 -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 1oviLu-000810-7D for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 12:07: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 1oviLt-0001u9-Ul for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 12:07:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oviLt-0004c9-QK for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 12:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Nov 2022 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59338 X-GNU-PR-Package: emacs Original-Received: via spool by 59338-submit@debbugs.gnu.org id=B59338.166870480517713 (code B ref 59338); Thu, 17 Nov 2022 17:07:01 +0000 Original-Received: (at 59338) by debbugs.gnu.org; 17 Nov 2022 17:06:45 +0000 Original-Received: from localhost ([127.0.0.1]:34193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oviLc-0004bd-SM for submit@debbugs.gnu.org; Thu, 17 Nov 2022 12:06:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oviLY-0004bL-AF for 59338@debbugs.gnu.org; Thu, 17 Nov 2022 12:06:43 -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 1oviLT-0001fd-3R for 59338@debbugs.gnu.org; Thu, 17 Nov 2022 12:06:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=V70cAphdH70+RDIplTc1LKMx7cXXBz8SdS6uVjwEbC0=; b=HLr8N9UNfXUO J+yN/GPHghRwfJQyDPeKF/ojVvItTKXmMQXPysUMlxu+d2wZBV0uB3fF3NTzAla1IXD15NJZy7VcO HAM7ryPa2wcwDEr5BzhgdZNnUeYV01cvZL59UySlJr5i9N6yT30HdT+i2E/z9b9f5lB1Vf+mMBfM9 mlgBaBrQtDrulD95RJdD1zZ76T1wNJ93BCOqCAKiB4OYwnYIRH1VAbSsN0mrWqFjOH6iiixAGkcY0 gvEYH7/McZD9u0cluTcc6gtu5cwKgrDmd3Oec/BG+sVowggQmb2fcWYENIae49KPKRDudI4PWcuzu JUNpxZNGcdfkrc2nK/Y+rg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oviLS-0006Ob-CV; Thu, 17 Nov 2022 12:06:34 -0500 In-Reply-To: <86bkp5y16y.fsf@gnu.org> (message from Arash Esbati on Thu, 17 Nov 2022 17:51:01 +0100) 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:248131 Archived-At: > From: Arash Esbati > Date: Thu, 17 Nov 2022 17:51:01 +0100 > > 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 Both are wrong, right? The correct URL should AFAIU be file:///d:/digestif-test/tikz-test.tex IOW, the problem is that the URL is being run through url-encode-url, which doesn't support file:// URLs on Windows properly.