unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Fabrice Popineau <fabrice.popineau@supelec.fr>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: server.el problem ?
Date: Wed, 01 Aug 2012 21:09:21 +0200	[thread overview]
Message-ID: <874nomwhsu.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <CAFgFV9POHnXtMNz5Uw+q6uo8oka-XcKX+i2LawTA=jNeSKLz-Q@mail.gmail.com> (Fabrice Popineau's message of "Wed, 1 Aug 2012 20:51:48 +0200")

Fabrice Popineau <fabrice.popineau@supelec.fr> writes:

>> Are you saying the current code runs a URL through expand-file-name?
>
> It seems so. Moreover :
>
> (expand-file-name "c:/home/.emacs" "c:/temp")
> "c:/home/.emacs"
> (expand-file-name "http://www.google.fr/foo.html" "c:/home")
> "c:/home/http:/www.google.fr/foo.html"
> (expand-file-name "org-protocol://capture://www.google.fr/foo.html"
> "c:/home")
> "c:/home/org-protocol:/capture:/www.google.fr/foo.html"
>
> Emacs currrent trunk (more or less), windows 7, compiled by myself.
> Anybody can confirm ?

Yes (on GNU/Linux), and in fact

  $ emacsclient org-protocol://capture://www.google.fr/foo.html
  $ emacsclient org-protocol://capture://http://www.google.fr/foo.html

doesn't give the correct result because of that.  In my other mail, I
tested

  $ emacsclient org-protocol://capture://www.google.fr

where the problem also exists but doesn't really matter, i.e., the link
is just www.google.fr but org-mode itself is that clever to see its a
URL and does the right thing.

Bye,
Tassilo



      reply	other threads:[~2012-08-01 19:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 12:01 server.el problem ? Fabrice Popineau
2012-08-01 14:25 ` Tassilo Horn
2012-08-01 18:36   ` Fabrice Popineau
2012-08-01 18:47     ` Tassilo Horn
2012-08-01 15:31 ` Eli Zaretskii
2012-08-01 18:51   ` Fabrice Popineau
2012-08-01 19:09     ` Tassilo Horn [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=874nomwhsu.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=fabrice.popineau@supelec.fr \
    /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).