From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: *Natural* language highlighting Date: Fri, 27 Apr 2012 01:28:36 -0400 Message-ID: <28250.1335504516@alphaville> References: <4F99F684.8090306@imap.cc> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNdjh-0000tO-Lf for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 01:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNdjf-0003YB-Q6 for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 01:28:53 -0400 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:19700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNdjf-0003XH-Ll for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 01:28:51 -0400 In-Reply-To: Message from Alex Lane of "Thu, 26 Apr 2012 19:29:40 MDT." <4F99F684.8090306@imap.cc> 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: Alex Lane Cc: emacs-orgmode@gnu.org Alex Lane wrote: > ... > On a (somewhat) related note, might someone point me at the face > description(s) used for orgmode definition lists (e.g., foo :: bar)? I > would specifically like to make the 'foo' part of such a definition a > bit more assertive. > Unfortunately, that's not a specific face. The pattern is set in org.el:org-set-font-lock-defaults around line 5894: ,---- | ... | ;; Description list items | '("^[ \t]*[-+*][ \t]+\\(.*?[ \t]+::\\)\\([ \t]+\\|$\\)" | 1 'bold prepend) | ... `---- So you can redefine the bold face but that's probably a bad idea, since it is going to change the appearance of a lot of things. Otherwise, you have to change the code above to achieve what you want, by replacing ``bold'' with the face of your choice (possibly of your own devising, if the list of faces obtained with list-faces-display does not contain one that meets your requirements.) Nick