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
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
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
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
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
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
55 Content-Transfer-Encoding: quoted-printable
\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
60 notmuch.el | 8 +++++++-
\r
61 1 files changed, 7 insertions(+), 1 deletions(-)
\r
63 diff --git a/notmuch.el b/notmuch.el
\r
64 index 97914f2..48c270b 100644
\r
67 @@ -722,7 +722,13 @@ before the delimiter marking the beginning of the body=
\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
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
81 (defun notmuch-show-markup-header (message-begin depth)
\r
82 "Buttonize and decorate faces in a message header.
\r
88 Content-Type: application/pgp-signature
\r
90 -----BEGIN PGP SIGNATURE-----
\r
91 Version: GnuPG v1.4.10 (GNU/Linux)
\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
106 -----END PGP SIGNATURE-----
\r