GNU bug report logs - #2543
w32-shell-execute removes target from local URLs

Previous Next

Package: emacs;

Reported by: rezonatix3 <at> yahoo.no

Date: Mon, 2 Mar 2009 21:05:05 UTC

Severity: normal

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 2543-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: rezonatix3 <at> yahoo.no, 2543-done <at> debbugs.gnu.org
Subject: Re: bug#2543: w32-shell-execute removes target from local URLs
Date: Tue, 03 Mar 2009 06:55:01 +0800
Marius Andersen wrote:
> The (Windows) function w32-shell-execute strips anchors from URLs to
> local files. For instance, given that the file C:/index.html exists, executing
>
>     (w32-shell-execute "open" "file:///C:/index.html#test")
>   

Anchors are not valid in file URLs, but it is not Emacs that is 
stripping it, as Emacs makes no attempt to decode the parameters that 
you supply.






This bug report was last modified 16 years and 82 days ago.

Previous Next


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