emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Wittern <cwittern@gmail.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: set different colors for different link types
Date: Sat, 30 Apr 2011 08:40:35 +0900	[thread overview]
Message-ID: <4DBB4C73.9020803@gmail.com> (raw)
In-Reply-To: <BANLkTikc0XKROQhjPSY_FMzNvQCVdVJUeA@mail.gmail.com>

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<cwittern@gmail.com>:
>> 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	other threads:[~2011-04-29 23:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29  8:42 set different colors for different link types Christian Wittern
2011-04-29 15:18 ` Michael Brand
2011-04-29 23:40   ` Christian Wittern [this message]
2011-04-30  4:25     ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DBB4C73.9020803@gmail.com \
    --to=cwittern@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael.ch.brand@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).