From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: refontifying links Date: Tue, 24 Nov 2015 21:12:56 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1PZw-0006vN-1H for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 21:13:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1PZs-0001xk-1T for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 21:13:03 -0500 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:35839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1PZr-0001xW-Ss for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 21:12:59 -0500 Received: by qgec40 with SMTP id c40so23810795qge.2 for ; Tue, 24 Nov 2015 18:12:59 -0800 (PST) Received: from Johns-MacBook-Air.local (c-71-206-238-169.hsd1.pa.comcast.net. [71.206.238.169]) by smtp.gmail.com with ESMTPSA id t101sm4941404qge.2.2015.11.24.18.12.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 18:12:57 -0800 (PST) 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: 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