bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows


From: Eli Zaretskii
Subject: bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows
Date: Thu, 17 Nov 2022 19:06:36 +0200

> From: Arash Esbati <arash@gnu.org>
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]