From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: server.el problem ? Date: Wed, 01 Aug 2012 21:09:21 +0200 Message-ID: <874nomwhsu.fsf@thinkpad.tsdh.de> References: <833946eiip.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343848175 20688 80.91.229.3 (1 Aug 2012 19:09:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2012 19:09:35 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 01 21:09:33 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SweIV-00063n-G3 for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2012 21:09:31 +0200 Original-Received: from localhost ([::1]:50902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SweIU-0005i3-Kt for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2012 15:09:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SweIR-0005hv-NW for emacs-devel@gnu.org; Wed, 01 Aug 2012 15:09:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SweIQ-0001DR-Kd for emacs-devel@gnu.org; Wed, 01 Aug 2012 15:09:27 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SweIO-0001D5-Jg; Wed, 01 Aug 2012 15:09:24 -0400 Original-Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 2B0F420EE7; Wed, 1 Aug 2012 15:09:24 -0400 (EDT) Original-Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute6.internal (MEProxy); Wed, 01 Aug 2012 15:09:24 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=DEbvQvNEGCVzqNVwKhO6oMyBeI0=; b=t43WHXuaMjMtnF+9nl05C7xAsUPK vuv51Yr68Kthht5PKEVIJofcW68J9O2QuCP4txZIFoSyTrUTPolBI9YrIsV1E76Z a9mVelAItHh7Dsm3uWL2xy8tScTThHEspjGUMFhY6wSYL3lHuvwDIClV7NiRlaE5 qqSixk2dEpLtf8I= X-Sasl-enc: a55mR1J/XPPeq89TNTrHyF3wWnKUspsXKKz65N7YURnV 1343848163 Original-Received: from thinkpad.tsdh.de (unknown [91.67.9.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 437088E0105; Wed, 1 Aug 2012 15:09:23 -0400 (EDT) Mail-Followup-To: Fabrice Popineau , Eli Zaretskii , emacs-devel@gnu.org In-Reply-To: (Fabrice Popineau's message of "Wed, 1 Aug 2012 20:51:48 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.29 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152091 Archived-At: Fabrice Popineau 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