* [PATCH] fontify date in header
@ 2010-01-22 15:45 Jameson Rollins
2010-04-07 17:24 ` Carl Worth
0 siblings, 1 reply; 2+ messages in thread
From: Jameson Rollins @ 2010-01-22 15:45 UTC (permalink / raw)
To: Notmuch Mail list
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fontify date in header
2010-01-22 15:45 [PATCH] fontify date in header Jameson Rollins
@ 2010-04-07 17:24 ` Carl Worth
0 siblings, 0 replies; 2+ messages in thread
From: Carl Worth @ 2010-04-07 17:24 UTC (permalink / raw)
To: Jameson Rollins, Notmuch Mail list
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
On Fri, 22 Jan 2010 10:45:53 -0500, Jameson Rollins <jrollins@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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-07 17:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 15:45 [PATCH] fontify date in header Jameson Rollins
2010-04-07 17:24 ` Carl Worth
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).