unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2543: w32-shell-execute removes target from local URLs
@ 2009-03-02 20:55 ` Marius Andersen
  2009-03-02 23:05   ` bug#2543: marked as done (w32-shell-execute removes target from local URLs) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Marius Andersen @ 2009-03-02 20:55 UTC (permalink / raw)
  To: bug-gnu-emacs


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")

opens file:///C:/index.html, without #test.

Note, however, that the function has no problem with external URLs;
e.g.,

    (w32-shell-execute "open" "http://www.example.org/index.html#test")

opens http://www.example.org/index.html#test, with the anchor included.

In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: NOR
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  change-cursor-mode: t
  global-hl-line-mode: t
  show-paren-mode: t
  cua-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t


      _________________________________________________________
Alt i ett. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com







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

* bug#2543: marked as done (w32-shell-execute removes target from  local URLs)
  2009-03-02 20:55 ` bug#2543: w32-shell-execute removes target from local URLs Marius Andersen
@ 2009-03-02 23:05   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-03-02 23:05 UTC (permalink / raw)
  To: Jason Rumney

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]


Your message dated Tue, 03 Mar 2009 06:55:01 +0800
with message-id <49AC63C5.10500@gnu.org>
and subject line Re: bug#2543: w32-shell-execute removes target from local URLs
has caused the Emacs bug report #2543,
regarding w32-shell-execute removes target from local URLs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2543: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2543
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4707 bytes --]

From: Marius Andersen <rezonatix3@yahoo.no>
To: bug-gnu-emacs@gnu.org
Subject: w32-shell-execute removes target from local URLs
Date: Mon, 2 Mar 2009 20:55:15 +0000 (GMT)
Message-ID: <497300.2397.qm@web26606.mail.ukl.yahoo.com>


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")

opens file:///C:/index.html, without #test.

Note, however, that the function has no problem with external URLs;
e.g.,

    (w32-shell-execute "open" "http://www.example.org/index.html#test")

opens http://www.example.org/index.html#test, with the anchor included.

In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: NOR
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  change-cursor-mode: t
  global-hl-line-mode: t
  show-paren-mode: t
  cua-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t


      _________________________________________________________
Alt i ett. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com




[-- Attachment #3: Type: message/rfc822, Size: 3076 bytes --]

From: Jason Rumney <jasonr@gnu.org>
To: rezonatix3@yahoo.no, 2543-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2543: w32-shell-execute removes target from local URLs
Date: Tue, 03 Mar 2009 06:55:01 +0800
Message-ID: <49AC63C5.10500@gnu.org>


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.




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

end of thread, other threads:[~2009-03-02 23:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <49AC63C5.10500@gnu.org>
2009-03-02 20:55 ` bug#2543: w32-shell-execute removes target from local URLs Marius Andersen
2009-03-02 23:05   ` bug#2543: marked as done (w32-shell-execute removes target from local URLs) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).