unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: 1020@emacsbugs.donarmstrong.com,
	Klaus Straubinger <KSNetz@usenet.arcornews.de>
Subject: bug#1020: url-default-expander expands wrongly on Windows
Date: Tue, 13 Jan 2009 03:09:00 +0100	[thread overview]
Message-ID: <f7ccd24b0901121809p7c8750c4l4b3f9466ea659c3b@mail.gmail.com> (raw)
In-Reply-To: <jwvprtgnuhz.fsf-monnier+emacsbugreports@gnu.org>

On Thu, Mar 27, 2008 at 14:54, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> the function url-default-expander calls expand-file-name which
>> inserts interesting but wrong drive letters into URLs when called
>> on Windows.
>
> Can you show an example so as to help us understand the problem?

ELISP> (url-expand-file-name "test" "http://www.gnu.org/")
"http://www.gnu.org/c:/test"
ELISP> (url-expand-file-name "test" "http://www.gnu.org")
"http://www.gnu.org/c:/emacs/lisp/url/test"
ELISP> (url-expand-file-name "/test" "http://www.gnu.org/")
"http://www.gnu.org/test"
ELISP> (url-expand-file-name "/test" "http://www.gnu.org")
"http://www.gnu.org/test"


    Juanma






      reply	other threads:[~2009-01-13  2:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 11:42 url-default-expander expands wrongly on Windows Klaus Straubinger
2008-03-27 12:08 ` Jason Rumney
     [not found] ` <mailman.9496.1206619761.18990.bug-gnu-emacs@gnu.org>
2008-03-27 12:35   ` Klaus Straubinger
2008-03-27 13:54 ` Stefan Monnier
2009-01-13  2:09   ` Juanma Barranquero [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0901121809p7c8750c4l4b3f9466ea659c3b@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=1020@emacsbugs.donarmstrong.com \
    --cc=KSNetz@usenet.arcornews.de \
    --cc=monnier@iro.umontreal.ca \
    /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 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).