From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: org link to OCaml comment Date: Fri, 07 Feb 2020 16:25:21 +0100 Message-ID: <87lfpeqv1a.fsf@polytechnique.org> References: <87a75vu60w.fsf@polytechnique.org> <87v9ojsp1w.fsf@polytechnique.org> <87lfpf1w12.fsf@nicolasgoaziou.fr> <87pnersh08.fsf@polytechnique.org> <874kw21n76.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39999) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j05Vc-0000wS-9K for emacs-orgmode@gnu.org; Fri, 07 Feb 2020 10:25:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j05VW-0007kj-TC for emacs-orgmode@gnu.org; Fri, 07 Feb 2020 10:25:31 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:7981) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j05VW-0007ja-Ki for emacs-orgmode@gnu.org; Fri, 07 Feb 2020 10:25:26 -0500 In-Reply-To: <874kw21n76.fsf@nicolasgoaziou.fr> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode , John Kitchin On 2020-02-07 15:33, Nicolas Goaziou writes: > *shivers* Please never suggest again url-encoding links in Org! ;) We > only got out of this hell recently. I don't want to dive in again. Sorry, I should have put a smiley there. > There is some specific syntax in links. More specifically, the > following are meaningful: > > - a star at the beginning of the link (or search option) > - a hash at the beginning of the link > - forward slashes around the link > - parenthesis around the link > > I think that `org-store-link' should be careful about it and prevent > these pathological cases if necessary. > > In any other situation, however, I think the user is responsible for > not using these specific constructs. > > WDYT? I understand, and I can be careful (and easily fix the link if needed). If `org-store-link' could do it for me, that would be perfect. Thanks again for the explanation. Best, Alan