]> git.notmuchmail.org Git - notmuch/commitdiff
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)
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(-)


No differences found