* [PATCH] notmuch.el: Decorate 'Date:' headers with the message-header-other face when visible.
@ 2010-02-10 11:38 David Edmondson
2010-02-10 11:55 ` Sebastian Spaeth
0 siblings, 1 reply; 4+ messages in thread
From: David Edmondson @ 2010-02-10 11:38 UTC (permalink / raw)
To: notmuch
---
notmuch.el | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index c0bb552..bd721a0 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -816,7 +816,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.6.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] notmuch.el: Decorate 'Date:' headers with the message-header-other face when visible.
2010-02-10 11:38 [PATCH] notmuch.el: Decorate 'Date:' headers with the message-header-other face when visible David Edmondson
@ 2010-02-10 11:55 ` Sebastian Spaeth
2010-02-10 12:05 ` David Edmondson
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Spaeth @ 2010-02-10 11:55 UTC (permalink / raw)
To: notmuch
On Wed, 10 Feb 2010 11:38:54 +0000, David Edmondson <dme@dme.org> wrote:
> [Patch to fontify date]
You do realize that your patch is identical to the one in
id:874omet1su.fsf@servo.finestructure.net (Jan 22)? :-)
Applying this would be nice in any case,
Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] notmuch.el: Decorate 'Date:' headers with the message-header-other face when visible.
2010-02-10 11:55 ` Sebastian Spaeth
@ 2010-02-10 12:05 ` David Edmondson
2010-02-10 14:57 ` Jameson Rollins
0 siblings, 1 reply; 4+ messages in thread
From: David Edmondson @ 2010-02-10 12:05 UTC (permalink / raw)
To: Sebastian Spaeth, notmuch
On Wed, 10 Feb 2010 12:55:49 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> On Wed, 10 Feb 2010 11:38:54 +0000, David Edmondson <dme@dme.org> wrote:
> > [Patch to fontify date]
>
> You do realize that your patch is identical to the one in
> id:874omet1su.fsf@servo.finestructure.net (Jan 22)? :-)
I didn't! My apologies to Jameson.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] notmuch.el: Decorate 'Date:' headers with the message-header-other face when visible.
2010-02-10 12:05 ` David Edmondson
@ 2010-02-10 14:57 ` Jameson Rollins
0 siblings, 0 replies; 4+ messages in thread
From: Jameson Rollins @ 2010-02-10 14:57 UTC (permalink / raw)
To: David Edmondson, Sebastian Spaeth, notmuch
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
On Wed, 10 Feb 2010 12:05:02 +0000, David Edmondson <dme@dme.org> wrote:
> On Wed, 10 Feb 2010 12:55:49 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> > On Wed, 10 Feb 2010 11:38:54 +0000, David Edmondson <dme@dme.org> wrote:
> > > [Patch to fontify date]
> >
> > You do realize that your patch is identical to the one in
> > id:874omet1su.fsf@servo.finestructure.net (Jan 22)? :-)
>
> I didn't! My apologies to Jameson.
No worries. Hopefully Carl will get caught up on the patch backlog
soon, which will probably help reduce duplicate efforts.
This is probably a good argument for having a more easily browsable
patch queue, so people can see what's already in there before the put in
too much work.
jamie.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-10 14:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 11:38 [PATCH] notmuch.el: Decorate 'Date:' headers with the message-header-other face when visible David Edmondson
2010-02-10 11:55 ` Sebastian Spaeth
2010-02-10 12:05 ` David Edmondson
2010-02-10 14:57 ` Jameson Rollins
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).