unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: distinguish tag `flagged' on terminal
@ 2013-09-04 17:06 Gregor Zattler
  2013-09-15  8:28 ` Tomi Ollila
  2013-10-12 12:07 ` David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: Gregor Zattler @ 2013-09-04 17:06 UTC (permalink / raw)
  To: notmuch

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.
---
With this patch applied tag `unread' is now shown with foreground
`red' while tag `flagged' is shown in `blue'.  IMHO this should be
the other way around as flagged messages should be flagged more
prominently than mere unread ones.  

Sorry, did not find git-send-mail on my debian jessie box!?

 emacs/notmuch-tag.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
index 064cfa8..5c50ade 100644
--- a/emacs/notmuch-tag.el
+++ b/emacs/notmuch-tag.el
@@ -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
-- 
1.8.4.rc3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-12 12:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04 17:06 [PATCH] emacs: distinguish tag `flagged' on terminal Gregor Zattler
2013-09-15  8:28 ` Tomi Ollila
2013-10-12 12:07 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).