[PATCH 2/2] bind notmuch-search-date-restrict to 'S'

Jameson Rollins jrollins at finestructure.net
Sun Dec 19 19:54:40 PST 2010


---
 emacs/notmuch-show.el |    1 +
 emacs/notmuch.el      |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 3a60d43..e1ace7c 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -579,6 +579,7 @@ function is used. "
 	(define-key map (kbd "<backtab>") 'notmuch-show-previous-button)
 	(define-key map (kbd "TAB") 'notmuch-show-next-button)
 	(define-key map "s" 'notmuch-search)
+	(define-key map "S" 'notmuch-search-date-restrict)
 	(define-key map "m" 'notmuch-mua-mail)
 	(define-key map "f" 'notmuch-show-forward-message)
 	(define-key map "r" 'notmuch-show-reply)
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 763d517..af5e310 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -206,6 +206,7 @@ For a mouse binding, return nil."
     (define-key map "r" 'notmuch-search-reply-to-thread)
     (define-key map "m" 'notmuch-mua-mail)
     (define-key map "s" 'notmuch-search)
+    (define-key map "S" 'notmuch-search-date-restrict)
     (define-key map "o" 'notmuch-search-toggle-order)
     (define-key map "c" 'notmuch-search-stash-map)
     (define-key map "=" 'notmuch-search-refresh-view)
-- 
1.7.2.3



More information about the notmuch mailing list