[PATCH] emacs: Bind <backtab> (shift-TAB) to notmuch-show-previous-button
Nelson Elhage
nelhage at ksplice.com
Tue May 11 08:38:44 PDT 2010
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 <nelhage at ksplice.com>
---
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 "<backtab>") '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
More information about the notmuch
mailing list