These three patches allow emacs to colour the headerline in show mode according to the messages tags and flags (ie match or excluded).
The first two are David Edmondson's patch id:"1325006003-27152-1-git-send-email-...@dme.org" rebased to master and split into one which is trivial code movement and one which adds the show colouring functionality. The first two give a very similar result to notmuch-search-line-faces and just allow colouring based on tags (not flags). The final one adds the colouring by flag: it does this by passing to the line colouring code a list of tags prefixed by "tag:" and flags prefixed by "flag:" The final patch could be folded into the second, and this would somewhat reduce the diff. Mark Walters (3): emacs: Move colour line from search to lib emacs: Add `notmuch-show-line-faces' and apply it. emacs: allow notmuch-show-line-faces to use flags for colouring emacs/notmuch-lib.el | 18 ++++++++++++++++++ emacs/notmuch-show.el | 44 ++++++++++++++++++++++++++++++++++++++++---- emacs/notmuch.el | 15 +-------------- 3 files changed, 59 insertions(+), 18 deletions(-) -- 1.7.9.1 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch