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: Danny Freeman
Subject: bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows
Date: Fri, 18 Nov 2022 09:55:47 -0500

Eli Zaretskii <eliz@gnu.org> writes:

>> If it is a full windows path, we DO want to turn that into a file url.
>> 
>> So how do we detect that is is a windows path, and not a URL already?
>
> You test that system-type is windows-nt AND that the
> file-name-absolute-p returns non-nil for the argument.

That is incredible simple. Maybe something like this patch will work:

Attachment: 0001-Eglot-don-t-confuse-URLs-and-windows-file-paths.patch
Description: Text Data

I can confirm it works on linux, but I don't have a windows machine.
Someone else would need to verify it there.

-- 
Danny Freeman

reply via email to

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