Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / b0 / 81978222a59c596428948c7f3ca1c93aaa56c4
1 Return-Path: <cworth@cworth.org>\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 4DA694196F0\r
6         for <notmuch@notmuchmail.org>; Wed,  7 Apr 2010 11:19:54 -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: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id bbyuX-INjlOw; Wed,  7 Apr 2010 11:19:53 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id 36975431FC1;\r
19         Wed,  7 Apr 2010 11:19:53 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id C832325400C; Wed,  7 Apr 2010 11:19:52 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: Jameson Graef Rollins <jrollins@finestructure.net>, Notmuch Mail\r
24         <notmuch@notmuchmail.org>\r
25 Subject: Re: [notmuch] [PATCHv2] notmuch.el: colorize lines in\r
26         notmuch-search based on thread tags.\r
27 In-Reply-To: <87r5p01pqb.fsf@servo.finestructure.net>\r
28 References: <87aavpb3wh.fsf@servo.finestructure.net>\r
29         <87r5p01pqb.fsf@servo.finestructure.net>\r
30 Date: Wed, 07 Apr 2010 11:19:52 -0700\r
31 Message-ID: <874ojngm5z.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Wed, 07 Apr 2010 18:19:54 -0000\r
48 \r
49 --=-=-=\r
50 Content-Transfer-Encoding: quoted-printable\r
51 \r
52 On Thu, 04 Feb 2010 19:38:20 -0500, Jameson Graef Rollins <jrollins@finestr=\r
53 ucture.net> wrote:\r
54 > Arbitrary font faces can be specified for given thread tags.  By\r
55 > default, no coloring is applied.  To specify coloring, place something\r
56 > like this in your .emacs:\r
57 >=20\r
58 > (setq notmuch-search-line-faces '(("delete" . (:foreground "red"))\r
59 >                                   ("unread" . (:foreground "green"))))\r
60 >=20\r
61 > Order matters: line faces listed first will take precedence (in the\r
62 > example above, a thread tagged both "delete" and "unread" will be\r
63 > colored red, since the "delete" face is listed before the "unread").\r
64 \r
65 Hi Jameson,\r
66 \r
67 Thanks for this patch. I just pushed it (based on what I found\r
68 originally in spaetz' tree). Only after coming back here did I find that\r
69 you had sent a second version that colored "delete" tags by default.\r
70 \r
71 I haven't added that part for a couple of reasons:\r
72 \r
73 1. The commit message doesn't match the behavior of the patch, (it says\r
74    "no coloring is applied" by default.\r
75 \r
76 2. I think we'll go with a tag name of "deleted" rather than "delete".\r
77 \r
78 I did fix up some indentation and a slightly scrambled commit\r
79 message. But maybe that only existed in spaetz' tree.\r
80 \r
81 Finally, I checked the customization support, ("M-x customize", then\r
82 browse Applications->Email->Notmuch), and saw that notmuch-tag-face is\r
83 much easier to customize there, (provides a drop-down value menu with\r
84 buttons for modifying the face---where I couldn't even figure out how to\r
85 use customize for the new notmuch-search-line-faces).\r
86 \r
87 Plus, I think both of these values should likely be merged into a single\r
88 face-selection option, (perhaps with a separate Boolean to determine\r
89 whether to highlight just the tag name or the whole line).\r
90 \r
91 Thanks again for the improvements, and hopefully you'll see quicker\r
92 merging from me in the future.\r
93 \r
94 =2DCarl\r
95 \r
96 --=-=-=\r
97 Content-Type: application/pgp-signature\r
98 \r
99 -----BEGIN PGP SIGNATURE-----\r
100 Version: GnuPG v1.4.10 (GNU/Linux)\r
101 \r
102 iD8DBQFLvMzI6JDdNq8qSWgRAusUAKCB191Kj1GtR6BMhRtyfLY7eKWPjgCbBB6P\r
103 2krdMPmVGLV1RoN6dHHGrvM=\r
104 =+F6s\r
105 -----END PGP SIGNATURE-----\r
106 --=-=-=--\r