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

David Edmondson dme at dme.org
Mon Jan 16 03:45:13 PST 2012


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 (we're up to two
'notmuch' invocations for a missing or read message).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120116/b16fd3ac/attachment.pgp>


More information about the notmuch mailing list