emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Alex Lane <alexpgp@imap.cc>
Cc: emacs-orgmode@gnu.org
Subject: Re: *Natural* language highlighting
Date: Fri, 27 Apr 2012 01:28:36 -0400	[thread overview]
Message-ID: <28250.1335504516@alphaville> (raw)
In-Reply-To: Message from Alex Lane <alexpgp@imap.cc> of "Thu, 26 Apr 2012 19:29:40 MDT." <4F99F684.8090306@imap.cc>

Alex Lane <alexpgp@imap.cc> 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

  reply	other threads:[~2012-04-27  5:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27  1:29 *Natural* language highlighting Alex Lane
2012-04-27  5:28 ` Nick Dokos [this message]
2012-04-27 21:26 ` Bastien

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=28250.1335504516@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=alexpgp@imap.cc \
    --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 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).