Re: [PATCH 3/3] emacs: colorize buttonized 'id:' links depending on the target message's state

Subject: Re: [PATCH 3/3] emacs: colorize buttonized 'id:' links depending on the target message's state

Date: Mon, 16 Jan 2012 17:53:04 +0100

To: David Edmondson, Jameson Graef Rollins

Cc: Notmuch Mail

From: Pieter Praet


On Mon, 16 Jan 2012 11:45:13 +0000, David Edmondson <dme@dme.org> wrote:
> On Thu, 12 Jan 2012 18:23:45 +0100, Pieter Praet <pieter@praet.org> wrote:
> > +			'face (cond
> > +			       ((notmuch-show-found-target-p message-id t)
> > +				'notmuch-show-buttonized-link-present-and-unread)
> > +			       ((notmuch-show-found-target-p message-id)
> > +				'notmuch-show-buttonized-link-present)
> > +			       (t 'notmuch-show-buttonized-link-missing)))))))
> 
> I like it, but worry a bit more about the performance [...]

Rightly so :)

> [...] (we're up to two
> 'notmuch' invocations for a missing or read message).

I'll at least add an option to toggle it.

Patch follows.


Peace

-- 
Pieter

Thread: