emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] set different colors for different link types


From: Christian Wittern
Subject: Re: [O] set different colors for different link types
Date: Sat, 30 Apr 2011 08:40:35 +0900
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Hi Michael,

Thank you for your suggestion. However, I would prefer not to clutter the text with repeating the protocol there. Also, the example I gave is mainly for illustration, in the way I use it, the description would not show the filename, but some other text.

Chris

On 2011-04-30 00:18, Michael Brand wrote:
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<address@hidden>:
In the archives, I have seen on and off references to a new, extensible
syntax that would go beyond /italic/, *bold* and =code=, but I have seen 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.  I wonder if somebody has an idea of how to go about
this.  What I would like to see is that, for example:

[[file://path/to/my file][myfile]]  comes out visibly different from
[[http://www.example.com/path/to/my file][myfile]] , for example the one in
red, the other in blue.


--
 Christian Wittern
 Institute for Research in Humanities, Kyoto University
 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN




reply via email to

[Prev in Thread] Current Thread [Next in Thread]