Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CE09B41A559 for ; Sun, 19 Dec 2010 19:54:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dlgKJpv7zQr0 for ; Sun, 19 Dec 2010 19:54:50 -0800 (PST) Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7]) by olra.theworths.org (Postfix) with ESMTP id 78FA841A558 for ; Sun, 19 Dec 2010 19:54:48 -0800 (PST) Received: from servo.finestructure.net (cpe-74-66-82-137.nyc.res.rr.com [74.66.82.137]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by tarap.cc.columbia.edu (8.14.4/8.14.3) with ESMTP id oBK3skLS009707 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sun, 19 Dec 2010 22:54:47 -0500 (EST) Received: from jrollins by servo.finestructure.net with local (Exim 4.72) (envelope-from ) id 1PUWpi-00066e-Hp; Sun, 19 Dec 2010 22:54:46 -0500 From: Jameson Rollins To: Notmuch Mail Subject: [PATCH 2/2] bind notmuch-search-date-restrict to 'S' Date: Sun, 19 Dec 2010 22:54:40 -0500 Message-Id: <1292817280-20999-3-git-send-email-jrollins@finestructure.net> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1292817280-20999-1-git-send-email-jrollins@finestructure.net> References: <1292817280-20999-1-git-send-email-jrollins@finestructure.net> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.7 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 03:54:52 -0000 --- 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 "") '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