all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#54721: 29.0.50; browse-url-file-url fails on Windows since e06319b
@ 2022-04-05  6:57 Kiên Nguyễn Quang
       [not found] ` <handler.54721.B.164914187929306.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Kiên Nguyễn Quang @ 2022-04-05  6:57 UTC (permalink / raw)
  To: 54721

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-06  9:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05  6:57 bug#54721: 29.0.50; browse-url-file-url fails on Windows since e06319b Kiên Nguyễn Quang
     [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

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.