--- /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 F274E431FC7\r
+ for <notmuch@notmuchmail.org>; Sun, 11 May 2014 01:34:56 -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 n+J9OUTTmE05 for <notmuch@notmuchmail.org>;\r
+ Sun, 11 May 2014 01:34:51 -0700 (PDT)\r
+Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com\r
+ [74.125.82.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 49364431FBF for <notmuch@notmuchmail.org>; Sun, 11 May 2014 01:34:51 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f52.google.com with SMTP id l18so5523578wgh.11\r
+ for <notmuch@notmuchmail.org>; Sun, 11 May 2014 01:34:48 -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;\r
+ bh=8lw7/M0IURF1esWQ67wsSOFULHon1d+1qmX6704AFz8=;\r
+ b=CXM8GUL58OTt8OyXlh3QVQh1yrWcc7uHcnbzPwrOe5g7ZaJSoG3PcCWr3VRRhya3NE\r
+ TPiL8GhChD1wV4sVLhf1J0iYKXXPzhtahzUrRne1ZP/qzOXAsWEIqK8yaid+7R5I8qR7\r
+ tGIp09Ub8ulQ5TpFkze3brv5zgMiIISNYw0Ir3zrtzhKfL+dj8tNZNWhjR5H3NKfTi6l\r
+ 8ulajNza62QANIMUD4DzdprDlTPLyqsqnI5FeGVO8jQiwyCPWzy71nWhw00CAw4YODvW\r
+ /vhdHP1F3FjLcunaMAGM+MvYNQR/9SKgzdsrD/NzVvYwzU7J4lGegTDV8ptNHtmHgoAc\r
+ Qgnw==\r
+X-Received: by 10.194.80.7 with SMTP id n7mr16288047wjx.8.1399797287730;\r
+ Sun, 11 May 2014 01:34:47 -0700 (PDT)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+ by mx.google.com with ESMTPSA id ln3sm12752930wjc.8.2014.05.11.01.34.46\r
+ for <multiple recipients>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Sun, 11 May 2014 01:34:46 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/7] emacs: hello: custom display of saved searches\r
+Date: Sun, 11 May 2014 09:34:35 +0100\r
+Message-Id: <1399797282-20389-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.10.4\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: Sun, 11 May 2014 08:34:57 -0000\r
+\r
+This series allows the user to customize the display of individual\r
+saved searches, including showing thread counts, changed counts,\r
+omitting counts (for speed), a read/unread count etc.\r
+\r
+The series is not as large as it looks. Patch 1 is just code movement,\r
+and patches 4-7 implement some of the above possibilities. Patches 4-7\r
+could be applied but they are more intended to demonstrate and let\r
+people test the infrastructure (ie showing what can be done).\r
+\r
+Comments on the series: \r
+\r
+the display function is given a keyword list of arguments (so use\r
+&rest args, followed by (plist-get args :keyword)). This is to make\r
+the interface easily extendible without breaking backwards\r
+compatibility.\r
+\r
+custom display functions do not link into the batch count\r
+functionality (but are omitted from it). Thus if the custom function\r
+doesn't always do a query hello may be quicker, but in other cases,\r
+particularly over a remote link, it may be slower.\r
+\r
+some custom display functions will be slow, but they may be fast\r
+enough for small searches (eg inbox).\r
+\r
+Finally, a lisp query: I use a plist for saving the results of the\r
+previous run (so display functions can highlight changes). This is\r
+indexed by the saved searches themselves. I think this is OK (because\r
+plist uses eq not equal) but would like a confirmation.\r
+\r
+Finally, some of this infrastructure could be used to do async counts\r
+at a later stage. I have some preliminary patches, but that is all\r
+rather more fragile.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+\r
+Mark Walters (7):\r
+ emacs: hello: separate out the saved-search display function\r
+ emacs: hello: allow saved search display functions\r
+ emacs: hello: store previous saved-search results\r
+ emacs: hello: add a threads-and-messages function\r
+ emacs: hello: require cl\r
+ emacs: hello: add highlight newly arrived messages option\r
+ emacs: hello: add option to omit count for a search\r
+\r
+ emacs/notmuch-hello.el | 139 ++++++++++++++++++++++++++++++++++++++----------\r
+ 1 file changed, 111 insertions(+), 28 deletions(-)\r
+\r
+-- \r
+1.7.10.4\r
+\r