From: Gregor Zattler <telegraph@gmx.net>
To: notmuch@notmuchmail.org
Subject: [PATCH] emacs: distinguish tag `flagged' on terminal
Date: Wed, 4 Sep 2013 19:06:55 +0200 [thread overview]
Message-ID: <20130904170655.GA13154@boo.workgroup> (raw)
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
next reply other threads:[~2013-09-04 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 17:06 Gregor Zattler [this message]
2013-09-15 8:28 ` [PATCH] emacs: distinguish tag `flagged' on terminal Tomi Ollila
2013-10-12 12:07 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130904170655.GA13154@boo.workgroup \
--to=telegraph@gmx.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).