From: Eli Zaretskii <eliz@gnu.org>
To: Arash Esbati <arash@gnu.org>
Cc: 59338@debbugs.gnu.org
Subject: bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows
Date: Thu, 17 Nov 2022 19:06:36 +0200 [thread overview]
Message-ID: <83r0y1cxyb.fsf@gnu.org> (raw)
In-Reply-To: <86bkp5y16y.fsf@gnu.org> (message from Arash Esbati on Thu, 17 Nov 2022 17:51:01 +0100)
> 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.
next prev parent reply other threads:[~2022-11-17 17:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 16:51 bug#59338: 29.0.50; Commit 1a2d603bb3 breaks Eglot on Windows Arash Esbati
2022-11-17 17:06 ` Eli Zaretskii [this message]
2022-11-17 17:18 ` Augusto Stoffel
2022-11-17 22:27 ` Danny Freeman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-17 23:12 ` Augusto Stoffel
2022-11-18 7:14 ` Eli Zaretskii
2022-11-18 13:39 ` Danny Freeman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-18 14:35 ` Eli Zaretskii
2022-11-18 14:55 ` Danny Freeman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-18 20:01 ` Arash Esbati
2022-11-18 7:12 ` Eli Zaretskii
2022-11-23 12:51 ` João Távora
2022-11-24 13:42 ` Danny Freeman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-24 15:27 ` João Távora
2022-11-17 22:33 ` Arash Esbati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r0y1cxyb.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59338@debbugs.gnu.org \
--cc=arash@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.