From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Vincent_Bela=EFche?= Subject: Re: %20 in file://... URL Date: Thu, 30 Dec 2010 06:29:17 +0100 Message-ID: <80lj37u8uq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=60087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYB4r-0003pp-Mn for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 00:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYB4q-00024D-Kq for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 00:29:29 -0500 Received: from smtp07.smtpout.orange.fr ([80.12.242.129]:57799 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYB4q-00023v-Gf for emacs-orgmode@gnu.org; Thu, 30 Dec 2010 00:29:28 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org mode , David Maus [...] >> >> hoping that the above helps. > >Definitely. > >Last not least: On this mailing list you should normally Cc: answers >to the original poster -- some are not subscribed to the list at all, >some (like me) read the list in a different account than their main >mail account and miss answers etc. > >Best and thanks, > -- David By the way, I realized that emacs embeds a "URL" package that already has some URL parse function url-generic-parse-url. Wouldn't it be better if Org would just rely on this function and/or extend it, or at least if org would offer the same API as url and try to align on the same conventions for non standard URL's, so that org could be a replacement to the URL package. I noticed that the URL package does not seem to make any %XX decoding, for instance on my machine: (url-generic-parse-url "file:c%3A/toto.html") evaluates to [cl-struct-url "file" nil nil nil 21 "c%3A/toto.html" nil nil nil] I also noticed that the info:FILE#NODE does not seem to be supported by Org, but it is by URL. Actually it would be even more useful to have also info:FILE#NODE::NNN with NNN being the line number within the info NODE, but url does not support the ::NNN extension which seems to be defined only in Org. VBR, Vincent.