Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / a6 / 8b1f424fbcd763ddd0945b245a09e98ceb921e
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 8122D431FBC\r
6         for <notmuch@notmuchmail.org>; Fri, 22 Jan 2010 10:47:02 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -3.296\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-3.296 tagged_above=-999 required=5 tests=[AWL=0.659,\r
12         BAYES_50=0.001, DATE_IN_PAST_03_06=0.044, RCVD_IN_DNSWL_MED=-4]\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 ICbXzHwEAMHO for <notmuch@notmuchmail.org>;\r
17         Fri, 22 Jan 2010 10:47:02 -0800 (PST)\r
18 Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6])\r
19         by olra.theworths.org (Postfix) with ESMTP id D98DD431FAE\r
20         for <notmuch@notmuchmail.org>; Fri, 22 Jan 2010 10:47:01 -0800 (PST)\r
21 Received: from servo.finestructure.net (cpe-72-227-128-66.nyc.res.rr.com\r
22         [72.227.128.66])\r
23         (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)\r
24         by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o0MIkwfM016527\r
25         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
26         for <notmuch@notmuchmail.org>; Fri, 22 Jan 2010 13:47:00 -0500 (EST)\r
27 Received: from jrollins by servo.finestructure.net with local (Exim 4.71)\r
28         (envelope-from <jrollins@finestructure.net>) id 1NYOX3-0005y2-VQ\r
29         for notmuch@notmuchmail.org; Fri, 22 Jan 2010 13:46:57 -0500\r
30 From: Jameson Rollins <jrollins@finestructure.net>\r
31 To: Notmuch Mail list <notmuch@notmuchmail.org>\r
32 Date: Fri, 22 Jan 2010 10:45:53 -0500\r
33 Message-ID: <874omet1su.fsf@servo.finestructure.net>\r
34 MIME-Version: 1.0\r
35 Content-Type: multipart/signed; boundary="=-=-=";\r
36         micalg=pgp-sha256; protocol="application/pgp-signature"\r
37 X-No-Spam-Score: Local\r
38 X-Scanned-By: MIMEDefang 2.68 on 128.59.29.6\r
39 Subject: [notmuch] [PATCH] fontify date in header\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Fri, 22 Jan 2010 18:47:02 -0000\r
53 \r
54 --=-=-=\r
55 Content-Transfer-Encoding: quoted-printable\r
56 \r
57 The date was unfairly left out of getting pretty colors in the\r
58 notmuch-show header display.  This fixes that grave injustice.\r
59 =2D--\r
60  notmuch.el |    8 +++++++-\r
61  1 files changed, 7 insertions(+), 1 deletions(-)\r
62 \r
63 diff --git a/notmuch.el b/notmuch.el\r
64 index 97914f2..48c270b 100644\r
65 =2D-- a/notmuch.el\r
66 +++ b/notmuch.el\r
67 @@ -722,7 +722,13 @@ before the delimiter marking the beginning of the body=\r
68 ."\r
69               (overlay-put (make-overlay (point) (re-search-forward ":"))\r
70                            'face 'message-header-name)\r
71               (overlay-put (make-overlay (point) (re-search-forward ".*$"))\r
72 =2D                        'face 'message-header-other)))))))\r
73 +                          'face 'message-header-other))\r
74 +         (if (looking-at "[Dd]ate:")\r
75 +             (progn\r
76 +               (overlay-put (make-overlay (point) (re-search-forward ":"))\r
77 +                            'face 'message-header-name)\r
78 +               (overlay-put (make-overlay (point) (re-search-forward ".*$"))\r
79 +                            'face 'message-header-other))))))))\r
80 =20\r
81  (defun notmuch-show-markup-header (message-begin depth)\r
82    "Buttonize and decorate faces in a message header.\r
83 =2D-=20\r
84 1.6.5\r
85 \r
86 \r
87 --=-=-=\r
88 Content-Type: application/pgp-signature\r
89 \r
90 -----BEGIN PGP SIGNATURE-----\r
91 Version: GnuPG v1.4.10 (GNU/Linux)\r
92 \r
93 iQIcBAEBCAAGBQJLWfKhAAoJEO00zqvie6q8rVIQALsT9O463NrRCrcZnmEqXDts\r
94 o83+L6dPsk6V7QD2p36QSBVPJFtbV1K5VL6besF6cFfIlR2HzvBGVjBfvDhUTJCV\r
95 BJf+X4srOMJKI82t2009Yetgsz9KDRg6iUtfgsYhQHrSQOq+TVnPAPnyk0ifIcJE\r
96 TjVs9Rh4nfiZ+UJA7FFygPfILnRdHdaJJTvRrag6U1OqEmN5hRONoR54hDtwFNwF\r
97 9RJx+R0AjahwNj1VBtnsadeNAIbmOv2tbyUy9dPTlgeBNHprU7XkbTqDrn9fv4hM\r
98 97T4IMkuW1oFRrbfmYRi5RmeUkmsVv298dFmlFNg9eA0OFsShVXwPFU3MpV/8Emn\r
99 7CFlLqfTjYmcpkiR7UWiOD25xDAlx0zy3Vv8piLVqo0ronmp18P/cdx//VsVDl6x\r
100 qvcwR01rm6HplwkHa2K0dxVAqz433RvXE8UWdS5xbM/TTN2tQY6o3QzcEpPSGdNH\r
101 owzQtPCHEUivkD9VLv3c6jq5mQXZgiyv6Pz9FK6+ssYvfUMlMBhlSV1Z+0c3WZDE\r
102 vh5ct4CiVDlEE+NSeZCJFn/ohnJEdN5Mla2IMJUI86ehcALtggURzZShgNe9uzpZ\r
103 +YKJK5/8Q3dQqkGjjfqft51kzt1fs55Wax1ReAJEcRHG5AA2LKC2rlWSKptt4tlj\r
104 TDVf54I2apPtBqdCjLYL\r
105 =yytg\r
106 -----END PGP SIGNATURE-----\r
107 --=-=-=--\r