--- /dev/null
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id BAB05431FAF\r
+ for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 12:21:39 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id FrjgYtvnlKtl for <notmuch@notmuchmail.org>;\r
+ Sat, 14 Apr 2012 12:21:39 -0700 (PDT)\r
+Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com\r
+ [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 02BF4431FAE for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 12:21:38 -0700\r
+ (PDT)\r
+Received: by wgbdt14 with SMTP id dt14so3342563wgb.2\r
+ for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 12:21:37 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id:x-mailer;\r
+ bh=sMKGU8UpV2xfb8NOm7cpB03IydXvhv8dX/6KhN2c9Ok=;\r
+ b=v/s6+tLmgv1quCD0eGyfUOq8f+C+pCaXMiRdqOGJwRLmpzoAvVu6NhGGs7EhKWSe0Z\r
+ BS3RLxKdlagt+BoSRlnrDrGLIinlxQw2PZgkeyepjEUIdmEPrs78ObPiBaHFgM1aYYZR\r
+ 1kv/I190+3FtFPbeGp5Cb/1pX99L3QA7lZXZD9J1RL+FyYc22y8yfNYOf6d4BjQZjUxh\r
+ DvNndoLsjRBMtriYtUZBI3z6E1NEgG5CDnpfKC3mDlYs7zmPMYdFyWhjX6GJjzaJUFO9\r
+ OfChnN2bUt7MwCVy/QAp6O8EA5RC+ZH5by+cS5HCAKrPlzag+J73YJNLh14ldp+G7dH4\r
+ a4FQ==\r
+Received: by 10.180.78.40 with SMTP id y8mr5931055wiw.15.1334431297492;\r
+ Sat, 14 Apr 2012 12:21:37 -0700 (PDT)\r
+Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
+ [94.192.233.223]) by mx.google.com with ESMTPS id\r
+ k6sm6609027wiy.7.2012.04.14.12.21.36 (version=TLSv1/SSLv3 cipher=OTHER); Sat,\r
+ 14 Apr 2012 12:21:36 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] emacs: allow show to colour based on tags and flags\r
+Date: Sat, 14 Apr 2012 20:21:38 +0100\r
+Message-Id: <1334431301-27303-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 14 Apr 2012 19:21:39 -0000\r
+\r
+These three patches allow emacs to colour the headerline in show mode\r
+according to the messages tags and flags (ie match or excluded).\r
+\r
+The first two are David Edmondson's patch\r
+id:"1325006003-27152-1-git-send-email-dme@dme.org" rebased to master\r
+and split into one which is trivial code movement and one which adds\r
+the show colouring functionality.\r
+\r
+The first two give a very similar result to notmuch-search-line-faces\r
+and just allow colouring based on tags (not flags). The final one adds\r
+the colouring by flag: it does this by passing to the line colouring\r
+code a list of tags prefixed by "tag:" and flags prefixed by "flag:"\r
+\r
+The final patch could be folded into the second, and this would somewhat reduce the diff. \r
+\r
+Mark Walters (3):\r
+ emacs: Move colour line from search to lib\r
+ emacs: Add `notmuch-show-line-faces' and apply it.\r
+ emacs: allow notmuch-show-line-faces to use flags for colouring\r
+\r
+ emacs/notmuch-lib.el | 18 ++++++++++++++++++\r
+ emacs/notmuch-show.el | 44 ++++++++++++++++++++++++++++++++++++++++----\r
+ emacs/notmuch.el | 15 +--------------\r
+ 3 files changed, 59 insertions(+), 18 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r