From: "Kiên Nguyễn Quang" <kien.n.quang@gmail.com>
To: 54721@debbugs.gnu.org
Subject: bug#54721: 29.0.50; browse-url-file-url fails on Windows since e06319b
Date: Tue, 5 Apr 2022 15:57:40 +0900 [thread overview]
Message-ID: <CAL7sU5jJ41P1iDWaKxdUJNt2hvxj8VZYK4VrGE3Uj6Lg64HLRg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
Error:
*(error "ShellExecute failed: The system cannot find the file specified.")*
It's because e06319b is using `file-name-split` which will discard the
driver name in Windows.
For example:
(file-name-split "c:/Data/projects/notes/techs/.burlIU3pav.html")
# Output: ("" "Data" "projects" "notes" "techs" ".burlIU3pav.html")
Since the driver name is discarded, the constructed URL is
"file:///Data/projects/notes/techs/.burlIU3pav.html", which does not
exist and cannot be opened.
[-- Attachment #2: Type: text/html, Size: 825 bytes --]
next reply other threads:[~2022-04-05 6:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 6:57 Kiên Nguyễn Quang [this message]
[not found] ` <handler.54721.B.164914187929306.ack@debbugs.gnu.org>
2022-04-06 0:30 ` bug#54721: Acknowledgement (29.0.50; browse-url-file-url fails on Windows since e06319b) Kiên Nguyễn Quang
2022-04-06 5:39 ` Kiên Nguyễn Quang
2022-04-06 9:59 ` bug#54721: 29.0.50; browse-url-file-url fails on Windows since e06319b Lars Ingebrigtsen
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=CAL7sU5jJ41P1iDWaKxdUJNt2hvxj8VZYK4VrGE3Uj6Lg64HLRg@mail.gmail.com \
--to=kien.n.quang@gmail.com \
--cc=54721@debbugs.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.