From: Damien Cassou Date: Sat, 23 Mar 2013 11:29:54 +0000 (+0100) Subject: emacs: possibility to customize the rendering of tags X-Git-Tag: 0.16_rc1~180 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=b714a808a692a99c1b936be43186a40ab251aeca;hp=b714a808a692a99c1b936be43186a40ab251aeca;p=notmuch emacs: possibility to customize the rendering of tags This patch extracts the rendering of tags in notmuch-show to the notmuch-tag file. This file introduces a `notmuch-tag-formats' variable that associates each tag to a particular format. This variable can be customized thanks to the work of Austin Clements. For example, '(("unread" (propertize tag 'face '(:foreground "red"))) ("flagged" (notmuch-tag-format-image tag "star.svg"))) associates a red foreground to the "unread" tag and a star picture to the "flagged" tag. Signed-off-by: Damien Cassou ---