1 Return-Path: <jrollins@finestructure.net>
\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 ADE4E431FAF
\r
6 for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 02:29:40 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled
\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 sqiFB-piYtQC for <notmuch@notmuchmail.org>;
\r
16 Tue, 27 Nov 2012 02:29:39 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 1B2D6431FAE
\r
20 for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 02:29:39 -0800 (PST)
\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by earth-doxen-postvirus (Postfix) with ESMTP id 9538566E01FA;
\r
23 Tue, 27 Nov 2012 02:29:38 -0800 (PST)
\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new
\r
25 Received: from finestructure.net (cpe-76-166-145-133.socal.res.rr.com
\r
26 [76.166.145.133]) (Authenticated sender: jrollins)
\r
27 by earth-doxen-submit (Postfix) with ESMTP id C753C66E01F4;
\r
28 Tue, 27 Nov 2012 02:29:35 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 26077616FF; Tue, 27 Nov 2012 02:29:35 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: kedals0@gmail.com, notmuch@notmuchmail.org
\r
33 Subject: Re: Many color per line in notuch emacs mode
\r
34 In-Reply-To: <87lidpx2xb.fsf@compaq.home>
\r
35 References: <87lidpx2xb.fsf@compaq.home>
\r
36 User-Agent: Notmuch/0.14+106~ga54bb5f (http://notmuchmail.org) Emacs/23.4.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Tue, 27 Nov 2012 02:29:32 -0800
\r
39 Message-ID: <87vccrmj8z.fsf@servo.finestructure.net>
\r
41 Content-Type: multipart/signed; boundary="=-=-=";
\r
42 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Tue, 27 Nov 2012 10:29:40 -0000
\r
59 On Sun, Nov 25 2012, kedals0@gmail.com wrote:
\r
60 > I can set color per line using notmuch-search-line-faces. But I would
\r
61 > like to specify color per line field, i.e a color for date, another for
\r
62 > authors for exemple.
\r
64 > To do this, I would like to use a 3-tuple list for
\r
65 > notmuch-search-line-faces:
\r
66 > :type '(alist :key-type (string) :field (string) :value-type
\r
67 > (custom-face-edit))
\r
69 > The problem is function notmuch-search-color-line take a non structured
\r
70 > line in args. Then it is needed to parse it to find out field.
\r
72 > Do you think it would be possible to add a mecanism which permit to
\r
73 > color a field during line building ?
\r
75 Hi, Dal. There are already configuration variables to color all the
\r
76 individual fields in the search result. See the following face
\r
77 configuration variables:
\r
80 notmuch-search-count
\r
81 notmuch-search-subject
\r
82 notmuch-search-matching-authors
\r
83 notmuch-search-non-matching-authors
\r
85 The best way to configure this stuff is with the emacs configuration
\r
86 interface: M-x customize-group notmuch-search
\r
91 Content-Type: application/pgp-signature
\r
93 -----BEGIN PGP SIGNATURE-----
\r
94 Version: GnuPG v1.4.12 (GNU/Linux)
\r
96 iQIcBAEBCAAGBQJQtJYMAAoJEO00zqvie6q80D4P/1UGT6TVmymRFOVXXrm1U9Pm
\r
97 fdkxXRXy4g4KWcW4oXZeAP+oseh7T1Omdf9WCiiVdA2H2WSePjCmYEEdL3v9F6le
\r
98 FppcKk84ET4D5XZqiTmQohAXxAn82t266Evin/GLPgYuKJ5Gd4gglVkemqNx6Zed
\r
99 PbQP9u0CbLqFGMJMLcr6IZIWuksuX+yxBiZT1+3UY1rqw4shEOWAgw9dJ1rmVKMi
\r
100 aipaf4IktRbctnVk+P737XE+RxdPhirkSfnQ0GVJXwtIprCBxDDjHE2A4WKAYKzk
\r
101 vOocWWG8TtLPnJbpobr4Nqu6I5KcPO5PesoGxmeppwkKEzL8lCVbIZnSN24rIzV5
\r
102 AqmNEx+euV9xXBDXgJG5HFxBisGpr85bbcIiGL8kgb21Us867lop2kbI9v5CJp3p
\r
103 eWCJ16f4dzIGZPyTisnmQCGhdxYvTb2LkwsoyPqd0gcilmSb6K7ubVYWuaSeg6cY
\r
104 1DTkEsqfS+Vus9IKipFc+Z0cFM4uyNf4ggRPw4rzzeDV1IInr165RC4GL9WnOdIQ
\r
105 us4xGtxuKodcJBkNi4oV7WALJ0ZBkMdz/OlNfrba5IH8gaPhxJ1CzGr/1uuTcOow
\r
106 Cl0i+9ZSTZf4jMBSqdZnNiEkUwisoY8vgwkd+pXOb1Oc5cO1TKukTHg9YrayxGiY
\r
107 USdaMl7COEu747nSlNGZ
\r
109 -----END PGP SIGNATURE-----
\r