From: Mark Walters <markwalters1009@gmail.com>
Date: Sat, 13 Jun 2015 08:08:10 +0000 (+0100)
Subject: emacs: Bind filter in search to 'l'
X-Git-Tag: 0.22_rc0~59
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=7edba1d17d45a3f8bdc25ca22efeaf309bc87da6;p=notmuch

emacs: Bind filter in search to 'l'

Change the key binding for filter (or "limit") in search-mode. This
gives consistency with the new filter in show-mode, and frees 'f' for
forward-thread in the future.
---

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 463b9262..5bf99846 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -162,7 +162,7 @@ there will be called at other points of notmuch execution."
     (define-key map "o" 'notmuch-search-toggle-order)
     (define-key map "c" 'notmuch-search-stash-map)
     (define-key map "t" 'notmuch-search-filter-by-tag)
-    (define-key map "f" 'notmuch-search-filter)
+    (define-key map "l" 'notmuch-search-filter)
     (define-key map [mouse-1] 'notmuch-search-show-thread)
     (define-key map "*" 'notmuch-search-tag-all)
     (define-key map "a" 'notmuch-search-archive-thread)
@@ -988,7 +988,7 @@ Enclose QUERY-STRING in parentheses if it matches
     query-string))
 
 (defun notmuch-search-filter (query)
-  "Filter the current search results based on an additional query string.
+  "Filter or LIMIT the current search results based on an additional query string.
 
 Runs a new search matching only messages that match both the
 current search results AND the additional query string provided."