From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Problems with opening a link Date: Sat, 01 Apr 2017 14:16:16 +0200 Message-ID: <87lgrkmigf.fsf@nicolasgoaziou.fr> References: <874ly95o2n.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuHxC-0002bX-4U for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 08:16:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuHx7-0002X3-9O for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 08:16:26 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55515) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cuHx7-0002V2-27 for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 08:16:21 -0400 In-Reply-To: (Carsten Dominik's message of "Sat, 1 Apr 2017 10:57:33 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Carsten Dominik Cc: org-mode list Hello, Carsten Dominik writes: > but I think the entire url quoting scheme in Org might deserve another > look. It does. I also suggested to think about it some time ago. Ideally, Org should never quote any URI whatsoever. This is really the root of all evil, because you never know if characters are escaped, and, as a consequence, you never really know how many un-escaping turns are required. Unfortunately, there are a couple of forbidden characters in link syntax, namely "[", "]", and multiple consecutive spaces. So, if we want to allow those in, e.g. file names or labels ("http" URL are not a problem since you can hex-encode them), we need some kind of escaping mechanism. In any case, it should be different than hex-encoding so we can tell if there is some Org specific escaping involved. Just some data to keep the ball rolling. Regards, -- Nicolas Goaziou