[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows
From: |
Arash Esbati |
Subject: |
bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows |
Date: |
Fri, 18 Nov 2022 21:01:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
Danny Freeman <danny@dfreeman.email> writes:
> I can confirm it works on linux, but I don't have a windows machine.
> Someone else would need to verify it there.
Many thanks for working on this. I tried your patch on my Windows box
and this is what I get:
(require 'eglot)
(insert "\n" (format "%s" (eglot--path-to-uri
"d:/digestif-test/tikz-test.tex")))
=> file:///d%3A/digestif-test/tikz-test.tex
(insert "\n" (format "%s" (eglot--path-to-uri
"d:/digestif-test/tikz test.tex")))
=> file:///d%3A/digestif-test/tikz%20test.tex
As Eli already mentioned, %-escaping the colon seems to be wrong (I
couldn't find a definitive source for this, though), but it seems a
deliberate decision in eglot.el's `eglot--uri-path-allowed-chars', which
also references this GitHub issue[1]. My original problem is solved and
digestif-LSP works on Windows again. So for now, I suggest to apply
your patch and close this report.
Best, Arash
Footnotes:
[1] https://github.com/joaotavora/eglot/pull/639
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Arash Esbati, 2022/11/17
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Eli Zaretskii, 2022/11/17
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Augusto Stoffel, 2022/11/17
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Danny Freeman, 2022/11/17
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Augusto Stoffel, 2022/11/17
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Eli Zaretskii, 2022/11/18
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Danny Freeman, 2022/11/18
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Eli Zaretskii, 2022/11/18
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Danny Freeman, 2022/11/18
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows,
Arash Esbati <=
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Eli Zaretskii, 2022/11/18
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, João Távora, 2022/11/23
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Danny Freeman, 2022/11/24
- bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, João Távora, 2022/11/24
bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows, Arash Esbati, 2022/11/17