From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 20DF7431FDA for ; Tue, 3 Sep 2013 14:46:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 v+vPPLhyroBg for ; Tue, 3 Sep 2013 14:45:59 -0700 (PDT) Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu [18.7.68.34]) by olra.theworths.org (Postfix) with ESMTP id 2EBE0431FD6 for ; Tue, 3 Sep 2013 14:45:42 -0700 (PDT) X-AuditID: 12074422-b7ef78e000000935-22-522658852424 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id 2E.AC.02357.58856225; Tue, 3 Sep 2013 17:45:41 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id r83LjUwH023527; Tue, 3 Sep 2013 17:45:31 -0400 Received: from drake.dyndns.org (26-4-182.dynamic.csail.mit.edu [18.26.4.182]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r83LjRlW026858 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 3 Sep 2013 17:45:28 -0400 Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1VGyPe-0004xv-TY; Tue, 03 Sep 2013 17:45:26 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH v2 3/9] emacs: Bind "s" to notmuch-search in hello-mode Date: Tue, 3 Sep 2013 17:45:19 -0400 Message-Id: <1378244725-18846-4-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1378244725-18846-1-git-send-email-amdragon@mit.edu> References: <1378244725-18846-1-git-send-email-amdragon@mit.edu> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGIsWRmVeSWpSXmKPExsUixCmqrdsaoRZkMPuEqUXTdGeL1XN5LK7f nMnswOyxc9Zddo9b91+zezxbdYs5gDmKyyYlNSezLLVI3y6BK6PtawNzwT+Oilcv5jI2MK5l 72Lk5JAQMJFY2T2ZGcIWk7hwbz1bFyMXh5DAPkaJNR9PMUI4GxglDrXvZoVwDjNJLPp3khnC mcso8XjSc7B+NgENiW37lzOC2CIC0hI7785mBbGZBaIljlyewQZiCwu4S/xtXQxmswioSvxr mABm8wo4SBy+/QvqDkWJ7mcQcU4BR4neBYvAbhUCqmlaeZl9AiP/AkaGVYyyKblVurmJmTnF qcm6xcmJeXmpRbqmermZJXqpKaWbGEHBxe6itIPx50GlQ4wCHIxKPLwMj1SDhFgTy4orcw8x SnIwKYnyHglVCxLiS8pPqcxILM6ILyrNSS0+xCjBwawkwpvgA5TjTUmsrEotyodJSXOwKInz Pnt6NlBIID2xJDU7NbUgtQgmK8PBoSTBWx4O1ChYlJqeWpGWmVOCkGbi4AQZzgM0/GcYyPDi gsTc4sx0iPwpRkUpcd75IM0CIImM0jy4Xlj0v2IUB3pFmLcHpIoHmDjgul8BDWYCGpz2WRVk cEkiQkqqgdFdoXn6ped8SWkBVukr4/JSxWefDtv11vqvrNjnM9kVIufmZGx0eTBtxSSe14Vv xJYdaUi7c2RV9+UdVi2RcW3zfxofy5kmcj7YmEVNNcMwKbcx2zQx91Of+tRo3cLWecfuSLzj dbzNncS569zmkF2O4r23Pf5MKPzY9OeMYEy5hNnrxTYn/yixFGckGmoxFxUnAgD0b7ZP2QIA AA== 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: Tue, 03 Sep 2013 21:46:05 -0000 Since there is now no difference between notmuch-hello-search and notmuch-search when called interactively, bind "s" to notmuch-search in notmuch-hello-mode-map. Now all modes bind "s" this way. --- emacs/notmuch-hello.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 24ac1c6..94cc4b5 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -263,7 +263,6 @@ afterwards.") search)) (defun notmuch-hello-search (&optional search) - (interactive) (unless (null search) (setq search (notmuch-hello-trim search)) (let ((history-delete-duplicates t)) @@ -533,7 +532,7 @@ Such a list can be computed with `notmuch-hello-query-counts'." (define-key map "G" 'notmuch-hello-poll-and-update) (define-key map (kbd "") 'widget-backward) (define-key map "m" 'notmuch-mua-new-mail) - (define-key map "s" 'notmuch-hello-search) + (define-key map "s" 'notmuch-search) map) "Keymap for \"notmuch hello\" buffers.") (fset 'notmuch-hello-mode-map notmuch-hello-mode-map) -- 1.7.10.4