[Patch v3 2/2] emacs: Bind filter in search to 'l'
authorMark Walters <markwalters1009@gmail.com>
Thu, 26 Apr 2012 19:14:49 +0000 (20:14 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:45 +0000 (09:46 -0800)
b0/84ecf068c8b4212922e1e8580e0b8049533dc4 [new file with mode: 0644]

diff --git a/b0/84ecf068c8b4212922e1e8580e0b8049533dc4 b/b0/84ecf068c8b4212922e1e8580e0b8049533dc4
new file mode 100644 (file)
index 0000000..881a991
--- /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 559B6431FD6\r
+       for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 12:14:54 -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 71XlMybJKjFh for <notmuch@notmuchmail.org>;\r
+       Thu, 26 Apr 2012 12:14:53 -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
+ 24542431FB6   for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 12:14:48 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f45.google.com with SMTP id dt14so1309995wgb.2\r
+       for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 12:14: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:x-mailer:in-reply-to:references;\r
+       bh=PW1PqFKK3k/erqZ/ZHv25+PB5uoVb2XeCxzkculYJJA=;\r
+       b=NBOfhoy0Y5HutB86yuESfSOyH0yAaNkza2sPGmu5l1TXaLwY78wbobGU1GTpI7fHj6\r
+       tlUVe3ekqYq9RZpQoHH85TKKzhZsD3It8vQjMEdvvcrW/5x7qqUdNLQ6YHkCoDSYeEwH\r
+       XPRLsSsqDH8FJWwLGBoH4/Yom2MHjs4zxjbIZ/vo9bset4/A+b4KHBR8Km52Ljasp3IT\r
+       A5Xj4J/ZxkNQBz2NcuwAJCARWLjFPVBJW7W1OdyyLOaOPWPjZDxPYSUzFHpBc/4circ8\r
+       S2cf3UQVSb0AhEPYmr+vc4AmsaJqEBx6Xa+JWOFQYbp0h8bI9KQQki4h6RTFsdsd+0yE\r
+       /e9Q==\r
+Received: by 10.180.24.35 with SMTP id r3mr2131012wif.7.1335467688847;\r
+       Thu, 26 Apr 2012 12:14:48 -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
+ fz9sm46642589wib.3.2012.04.26.12.14.47        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 26 Apr 2012 12:14:48 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [Patch v3 2/2] emacs: Bind filter in search to 'l'\r
+Date: Thu, 26 Apr 2012 20:14:49 +0100\r
+Message-Id: <1335467689-6513-3-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1335467689-6513-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1335467689-6513-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: Thu, 26 Apr 2012 19:14:54 -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