From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: link recognition in orgmode Date: Tue, 05 Sep 2017 22:52:09 +0200 Message-ID: <8760cwna12.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpKpU-0002QS-HO for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 16:52:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpKpP-0007vf-Ik for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 16:52:16 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51586) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpKpP-0007uv-CJ for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 16:52:11 -0400 In-Reply-To: (John Kitchin's message of "Mon, 04 Sep 2017 15:39:56 -0700") 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: John Kitchin Cc: "emacs-orgmode@gnu.org" Hello, John Kitchin writes: > With this definition of a link in org-9: > > #+BEGIN_SRC emacs-lisp > (org-link-set-parameters "test" :follow (lambda (path) (message "check"))) > #+END_SRC > > #+RESULTS: > > Should both of these be "linkfied"? I would have expected the first one > to be, but not the second one. It seems like the "test:rtree" parts of > both of these are linkified. > > test:rtree :test:rtree It looks correct. `org-plain-link-re' regexp expects a word boundary before the type. If you disagree, what do you suggest as allowed characters before a plain link? Regards, -- Nicolas Goaziou