From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Jerram Subject: Re: Escaping links Date: Mon, 14 Aug 2017 18:26:58 +0200 Message-ID: <66cadfb9-5b38-03fb-cde0-090b1dfd7c66@ossau.homelinux.net> References: <87zib65e93.fsf@nicolasgoaziou.fr> <871soh5amk.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhICq-00024Z-IV for emacs-orgmode@gnu.org; Mon, 14 Aug 2017 12:27:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhICn-0005fY-Be for emacs-orgmode@gnu.org; Mon, 14 Aug 2017 12:27:08 -0400 Received: from smtp-out-2.talktalk.net ([62.24.135.66]:12286) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dhICn-0005em-5U for emacs-orgmode@gnu.org; Mon, 14 Aug 2017 12:27:05 -0400 Received: from [192.168.1.103] (AToulouse-655-1-41-5.w90-60.abo.wanadoo.fr [90.60.95.5]) by arudy.520b.com (Postfix) with ESMTPSA id AD8EE38075 for ; Mon, 14 Aug 2017 17:17:32 +0100 (BST) In-Reply-To: Content-Language: en-US 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: emacs-orgmode@gnu.org Except if your original string was "%org-9.0"... For this kind of approach to work, you generally need to prefix everything; specifically included the cases that are _not_ encoded. Regards - Neil On 12/08/17 16:01, John Kitchin wrote: > I was thinking of something like how all PDF files start with something > like %PDF-1.3. So any string that started with %org-9.0, for example > would be certain to be encoded, whereas any other beginning would not be > certain. > > Nicolas Goaziou writes: > >> Hello, >> >> John Kitchin writes: >> >>> Could you put some magic at the beginning of the string that indicates it >>> is encoded? >> I don't know. Could you elaborate a bit? >> >> Regards, >