Re: notmuch-search-toggle-order and notmuch-tree
[notmuch-archives.git] / 11 / 78e859907b83bc1f25af766530615ad782fdd7
1 Return-Path: <nelhage@mit.edu>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id F1A6A4196F2\r
6         for <notmuch@notmuchmail.org>; Tue, 11 May 2010 08:44:08 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.8\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8]\r
12         autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id GfuEhDZa87K3 for <notmuch@notmuchmail.org>;\r
16         Tue, 11 May 2010 08:43:58 -0700 (PDT)\r
17 X-Greylist: delayed 301 seconds by postgrey-1.32 at olra;\r
18         Tue, 11 May 2010 08:43:58 PDT\r
19 Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU\r
20         [18.9.25.13])\r
21         by olra.theworths.org (Postfix) with ESMTP id 1B6A44196F0\r
22         for <notmuch@notmuchmail.org>; Tue, 11 May 2010 08:43:58 -0700 (PDT)\r
23 X-AuditID: 1209190d-b7bf0ae0000059a7-0c-4be97a11c592\r
24 Received: from mailhub-auth-3.mit.edu (MAILHUB-AUTH-3.MIT.EDU [18.9.21.43])\r
25         by dmz-mailsec-scanner-2.mit.edu (Symantec Brightmail Gateway) with\r
26         SMTP id 9A.09.22951.11A79EB4; Tue, 11 May 2010 11:38:57 -0400 (EDT)\r
27 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
28         by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id o4BFcuch002114; \r
29         Tue, 11 May 2010 11:38:57 -0400\r
30 Received: from PHANATIQUE.MIT.EDU (c-71-192-160-118.hsd1.nh.comcast.net\r
31         [71.192.160.118]) (authenticated bits=0)\r
32         (User authenticated as nelhage@ATHENA.MIT.EDU)\r
33         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o4BFctV4022457\r
34         (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);\r
35         Tue, 11 May 2010 11:38:56 -0400 (EDT)\r
36 From: Nelson Elhage <nelhage@ksplice.com>\r
37 To: notmuch@notmuchmail.org\r
38 Subject: [PATCH] emacs: Bind <backtab> (shift-TAB) to\r
39         notmuch-show-previous-button\r
40 Date: Tue, 11 May 2010 11:38:44 -0400\r
41 Message-Id: <1273592324-9990-1-git-send-email-nelhage@ksplice.com>\r
42 X-Mailer: git-send-email 1.6.6.30.g1e6fd\r
43 X-Brightmail-Tracker: AAAAARQMHQE=\r
44 X-Mailman-Approved-At: Tue, 11 May 2010 17:13:23 -0700\r
45 Cc: Nelson Elhage <nelhage@ksplice.com>\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Tue, 11 May 2010 15:44:09 -0000\r
59 \r
60 Shift-TAB is standard "opposite" of TAB -- in GUI interfaces they\r
61 typically cycle through input elements in opposite orders -- so it\r
62 makes sense to behave the same way.\r
63 \r
64 Signed-off-by: Nelson Elhage <nelhage@ksplice.com>\r
65 ---\r
66  emacs/notmuch-show.el |    1 +\r
67  1 files changed, 1 insertions(+), 0 deletions(-)\r
68 \r
69 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
70 index 4b1baf3..b0815a0 100644\r
71 --- a/emacs/notmuch-show.el\r
72 +++ b/emacs/notmuch-show.el\r
73 @@ -548,6 +548,7 @@ function is used. "\r
74         (define-key map "?" 'notmuch-help)\r
75         (define-key map "q" 'kill-this-buffer)\r
76         (define-key map (kbd "M-TAB") 'notmuch-show-previous-button)\r
77 +       (define-key map (kbd "<backtab>") 'notmuch-show-previous-button)\r
78         (define-key map (kbd "TAB") 'notmuch-show-next-button)\r
79         (define-key map "s" 'notmuch-search)\r
80         (define-key map "m" 'notmuch-mua-mail)\r
81 -- \r
82 1.6.6.30.g1e6fd\r
83 \r