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

Pieter Praet pieter at praet.org
Mon Jan 16 08:53:04 PST 2012


On Mon, 16 Jan 2012 11:45:13 +0000, David Edmondson <dme at dme.org> wrote:
> On Thu, 12 Jan 2012 18:23:45 +0100, Pieter Praet <pieter at 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


More information about the notmuch mailing list