unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jameson Rollins <jrollins@finestructure.net>
To: Notmuch Mail <notmuch@notmuchmail.org>
Subject: [PATCH 2/2] bind notmuch-search-date-restrict to 'S'
Date: Sun, 19 Dec 2010 22:54:40 -0500	[thread overview]
Message-ID: <1292817280-20999-3-git-send-email-jrollins@finestructure.net> (raw)
In-Reply-To: <1292817280-20999-1-git-send-email-jrollins@finestructure.net>

---
 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

      parent reply	other threads:[~2010-12-20  3:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20  3:54 new emacs function for date-restricted searches Jameson Rollins
2010-12-20  3:54 ` [PATCH 1/2] emacs function to perform a search with a look back time restriction Jameson Rollins
2010-12-20  3:54 ` Jameson Rollins [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1292817280-20999-3-git-send-email-jrollins@finestructure.net \
    --to=jrollins@finestructure.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).