Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2713140BC39 for ; Wed, 11 Aug 2010 04:48:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.199 X-Spam-Level: X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nXmgZqj0xBoY for ; Wed, 11 Aug 2010 04:48:24 -0700 (PDT) Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by olra.theworths.org (Postfix) with ESMTP id 6650140BC38 for ; Wed, 11 Aug 2010 04:48:24 -0700 (PDT) Received: from tger (sgw-oslo2.opera.com [213.236.208.46]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7BBmCtn013561 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Aug 2010 11:48:17 GMT Received: from tger by tger with local (Exim 4.71) (envelope-from ) id 1Oj9nV-0001en-KN for notmuch@notmuchmail.org; Wed, 11 Aug 2010 13:48:41 +0200 From: Tobias Gerdin To: notmuch@notmuchmail.org Subject: [PATCH] emacs: Use "g" instead of "=" for refreshing hello screen. User-Agent: Notmuch/0.3.1 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Wed, 11 Aug 2010 13:48:41 +0200 Message-ID: <87k4nxcque.fsf@tger.linkoping.osa> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Mon, 16 Aug 2010 14:00:46 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 11:48:36 -0000 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