[PATCH v2 2/2] emacs: Bind filter in search to 'l'
authorMark Walters <markwalters1009@gmail.com>
Wed, 25 Apr 2012 17:12:34 +0000 (18:12 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:44 +0000 (09:46 -0800)
44/fb8873e91ef52edef5e2f7b5f99742d003ae5e [new file with mode: 0644]

diff --git a/44/fb8873e91ef52edef5e2f7b5f99742d003ae5e b/44/fb8873e91ef52edef5e2f7b5f99742d003ae5e
new file mode 100644 (file)
index 0000000..b166f1f
--- /dev/null
@@ -0,0 +1,94 @@
+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 03661431FBF\r
+       for <notmuch@notmuchmail.org>; Wed, 25 Apr 2012 10:12:41 -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 KFPNFuD4T9on for <notmuch@notmuchmail.org>;\r
+       Wed, 25 Apr 2012 10:12:39 -0700 (PDT)\r
+Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com\r
+       [209.85.212.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 2B196431FBD\r
+       for <notmuch@notmuchmail.org>; Wed, 25 Apr 2012 10:12:36 -0700 (PDT)\r
+Received: by wibhn6 with SMTP id hn6so268024wib.2\r
+       for <notmuch@notmuchmail.org>; Wed, 25 Apr 2012 10:12:34 -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:in-reply-to:references;\r
+       bh=PW1PqFKK3k/erqZ/ZHv25+PB5uoVb2XeCxzkculYJJA=;\r
+       b=S5hW+hbzQWy1SqbiLmqSqris54+hQ+dzI/E0qDWmt/Cn3CxgKLGji37uByy19OLhBb\r
+       vOsQo+PyNAyRHV/gI8vN8JDoETCp3gQSQeeruiZoRwInQdQzZzN3sBdqI8TWUQQpDUDR\r
+       Q4DaP2voNUCImATGD9by3VMfTFTW3qxreSURrIjIylyIJdd4SorDkxGP2puNgyzKmCMY\r
+       atBfAbGO+RIACFLkmh7fNJK+Ih0uwivO13g3SR78BT/jkcYhFvSOnVEHttBLk8jmPgAh\r
+       fUOyNfrQ4hwLyWLJ7NWunyVJU9o4uaxjx06lBF5dk7NHaPi5QCDrq/UPHxtn2kaAYzCO\r
+       XFVA==\r
+Received: by 10.216.131.34 with SMTP id l34mr2093475wei.54.1335373954880;\r
+       Wed, 25 Apr 2012 10:12:34 -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
+ l5sm38508505wia.11.2012.04.25.10.12.33        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 25 Apr 2012 10:12:34 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 2/2] emacs: Bind filter in search to 'l'\r
+Date: Wed, 25 Apr 2012 18:12:34 +0100\r
+Message-Id: <1335373954-4578-3-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1335373954-4578-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1335373954-4578-1-git-send-email-markwalters1009@gmail.com>\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: Wed, 25 Apr 2012 17:12:41 -0000\r
+\r
+Change the key binding for filter (or "limit") in search-mode. This\r
+gives consistency with the new filter in show-mode, and frees 'f' for\r
+forward-thread in the future.\r
+---\r
+ emacs/notmuch.el |    4 ++--\r
+ 1 files changed, 2 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+index 736d00f..3df826c 100644\r
+--- a/emacs/notmuch.el\r
++++ b/emacs/notmuch.el\r
+@@ -286,7 +286,7 @@ For a mouse binding, return nil."\r
+     (define-key map "=" 'notmuch-search-refresh-view)\r
+     (define-key map "G" 'notmuch-search-poll-and-refresh-view)\r
+     (define-key map "t" 'notmuch-search-filter-by-tag)\r
+-    (define-key map "f" 'notmuch-search-filter)\r
++    (define-key map "l" 'notmuch-search-filter)\r
+     (define-key map [mouse-1] 'notmuch-search-show-thread)\r
+     (define-key map "*" 'notmuch-search-tag-all)\r
+     (define-key map "a" 'notmuch-search-archive-thread)\r
+@@ -1095,7 +1095,7 @@ search."\r
+   (notmuch-search-refresh-view))\r
+ \r
+ (defun notmuch-search-filter (query)\r
+-  "Filter the current search results based on an additional query string.\r
++  "Filter or LIMIT the current search results based on an additional query string.\r
+ \r
+ Runs a new search matching only messages that match both the\r
+ current search results AND the additional query string provided."\r
+-- \r
+1.7.9.1\r
+\r