From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: set different colors for different link types Date: Fri, 29 Apr 2011 17:18:52 +0200 Message-ID: References: <4DBA7A0B.8@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFpT5-0001YO-CC for emacs-orgmode@gnu.org; Fri, 29 Apr 2011 11:18:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFpT4-0005px-FH for emacs-orgmode@gnu.org; Fri, 29 Apr 2011 11:18:55 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:60989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFpT4-0005pm-Au for emacs-orgmode@gnu.org; Fri, 29 Apr 2011 11:18:54 -0400 Received: by ewy9 with SMTP id 9so1365420ewy.0 for ; Fri, 29 Apr 2011 08:18:52 -0700 (PDT) In-Reply-To: <4DBA7A0B.8@gmail.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Wittern Cc: Org Mode Mailing List For links with a description I always just repeat the protocol tag there manually: [[file://path/to/my file][file: myfile]] [[http://www.example.com/path/to/my file][http: myfile]] Together with the space after the colon this shows, also immediately, if you look only at the link description or at the link itself: [[file://path/to/my file]] [[http://www.example.com/path/to/my file]] This color-independent solution works even if colors would not be available occasionally like with some terminal configs. Michael 2011/4/29 Christian Wittern : > In the archives, I have seen on and off references to a new, extensible > syntax that would go beyond /italic/, *bold* and =3Dcode=3D, but I have s= een no > traces of seeing it implemented. > > For the time being, therefore I am settling on having different linktypes > coming up in different colors, which I hope is doable, but again, I found= no > immediate solution. =A0I wonder if somebody has an idea of how to go abou= t > this. =A0What I would like to see is that, for example: > > [[file://path/to/my file][myfile]] =A0comes out visibly different from > [[http://www.example.com/path/to/my file][myfile]] , for example the one = in > red, the other in blue.