From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniele Nicolodi Subject: org-link interface Date: Tue, 11 Oct 2016 16:48:08 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu5qP-0001m0-E3 for emacs-orgmode@gnu.org; Tue, 11 Oct 2016 18:48:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bu5qL-0001Jx-9h for emacs-orgmode@gnu.org; Tue, 11 Oct 2016 18:48:20 -0400 Received: from zed.grinta.net ([109.74.203.128]:54782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bu5qK-0001IL-Vg for emacs-orgmode@gnu.org; Tue, 11 Oct 2016 18:48:17 -0400 Received: from 688dnmac.campus.nist.gov (688msmac.bw.nist.gov [132.163.81.39]) (Authenticated sender: daniele) by zed.grinta.net (Postfix) with ESMTPSA id C5FA6E032D for ; Tue, 11 Oct 2016 22:48:12 +0000 (UTC) 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 Hello, I would like to add a new link type to org-mode. Following the example in the manual it is a very easy task. However I would like to customize how the link is visualized, specifically I would like a link like "[[foo:bar]]" to be visualized simply as "bar" where the protocol type has been hidden (same effect I would obtain with a link in the form "[[foo:bar][bar]]". Is it possible to hook somehow into org-mode to have that transformation done, or there is an easy way to accomplish that? Thank you! Cheers, Daniele