emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* refontifying links
@ 2015-11-25  2:12 John Kitchin
  2015-12-03 19:46 ` Aaron Ecay
  0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2015-11-25  2:12 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-03 23:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25  2:12 refontifying links John Kitchin
2015-12-03 19:46 ` Aaron Ecay
2015-12-03 23:55   ` John Kitchin

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).