GNU bug report logs - #26014
25.1; `browse-url-of-buffer' fails on Windows 10 if the path contains spaces

Previous Next

Package: emacs;

Reported by: Klaus-Dieter Bauer <bauer.klaus.dieter <at> gmail.com>

Date: Tue, 7 Mar 2017 15:55:02 UTC

Severity: normal

Found in version 25.1

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Klaus-Dieter Bauer <bauer.klaus.dieter <at> gmail.com>
Cc: 26014 <at> debbugs.gnu.org
Subject: bug#26014: 25.1; `browse-url-of-buffer' fails on Windows 10 if the path contains spaces
Date: Tue, 07 Mar 2017 18:39:41 +0200
> From: Klaus-Dieter Bauer <bauer.klaus.dieter <at> gmail.com>
> Date: Tue, 7 Mar 2017 16:53:41 +0100
> 
> It seems that w32-shell-execute cannot handle file://-URIs with url-escaped spaces, causing browse-url-of-file
> to fail. I observed this issue when trying to to markdown-export-and-preview from markdown-mode.el, but the
> issue also occurs with browse-url-of-buffer.
> 
> To reproduce, create a file C-x f c:/tmp/file with spaces.html and execute M-: (browse-url-of-buffer).
> 
> It will generate the backtrace

Thanks, I think I fixed that now.




This bug report was last modified 8 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.