[PATCH] emacs: Use "g" instead of "=" for refreshing hello screen.

Tobias Gerdin tger at opera.com
Wed Aug 11 04:48:41 PDT 2010


The "g" key is the most common key for "refresh" operations in Emacs (cf dired).
This also contrasts nicely to the binding of capital "G",
`notmuch-hello-poll-and-update', in the sense that it is a more heavyweight
refresh operation.
---
 emacs/notmuch-hello.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 6a1c56e..4c36419 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -393,12 +393,12 @@ diagonal."
 	(when notmuch-saved-searches
 	  (widget-insert "Edit saved searches with the `edit' button.\n"))
 	(widget-insert "Hit RET or click on a saved search or tag name to view matching threads.\n")
-	(widget-insert "`=' refreshes this screen. `s' jumps to the search box. `q' to quit.\n")
+	(widget-insert "`g' refreshes this screen. `s' jumps to the search box. `q' to quit.\n")
 	(let ((fill-column (- (window-width) notmuch-hello-indent)))
 	  (center-region start (point))))
 
       (use-local-map widget-keymap)
-      (local-set-key "=" 'notmuch-hello-update)
+      (local-set-key "g" 'notmuch-hello-update)
       (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.4


More information about the notmuch mailing list