]> git.cworth.org Git - notmuch/commit
notmuch.el: colorize lines in notmuch-search based on thread tags.
authorJameson Rollins <jrollins@finestructure.net>
Thu, 4 Feb 2010 12:07:26 +0000 (07:07 -0500)
committerCarl Worth <cworth@cworth.org>
Wed, 7 Apr 2010 18:09:20 +0000 (11:09 -0700)
commit84767fd5823b3b421be83000255951316e85be8c
treecb4d4bc7fcebf4f3138daecd66b0dd169612df11
parent8364c2f36edd471a6841025553fad663b50a8b1a
notmuch.el: colorize lines in notmuch-search based on thread tags.

Arbitrary font faces can be specified for given thread tags.  By
default, no coloring is applied.  To specify coloring, place something
like this in your .emacs:

(setq notmuch-search-line-faces '(("delete" . '(:foreground "red"))
                                  ("unread" . '(:foreground "green"))))

Order matters: line faces listed first will take precedence (in the
example above, a thread tagged both "delete" and "unread" will be
colored red, since the "delete" face is listed before the "unread").
 notmuch.el |   33 ++++++++++++++++++++++++++++++++-
 1 files changed, 32 insertions(+), 1 deletions(-)
emacs/notmuch.el