[PATCH 6/8] CLI: refactor dumping of tags.
[notmuch-archives.git] / 34 / 1898c20a640624e28ee52236a1dc187962828b
1 Return-Path: <sojkam1@fel.cvut.cz>\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 144CF4196F2\r
6         for <notmuch@notmuchmail.org>; Thu,  4 Nov 2010 07:13:06 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\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 w-ok2qpJAt6j for <notmuch@notmuchmail.org>;\r
16         Thu,  4 Nov 2010 07:12:55 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id A9E0F4196F0\r
19         for <notmuch@notmuchmail.org>; Thu,  4 Nov 2010 07:12:55 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 06E1819F3377;\r
22         Thu,  4 Nov 2010 15:12:55 +0100 (CET)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id dO5IF1i84VK4; Thu,  4 Nov 2010 15:12:53 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id BA5A219F32FB;\r
30         Thu,  4 Nov 2010 15:12:53 +0100 (CET)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id AB018FA003;\r
34         Thu,  4 Nov 2010 15:12:53 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1PE0Yf-0003FL-H3; Thu, 04 Nov 2010 15:12:53 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
40 Subject: Re: [PATCH] emacs: Do not color non-matching authors by tag\r
41 In-Reply-To: <878w1942i6.fsf@ut.hh.sledj.net>\r
42 References: <1287726122-5643-1-git-send-email-sojkam1@fel.cvut.cz>\r
43         <878w1942i6.fsf@ut.hh.sledj.net>\r
44 User-Agent: Notmuch/0.4-29-g9b64b0f (http://notmuchmail.org) Emacs/23.2.1\r
45         (x86_64-pc-linux-gnu)\r
46 Date: Thu, 04 Nov 2010 15:12:53 +0100\r
47 Message-ID: <87vd4djhy2.fsf@steelpick.2x.cz>\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain; charset=us-ascii\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Thu, 04 Nov 2010 14:13:06 -0000\r
63 \r
64 Hi David,\r
65 \r
66 On Thu, 04 Nov 2010, David Edmondson wrote:\r
67 > On Fri, 22 Oct 2010 07:42:02 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
68 > > Customizing notmuch-search-line-faces to color lines in search result\r
69 > > according to tags has the effect that the color overrides other faces\r
70 > > set for the line. This is usually what the user wants with the\r
71 > > exception that it also colors non-matching authors and it is then not\r
72 > > possible to visually distinguish between matching and non-matching\r
73 > > authors.\r
74 > > \r
75 > > This patch changes the way how are the faces specified in\r
76 > > notmuch-search-line-faces applied to the search results. In\r
77 > > particular, instead of adding an overlay for the whole line, the\r
78 > > existing faces of the line are replaced with what is given in\r
79 > > notmuch-search-line-faces. The only exception is that\r
80 > > notmuch-search-non-matching-authors face is never replaced.\r
81 > > \r
82 > Michal, was this addressed by the patch that Carl recently merged?\r
83 > (Commit f99ad42da03afd638bfdfdea92d1cbdd3b510b8f in my copy of the\r
84 > repository.)\r
85 \r
86 Unfortunately not. In your patch, the overlay changes the color/face of the\r
87 whole line while my patch change the color/face of all parts of the line\r
88 except for non-matching authors. With my patch non-matched autors were\r
89 always grayed even if the rest of line was colorized.\r
90 \r
91 My patch no loger applies to the current HEAD. I plan to update it some\r
92 time later, but if you want to implement this, it would be great :-)\r
93 \r
94 -Michal\r