[PATCH] emacs: In hello mode, bind `C-tab' to move backwards through widgets.

Subject: [PATCH] emacs: In hello mode, bind `C-tab' to move backwards through widgets.

Date: Thu, 29 Apr 2010 11:57:04 +0100

To: notmuch@notmuchmail.org

Cc:

From: dme@dme.org


From: David Edmondson <dme@dme.org>

`C-tab' is now the inverse operation to `tab'.
---
 emacs/notmuch-hello.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 538785f..bf49bb1 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -448,6 +448,7 @@ should be. Returns a cons cell `(tags-per-line width)'."
 
       (use-local-map widget-keymap)
       (local-set-key "=" 'notmuch-hello-update)
+      (local-set-key (kbd "<C-tab>") 'widget-backward)
       (local-set-key "G" 'notmuch-hello-poll-and-update)
       (local-set-key "m" 'notmuch-mua-mail)
       (local-set-key "q" '(lambda () (interactive) (kill-buffer (current-buffer))))
-- 
1.7.0


Thread: