1 Return-Path: <tomi.ollila@iki.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id AF50A431FAF
\r
6 for <notmuch@notmuchmail.org>; Sun, 15 Sep 2013 01:29:06 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id D7xCySRSMzgD for <notmuch@notmuchmail.org>;
\r
16 Sun, 15 Sep 2013 01:29:02 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 609BB431FAE
\r
19 for <notmuch@notmuchmail.org>; Sun, 15 Sep 2013 01:29:02 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id A77791000B2;
\r
22 Sun, 15 Sep 2013 11:28:57 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Gregor Zattler <telegraph@gmx.net>, notmuch@notmuchmail.org
\r
25 Subject: Re: [PATCH] emacs: distinguish tag `flagged' on terminal
\r
26 In-Reply-To: <20130904170655.GA13154@boo.workgroup>
\r
27 References: <20130904170655.GA13154@boo.workgroup>
\r
28 User-Agent: Notmuch/0.16+77~g2561895 (http://notmuchmail.org) Emacs/24.3.1
\r
29 (x86_64-unknown-linux-gnu)
\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
31 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
32 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
33 Date: Sun, 15 Sep 2013 11:28:57 +0300
\r
34 Message-ID: <m2txhmmqt2.fsf@guru.guru-group.fi>
\r
36 Content-Type: text/plain; charset=utf-8
\r
37 Content-Transfer-Encoding: quoted-printable
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Sun, 15 Sep 2013 08:29:06 -0000
\r
52 On Wed, Sep 04 2013, Gregor Zattler <telegraph@gmx.net> wrote:
\r
54 > Change foreground color to `blue' like lines representing threads
\r
55 > with flagged messages in notmuch-search. Before tag `flagged' was
\r
56 > shown in notmuch-show buffers as image star on graphical frames while
\r
57 > there was no visible distinction to other flags on terminal frames.
\r
60 This patch Looks Good =E2=84=A2 and works fine.
\r
62 > With this patch applied tag `unread' is now shown with foreground
\r
63 > `red' while tag `flagged' is shown in `blue'. IMHO this should be
\r
64 > the other way around as flagged messages should be flagged more
\r
65 > prominently than mere unread ones.=20=20
\r
67 Probably so. I just (normally (*)) have 0 email with tag 'flagged' and many
\r
68 with 'unread'. I've tried to go away re-tagging messages w/ unread but...
\r
69 Anyway now I have 'flagged' with blue and other tags (sans unread) with
\r
70 dark blue foreground ;D
\r
72 (*) added 'flagged' tag to this message to test this feature.
\r
74 > Sorry, did not find git-send-mail on my debian jessie box!?
\r
76 Well, you managed to make perfectly good email out of it...
\r
77 (without risks realized, that is :)
\r
81 > emacs/notmuch-tag.el | 3 ++-
\r
82 > 1 file changed, 2 insertions(+), 1 deletion(-)
\r
84 > diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
\r
85 > index 064cfa8..5c50ade 100644
\r
86 > --- a/emacs/notmuch-tag.el
\r
87 > +++ b/emacs/notmuch-tag.el
\r
90 > (defcustom notmuch-tag-formats
\r
91 > '(("unread" (propertize tag 'face '(:foreground "red")))
\r
92 > - ("flagged" (notmuch-tag-format-image-data tag (notmuch-tag-star-icon=
\r
94 > + ("flagged" (propertize tag 'face '(:foreground "blue"))
\r
95 > + (notmuch-tag-format-image-data tag (notmuch-tag-star-icon))))
\r
96 > "Custom formats for individual tags.
\r
98 > This gives a list that maps from tag names to lists of formatting
\r
101 > _______________________________________________
\r
102 > notmuch mailing list
\r
103 > notmuch@notmuchmail.org
\r
104 > http://notmuchmail.org/mailman/listinfo/notmuch
\r