1 Return-Path: <tger@tger.linkoping.osa>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 2713140BC39
\r
6 for <notmuch@notmuchmail.org>; Wed, 11 Aug 2010 04:48:36 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_MED=-2.3]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id nXmgZqj0xBoY for <notmuch@notmuchmail.org>;
\r
17 Wed, 11 Aug 2010 04:48:24 -0700 (PDT)
\r
18 Received: from smtp.opera.com (smtp.opera.com [213.236.208.81])
\r
19 by olra.theworths.org (Postfix) with ESMTP id 6650140BC38
\r
20 for <notmuch@notmuchmail.org>; Wed, 11 Aug 2010 04:48:24 -0700 (PDT)
\r
21 Received: from tger (sgw-oslo2.opera.com [213.236.208.46])
\r
22 (authenticated bits=0)
\r
23 by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id
\r
25 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)
\r
26 for <notmuch@notmuchmail.org>; Wed, 11 Aug 2010 11:48:17 GMT
\r
27 Received: from tger by tger with local (Exim 4.71)
\r
28 (envelope-from <tger@tger.linkoping.osa>) id 1Oj9nV-0001en-KN
\r
29 for notmuch@notmuchmail.org; Wed, 11 Aug 2010 13:48:41 +0200
\r
30 From: Tobias Gerdin <tger@opera.com>
\r
31 To: notmuch@notmuchmail.org
\r
32 Subject: [PATCH] emacs: Use "g" instead of "=" for refreshing hello screen.
\r
33 User-Agent: Notmuch/0.3.1 (http://notmuchmail.org) Emacs/23.1.1
\r
35 Date: Wed, 11 Aug 2010 13:48:41 +0200
\r
36 Message-ID: <87k4nxcque.fsf@tger.linkoping.osa>
\r
38 Content-Type: text/plain; charset=us-ascii
\r
39 X-Mailman-Approved-At: Mon, 16 Aug 2010 14:00:46 -0700
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Wed, 11 Aug 2010 11:48:36 -0000
\r
54 The "g" key is the most common key for "refresh" operations in Emacs (cf dired).
\r
55 This also contrasts nicely to the binding of capital "G",
\r
56 `notmuch-hello-poll-and-update', in the sense that it is a more heavyweight
\r
59 emacs/notmuch-hello.el | 4 ++--
\r
60 1 files changed, 2 insertions(+), 2 deletions(-)
\r
62 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
63 index 6a1c56e..4c36419 100644
\r
64 --- a/emacs/notmuch-hello.el
\r
65 +++ b/emacs/notmuch-hello.el
\r
66 @@ -393,12 +393,12 @@ diagonal."
\r
67 (when notmuch-saved-searches
\r
68 (widget-insert "Edit saved searches with the `edit' button.\n"))
\r
69 (widget-insert "Hit RET or click on a saved search or tag name to view matching threads.\n")
\r
70 - (widget-insert "`=' refreshes this screen. `s' jumps to the search box. `q' to quit.\n")
\r
71 + (widget-insert "`g' refreshes this screen. `s' jumps to the search box. `q' to quit.\n")
\r
72 (let ((fill-column (- (window-width) notmuch-hello-indent)))
\r
73 (center-region start (point))))
\r
75 (use-local-map widget-keymap)
\r
76 - (local-set-key "=" 'notmuch-hello-update)
\r
77 + (local-set-key "g" 'notmuch-hello-update)
\r
78 (local-set-key "G" 'notmuch-hello-poll-and-update)
\r
79 (local-set-key "m" 'notmuch-mua-mail)
\r
80 (local-set-key "q" '(lambda () (interactive) (kill-buffer (current-buffer))))
\r