unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: Use "g" instead of "=" for refreshing hello screen.
@ 2010-08-11 11:48 Tobias Gerdin
  2010-08-16 23:08 ` Jameson Rollins
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Gerdin @ 2010-08-11 11:48 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-17  6:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-11 11:48 [PATCH] emacs: Use "g" instead of "=" for refreshing hello screen Tobias Gerdin
2010-08-16 23:08 ` Jameson Rollins
2010-08-17  6:46   ` Sebastian Spaeth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).