]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: distinguish tag `flagged' on terminal
authorGregor Zattler <telegraph@gmx.net>
Wed, 4 Sep 2013 17:06:55 +0000 (19:06 +0200)
committerDavid Bremner <bremner@debian.org>
Sat, 12 Oct 2013 11:40:39 +0000 (08:40 -0300)
Change foreground color to `blue' like lines representing threads
with flagged messages in notmuch-search.  Before tag `flagged' was
shown in notmuch-show buffers as image star on graphical frames while
there was no visible distinction to other flags on terminal frames.

emacs/notmuch-tag.el

index 064cfa8d81154535e3055c1265927e435fa2cae9..5c50adeea472ad3fe7e08e9ea7edd3a5e45a89d7 100644 (file)
@@ -30,7 +30,8 @@
 
 (defcustom notmuch-tag-formats
   '(("unread" (propertize tag 'face '(:foreground "red")))
-    ("flagged" (notmuch-tag-format-image-data tag (notmuch-tag-star-icon))))
+    ("flagged" (propertize tag 'face '(:foreground "blue"))
+     (notmuch-tag-format-image-data tag (notmuch-tag-star-icon))))
   "Custom formats for individual tags.
 
 This gives a list that maps from tag names to lists of formatting