--- /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 arlo.cworth.org (Postfix) with ESMTP id 04B9B6DE0C51\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 01:08:20 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.863\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.863 tagged_above=-999 required=5 tests=[AWL=0.433, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,\r
+ FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id iOyiFIZQx7Po for <notmuch@notmuchmail.org>;\r
+ Sat, 13 Jun 2015 01:08:18 -0700 (PDT)\r
+Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com\r
+ [209.85.212.176])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id D72986DE0350\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 01:08:17 -0700 (PDT)\r
+Received: by wibut5 with SMTP id ut5so34351155wib.1\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 01:08:16 -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=AuK/HWZCAdf9DUcVTLpVUE1kdzlu90Bcv4StKPfwLTo=;\r
+ b=WkwTZQKm2LbLp4kcvN/FLQy1R++Y3s8eJWEq+/H+yaZ96AxAfzMSRIm4PUAl7lZsZ/\r
+ eyVPYveOqAssWssPni5M78+ri/23c6Muyutef3CkqXHYEUppmvNK4a5Z4hKBar0fQRRS\r
+ omyzCHWDEdvp4ju20NqZR+e72G8k91oaHqtNyEg2BCekYeLDrZ8PESQ8Z4MrCW/wSDSL\r
+ JYzpSjlVzLGtnzMBtIg7q8kol9NkySizXV9UAnJpkDfXLS2y7BJk5IXe6TEvg3gw5wne\r
+ Sg+wnVL5XYMLvbKA+IEKMHkZrRrCkrnyiOIxtyxV/KiAVf7i2BsdTuTsPAYuTYEyYGxW\r
+ 4w4w==\r
+X-Received: by 10.180.87.201 with SMTP id ba9mr13679377wib.73.1434182896216;\r
+ Sat, 13 Jun 2015 01:08:16 -0700 (PDT)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+ by mx.google.com with ESMTPSA id qq1sm4624473wjc.0.2015.06.13.01.08.15\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 13 Jun 2015 01:08:15 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v5 0/3] Add filter to emacs show mode\r
+Date: Sat, 13 Jun 2015 09:08:07 +0100\r
+Message-Id: <1434182890-8047-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 2.1.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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, 13 Jun 2015 08:08:20 -0000\r
+\r
+The previous version of this patch was over 3 years ago at\r
+id:1335658006-20161-1-git-send-email-markwalters1009@gmail.com\r
+\r
+The reason the patch stopped was that it marked messages read (removed\r
+the unread tag) spuriously (see Austin's review\r
+id:20120429005736.GK2704@mit.edu) and this was difficult to\r
+fix. However, now the unread handling has been updated this is no\r
+longer a problem. (More precisely, since the unread handling is done\r
+in the command loop hook the unread tag only gets updated after\r
+notmuch has displayed the final result.)\r
+\r
+There are two small questions with this version that I would\r
+appreciate views on. First it binds the filter/limit to l since f is\r
+already bound to forward in show mode. It changes the binding in\r
+search mode to match but that may annoy a lot of people who have got f\r
+for filter into muscle memory. If we prefer to leave the keybinding in\r
+search mode as it is then we can just drop the final patch.\r
+\r
+Secondly what should the behaviour be if the user just gives and empty\r
+filter query? This patch just opens all messages in the thread (ie it\r
+treats the query as matching everything). Alternatively, it could just\r
+exit without refreshing the buffer in that case.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+Mark Walters (3):\r
+ emacs: split notmuch-show-apply-state\r
+ emacs: add a filter option to show\r
+ emacs: Bind filter in search to 'l'\r
+\r
+ emacs/notmuch-show.el | 30 +++++++++++++++++++++++-------\r
+ emacs/notmuch.el | 4 ++--\r
+ 2 files changed, 25 insertions(+), 9 deletions(-)\r
+\r
+-- \r
+2.1.4\r
+\r