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 21F0B40B970 for ; Mon, 26 Jul 2010 19:35:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.801 X-Spam-Level: * X-Spam-Status: No, score=1.801 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=1] autolearn=no 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 hEVlvXkqYowi for ; Mon, 26 Jul 2010 19:35:23 -0700 (PDT) X-Greylist: delayed 2773 seconds by postgrey-1.32 at olra; Mon, 26 Jul 2010 19:35:23 PDT Received: from cp20 (cp20.secserverpros.com [67.220.217.187]) by olra.theworths.org (Postfix) with ESMTP id 1105F4196F2 for ; Mon, 26 Jul 2010 19:35:23 -0700 (PDT) Received: from 61-30-10-70.static.tfn.net.tw ([61.30.10.70] helo=anar.kanru.info) by cp20 with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OdZIQ-00033C-Bh for notmuch@notmuchmail.org; Tue, 27 Jul 2010 01:49:31 +0000 Received: from kanru by anar.kanru.info with local (Exim 4.72) (envelope-from ) id 1OdZIG-0002Ms-Gg; Tue, 27 Jul 2010 09:49:20 +0800 From: Kan-Ru Chen To: notmuch@notmuchmail.org Subject: [PATCH 2/2] emacs: notmuch-hello: Add "n" and "p" to mod map Date: Tue, 27 Jul 2010 09:48:45 +0800 Message-Id: <1280195325-9066-3-git-send-email-kanru@kanru.info> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1280195325-9066-1-git-send-email-kanru@kanru.info> References: <1280195325-9066-1-git-send-email-kanru@kanru.info> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp20 X-AntiAbuse: Original Domain - notmuchmail.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kanru.info X-Source: X-Source-Args: X-Source-Dir: 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: Tue, 27 Jul 2010 02:35:34 -0000 Bind "n" to widget-forward and "p" to widget-backward to unify the interface since other notmuch major mode also accept "n" and "p" to navigation. --- emacs/notmuch-hello.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 6ef03bb..7def241 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -294,6 +294,8 @@ should be. Returns a cons cell `(tags-per-line width)'." (define-key map "=" 'notmuch-hello-update) (define-key map "G" 'notmuch-hello-poll-and-update) (define-key map (kbd "") 'widget-backward) + (define-key map "n" 'widget-forward) + (define-key map "p" 'widget-backward) (define-key map "m" 'notmuch-mua-mail) (define-key map "s" 'notmuch-hello-goto-search) map) -- 1.7.1