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 F1A6A4196F2 for ; Tue, 11 May 2010 08:44:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham 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 GfuEhDZa87K3 for ; Tue, 11 May 2010 08:43:58 -0700 (PDT) X-Greylist: delayed 301 seconds by postgrey-1.32 at olra; Tue, 11 May 2010 08:43:58 PDT Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by olra.theworths.org (Postfix) with ESMTP id 1B6A44196F0 for ; Tue, 11 May 2010 08:43:58 -0700 (PDT) X-AuditID: 1209190d-b7bf0ae0000059a7-0c-4be97a11c592 Received: from mailhub-auth-3.mit.edu (MAILHUB-AUTH-3.MIT.EDU [18.9.21.43]) by dmz-mailsec-scanner-2.mit.edu (Symantec Brightmail Gateway) with SMTP id 9A.09.22951.11A79EB4; Tue, 11 May 2010 11:38:57 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id o4BFcuch002114; Tue, 11 May 2010 11:38:57 -0400 Received: from PHANATIQUE.MIT.EDU (c-71-192-160-118.hsd1.nh.comcast.net [71.192.160.118]) (authenticated bits=0) (User authenticated as nelhage@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o4BFctV4022457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 11 May 2010 11:38:56 -0400 (EDT) From: Nelson Elhage To: notmuch@notmuchmail.org Subject: [PATCH] emacs: Bind (shift-TAB) to notmuch-show-previous-button Date: Tue, 11 May 2010 11:38:44 -0400 Message-Id: <1273592324-9990-1-git-send-email-nelhage@ksplice.com> X-Mailer: git-send-email 1.6.6.30.g1e6fd X-Brightmail-Tracker: AAAAARQMHQE= X-Mailman-Approved-At: Tue, 11 May 2010 17:13:23 -0700 Cc: Nelson Elhage 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, 11 May 2010 15:44:09 -0000 Shift-TAB is standard "opposite" of TAB -- in GUI interfaces they typically cycle through input elements in opposite orders -- so it makes sense to behave the same way. Signed-off-by: Nelson Elhage --- emacs/notmuch-show.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 4b1baf3..b0815a0 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -548,6 +548,7 @@ function is used. " (define-key map "?" 'notmuch-help) (define-key map "q" 'kill-this-buffer) (define-key map (kbd "M-TAB") 'notmuch-show-previous-button) + (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 "m" 'notmuch-mua-mail) -- 1.6.6.30.g1e6fd