emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: server.el problem ?


From: Tassilo Horn
Subject: Re: server.el problem ?
Date: Wed, 01 Aug 2012 21:09:21 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Fabrice Popineau <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]