notmuch.el: Add face support to search mode
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 28 Nov 2009 06:07:05 +0000 (11:37 +0530)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 06:52:22 +0000 (22:52 -0800)
commit92c4dcc641e9dfb5f65026ebae5cedc8eb1d9e21
tree002649b69a5dd80d7502cda2da5eddfcdb894110
parentea124966e73fdfaf926211c3c499fe1dd522a05c
notmuch.el: Add face support to search mode

This patch use notmuch-tag-face showing tags in the notmuch-search-mode.

We can selectively highlight each tag by setting notmuch-tag-face-alist as below

(defface notmuch-tag-unread-face
 '((((class color)) (:foreground "goldenrod")))
  "Notmuch search mode face used to highligh tags.")

(defface notmuch-tag-inbox-face
 '((((class color)) (:foreground "red")))
  "Notmuch search mode face used to highligh tags.")

(setq notmuch-tag-face-alist '(("unread" . 'notmuch-tag-unread-face)
       ("inbox" . 'notmuch-tag-inbox-face)))
(require 'notmuch)

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
notmuch.el