[notmuch] [PATCH] fontify date in header

2010-04-07 Thread Carl Worth
On Fri, 22 Jan 2010 10:45:53 -0500, Jameson Rollins  wrote:
> The date was unfairly left out of getting pretty colors in the
> notmuch-show header display.  This fixes that grave injustice.

Thanks, Jameson.

This is pushed now (finally!).

And thanks to Sebastian for tracking this and rebasing to the current
file location.

-Carl
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 



Re: [notmuch] [PATCH] fontify date in header

2010-04-07 Thread Carl Worth
On Fri, 22 Jan 2010 10:45:53 -0500, Jameson Rollins 
jroll...@finestructure.net wrote:
 The date was unfairly left out of getting pretty colors in the
 notmuch-show header display.  This fixes that grave injustice.

Thanks, Jameson.

This is pushed now (finally!).

And thanks to Sebastian for tracking this and rebasing to the current
file location.

-Carl


pgpKYEU6CtGVd.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[notmuch] [PATCH] fontify date in header

2010-01-22 Thread Jameson Rollins
The date was unfairly left out of getting pretty colors in the
notmuch-show header display.  This fixes that grave injustice.
---
 notmuch.el |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/notmuch.el b/notmuch.el
index 97914f2..48c270b 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -722,7 +722,13 @@ before the delimiter marking the beginning of the body."
  (overlay-put (make-overlay (point) (re-search-forward ":"))
   'face 'message-header-name)
  (overlay-put (make-overlay (point) (re-search-forward ".*$"))
-  'face 'message-header-other)))
+  'face 'message-header-other))
+ (if (looking-at "[Dd]ate:")
+ (progn
+   (overlay-put (make-overlay (point) (re-search-forward ":"))
+'face 'message-header-name)
+   (overlay-put (make-overlay (point) (re-search-forward ".*$"))
+'face 'message-header-other

 (defun notmuch-show-markup-header (message-begin depth)
   "Buttonize and decorate faces in a message header.
-- 
1.6.5

-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: