--- /dev/null
+Return-Path: <amdragon@mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 1B02E429E32\r
+ for <notmuch@notmuchmail.org>; Thu, 29 Aug 2013 09:26:25 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 3vaJoy4zrgmA for <notmuch@notmuchmail.org>;\r
+ Thu, 29 Aug 2013 09:26:20 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu\r
+ [18.9.25.13])\r
+ by olra.theworths.org (Postfix) with ESMTP id 57653431FD0\r
+ for <notmuch@notmuchmail.org>; Thu, 29 Aug 2013 09:26:08 -0700 (PDT)\r
+X-AuditID: 1209190d-b7f078e000000937-d0-521f761e8feb\r
+Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
+ by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP\r
+ id A0.0B.02359.E167F125; Thu, 29 Aug 2013 12:26:06 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+ by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id r7TGQ3k9015739; \r
+ Thu, 29 Aug 2013 12:26:04 -0400\r
+Received: from drake.dyndns.org\r
+ (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
+ [216.15.114.40]) (authenticated bits=0)\r
+ (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+ by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r7TGQ1UW015006\r
+ (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+ Thu, 29 Aug 2013 12:26:02 -0400\r
+Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
+ (envelope-from <amdragon@mit.edu>)\r
+ id 1VF52n-0007X5-7G; Thu, 29 Aug 2013 12:26:01 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 9/9] emacs: Move ?, q, s, m, =, and G to the common keymap\r
+Date: Thu, 29 Aug 2013 12:25:57 -0400\r
+Message-Id: <1377793557-28878-10-git-send-email-amdragon@mit.edu>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <1377793557-28878-1-git-send-email-amdragon@mit.edu>\r
+References: <1377793557-28878-1-git-send-email-amdragon@mit.edu>\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsUixCmqrStXJh9k0L1By+L6zZnMDowez1bd\r
+ Yg5gjOKySUnNySxLLdK3S+DKeHz5N0vBX+WKyTNOMzcw/pLtYuTkkBAwkTi79R87hC0mceHe\r
+ erYuRi4OIYF9jBLnzn9kh3A2MkocubGQFcK5wyRx7NN7KGcuo8TDOR+ZQPrZBDQktu1fzghi\r
+ iwhIS+y8OxuoiIODWUBN4k+XCkhYWMBL4tOZu2wgNouAqkTLsQNgNq+Ao8TR+a+YIc5QlOh+\r
+ NgEszgkU77/7lgXEFhJwkPhz8Sn7BEb+BYwMqxhlU3KrdHMTM3OKU5N1i5MT8/JSi3SN9HIz\r
+ S/RSU0o3MYLDRpJ3B+O7g0qHGAU4GJV4eB8GywcJsSaWFVfmHmKU5GBSEuUNLAEK8SXlp1Rm\r
+ JBZnxBeV5qQWH2KU4GBWEuF9ywmU401JrKxKLcqHSUlzsCiJ8z59ejZQSCA9sSQ1OzW1ILUI\r
+ JivDwaEkwRtfCtQoWJSanlqRlplTgpBm4uAEGc4DNNwKpIa3uCAxtzgzHSJ/ilFRSpzXDCQh\r
+ AJLIKM2D64XF9StGcaBXhHnDQKp4gCkBrvsV0GAmoMET8uVABpckIqSkGhjjr+j80F4qMOW0\r
+ xt1jK/VrLSMNN19askPd7uu9MGOrK2ekf/JeXC+Q9lGmRnnCfevn/V3/LmfedNZP7JmY8uef\r
+ 1R52k6dfPRn7jLZ5LWw8tuT0//YzIU5ieQti5GIns72+5px+ScRGfV5HTdaFCC9lBuHKnFe1\r
+ OU6eRqW7F5/x/iHF8EmCXU6JpTgj0VCLuag4EQA6kiRexgIAAA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 29 Aug 2013 16:26:25 -0000\r
+\r
+The only user-visible effect of this should be that "G" now works in\r
+show mode (previously it was unbound for no apparent reason).\r
+---\r
+ emacs/notmuch-hello.el | 6 ------\r
+ emacs/notmuch-lib.el | 6 ++++++\r
+ emacs/notmuch-show.el | 5 -----\r
+ emacs/notmuch.el | 6 ------\r
+ 4 files changed, 6 insertions(+), 17 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+index 7a31d73..1d6c3a2 100644\r
+--- a/emacs/notmuch-hello.el\r
++++ b/emacs/notmuch-hello.el\r
+@@ -520,13 +520,7 @@ Such a list can be computed with `notmuch-hello-query-counts'."\r
+ (set-keymap-parent map notmuch-common-keymap)\r
+ (define-key map "v" (lambda () "Display the notmuch version" (interactive)\r
+ (message "notmuch version %s" (notmuch-version))))\r
+- (define-key map "?" 'notmuch-help)\r
+- (define-key map "q" 'notmuch-kill-this-buffer)\r
+- (define-key map "=" 'notmuch-refresh-this-buffer)\r
+- (define-key map "G" 'notmuch-poll-and-refresh-this-buffer)\r
+ (define-key map (kbd "<C-tab>") 'widget-backward)\r
+- (define-key map "m" 'notmuch-mua-new-mail)\r
+- (define-key map "s" 'notmuch-search)\r
+ map)\r
+ "Keymap for \"notmuch hello\" buffers.")\r
+ (fset 'notmuch-hello-mode-map notmuch-hello-mode-map)\r
+diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
+index 2bf1d2f..58f3313 100644\r
+--- a/emacs/notmuch-lib.el\r
++++ b/emacs/notmuch-lib.el\r
+@@ -130,6 +130,12 @@ For example, if you wanted to remove an \"inbox\" tag and add an\r
+ \r
+ (defvar notmuch-common-keymap\r
+ (let ((map (make-sparse-keymap)))\r
++ (define-key map "?" 'notmuch-help)\r
++ (define-key map "q" 'notmuch-kill-this-buffer)\r
++ (define-key map "s" 'notmuch-search)\r
++ (define-key map "m" 'notmuch-mua-new-mail)\r
++ (define-key map "=" 'notmuch-refresh-this-buffer)\r
++ (define-key map "G" 'notmuch-poll-and-refresh-this-buffer)\r
+ map)\r
+ "Keymap shared by all notmuch modes.")\r
+ \r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index 9f67340..9d8b785 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -1265,14 +1265,10 @@ reset based on the original query."\r
+ (defvar notmuch-show-mode-map\r
+ (let ((map (make-sparse-keymap)))\r
+ (set-keymap-parent map notmuch-common-keymap)\r
+- (define-key map "?" 'notmuch-help)\r
+- (define-key map "q" 'notmuch-kill-this-buffer)\r
+ (define-key map (kbd "<C-tab>") 'widget-backward)\r
+ (define-key map (kbd "M-TAB") 'notmuch-show-previous-button)\r
+ (define-key map (kbd "<backtab>") 'notmuch-show-previous-button)\r
+ (define-key map (kbd "TAB") 'notmuch-show-next-button)\r
+- (define-key map "s" 'notmuch-search)\r
+- (define-key map "m" 'notmuch-mua-new-mail)\r
+ (define-key map "f" 'notmuch-show-forward-message)\r
+ (define-key map "r" 'notmuch-show-reply-sender)\r
+ (define-key map "R" 'notmuch-show-reply)\r
+@@ -1280,7 +1276,6 @@ reset based on the original query."\r
+ (define-key map "w" 'notmuch-show-save-attachments)\r
+ (define-key map "V" 'notmuch-show-view-raw-message)\r
+ (define-key map "c" 'notmuch-show-stash-map)\r
+- (define-key map "=" 'notmuch-refresh-this-buffer)\r
+ (define-key map "h" 'notmuch-show-toggle-visibility-headers)\r
+ (define-key map "*" 'notmuch-show-tag-all)\r
+ (define-key map "-" 'notmuch-show-remove-tag)\r
+diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+index e098bd7..4de6229 100644\r
+--- a/emacs/notmuch.el\r
++++ b/emacs/notmuch.el\r
+@@ -199,8 +199,6 @@ first line of documentation for the bound function."\r
+ (defvar notmuch-search-mode-map\r
+ (let ((map (make-sparse-keymap)))\r
+ (set-keymap-parent map notmuch-common-keymap)\r
+- (define-key map "?" 'notmuch-help)\r
+- (define-key map "q" 'notmuch-kill-this-buffer)\r
+ (define-key map "x" 'notmuch-kill-this-buffer)\r
+ (define-key map (kbd "<DEL>") 'notmuch-search-scroll-down)\r
+ (define-key map "b" 'notmuch-search-scroll-down)\r
+@@ -211,12 +209,8 @@ first line of documentation for the bound function."\r
+ (define-key map "n" 'notmuch-search-next-thread)\r
+ (define-key map "r" 'notmuch-search-reply-to-thread-sender)\r
+ (define-key map "R" 'notmuch-search-reply-to-thread)\r
+- (define-key map "m" 'notmuch-mua-new-mail)\r
+- (define-key map "s" 'notmuch-search)\r
+ (define-key map "o" 'notmuch-search-toggle-order)\r
+ (define-key map "c" 'notmuch-search-stash-map)\r
+- (define-key map "=" 'notmuch-refresh-this-buffer)\r
+- (define-key map "G" 'notmuch-poll-and-refresh-this-buffer)\r
+ (define-key map "t" 'notmuch-search-filter-by-tag)\r
+ (define-key map "f" 'notmuch-search-filter)\r
+ (define-key map [mouse-1] 'notmuch-search-show-thread)\r
+-- \r
+1.7.10.4\r
+\r