From: John Kitchin <jkitchin@andrew.cmu.edu>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: refontifying links
Date: Tue, 24 Nov 2015 21:12:56 -0500 [thread overview]
Message-ID: <m2ziy2kes7.fsf@andrew.cmu.edu> (raw)
Hi,
I am trying to find a nice way to change the color of some links. So far
the only solution I have found is to create a new face, and use
highlight-regexp to do it.
I would prefer to just use font-lock to change the color of the link. so
far I have not found a way to do that.
I have found the org-activate-plain-links, and org-font-lock-keywords
and the org-font-lock-hook, but so far have not figured out how to
overwrite the org-link face.
I am kind of looking for a general approach to fontifying here, but the
specific problem I want to solve is to be able to write:
[[color:Orangered1][Some text I want colored]] and have it show in my
buffer in Orangered1.
Any thoughts?
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
next reply other threads:[~2015-11-25 2:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 2:12 John Kitchin [this message]
2015-12-03 19:46 ` refontifying links Aaron Ecay
2015-12-03 23:55 ` John Kitchin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ziy2kes7.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.