[PATCH] emacs: Re-work the implementation of highlighting in notmuch-search-mode.

Carl Worth cworth at cworth.org
Fri Oct 29 15:33:28 PDT 2010


On Mon,  7 Jun 2010 15:35:10 +0100, David Edmondson <dme at dme.org> wrote:
> Re-write `notmuch-search-color-line', with the following improvements:
>  - create overlays only if they will be needed,
>  - merge the properties specified for a tag on top of any matching a
>    previous tag.
...
> +The attributes defined for matching tags are merged, with later
> +attributes overriding earlier. A message having both \"delete\"
> +and \"unread\" tags with the above settings would have a green
> +foreground and blue background."

Thanks David,

That looks like a very useful change. All pushed now.

(Though I don't yet have any automated tests to cover colors in emacs
buffers. Anyone care to cook something up?)

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101029/d3db8a4e/attachment.pgp>


More information about the notmuch mailing list