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

* Re: [PATCH] emacs: Use "g" instead of "=" for refreshing hello screen.
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Jameson Rollins @ 2010-08-16 23:08 UTC (permalink / raw)
  To: Tobias Gerdin, notmuch

[-- Attachment #1: Type: text/plain, Size: 444 bytes --]

On Wed, 11 Aug 2010 13:48:41 +0200, Tobias Gerdin <tger@opera.com> wrote:
> 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.

I must admit that I do see the logic of this patch.  'g' is a little
more consistent with other things that I've seen.

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: [PATCH] emacs: Use "g" instead of "=" for refreshing hello screen.
  2010-08-16 23:08 ` Jameson Rollins
@ 2010-08-17  6:46   ` Sebastian Spaeth
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Spaeth @ 2010-08-17  6:46 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

> I must admit that I do see the logic of this patch.  'g' is a little
> more consistent with other things that I've seen.

I agree, 'g' makes sense to me.

Sebastian

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[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).