Re: [PATCH 2/2] emacs: notmuch-hello: Add "n" and "p" to mod map
authorXavier Maillard <xavier@maillard.im>
Mon, 18 Apr 2011 07:36:45 +0000 (09:36 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:05 +0000 (09:38 -0800)
36/2d7cef7335d1c214032a5232e32ac8a062973f [new file with mode: 0644]

diff --git a/36/2d7cef7335d1c214032a5232e32ac8a062973f b/36/2d7cef7335d1c214032a5232e32ac8a062973f
new file mode 100644 (file)
index 0000000..683f9ff
--- /dev/null
@@ -0,0 +1,112 @@
+Return-Path: <xma@gnu.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 40EBB431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 00:26:18 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.463\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.463 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 5dGdSq9cKlMD for <notmuch@notmuchmail.org>;\r
+       Mon, 18 Apr 2011 00:26:16 -0700 (PDT)\r
+Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net\r
+       [88.164.105.66])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0B493431FB5\r
+       for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 00:26:16 -0700 (PDT)\r
+Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1])\r
+       by xhlj.maillard.im (Postfix) with ESMTP id CB1AF2C061;\r
+       Mon, 18 Apr 2011 09:26:12 +0200 (CEST)\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to\r
+       :subject:in-reply-to:references:reply-to:date:message-id\r
+       :mime-version:content-type; s=postfix; bh=xmUOvneqNOfcckU17O2SAM\r
+       SK2Nc=; b=mO/NiqwzhNL/hpj54SsnRqx8sywa7ERQpWvQ0FxH3BwLwJ1SI4JdVe\r
+       B69Eux9k3lHm9DgUBZvVMs9obJm8KG8kuUO43JGMSv0L40uXQ6drek/8jaYo9M+A\r
+       c9TrW1zdkWf84FkpyVMi9erVhXpqk9nYepMHj6+BWopvWQsWu8Fl8=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=maillard.im; h=from:to\r
+       :subject:in-reply-to:references:reply-to:date:message-id\r
+       :mime-version:content-type; q=dns; s=postfix; b=VaOtXRcYjWXbDWfk\r
+       IZFhoBRA55M8H29p0AQXJfZmnwo+xncIBgdYNaxDfN/U5BidfemP73xEzsz1UTMp\r
+       vIOI7WS/PXy4S1K6P9wXkBbNaaTUsgNUC4op30Rhuc56bxEIDHfuVX42DZteX5GE\r
+       henj6d+NxBH1QsVWuoFsg0EEdyw=\r
+Received: from maillard.im (unknown [192.168.0.254])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by xhlj.maillard.im (Postfix) with ESMTPSA;\r
+       Mon, 18 Apr 2011 09:26:12 +0200 (CEST)\r
+From: Xavier Maillard <xavier@maillard.im>\r
+To: Pieter Praet <pieter@praet.org>, Kan-Ru Chen <kanru@kanru.info>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/2] emacs: notmuch-hello: Add "n" and "p" to mod map\r
+In-Reply-To:\r
+ <87lizatjik.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
+References: <1280195325-9066-1-git-send-email-kanru@kanru.info>\r
+       <1280195325-9066-3-git-send-email-kanru@kanru.info>\r
+       <87lizatjik.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
+User-Agent: Notmuch/0.5-133-gc509598 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i486-slackware-linux-gnu)\r
+Date: Mon, 18 Apr 2011 09:36:45 +0200\r
+Message-ID: <m2vcycyprm.fsf@gnu.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: Xavier Maillard <xma@gnu.org>\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 18 Apr 2011 07:26:18 -0000\r
+\r
+Hi Pieter,\r
+\r
+On Sat, 16 Apr 2011 15:26:11 +0200, Pieter Praet <pieter@praet.org> wrote:\r
+> On Tue, 27 Jul 2010 09:48:45 +0800, Kan-Ru Chen <kanru@kanru.info> wrote:\r
+> > Bind "n" to widget-forward and "p" to widget-backward to unify the\r
+> > interface since other notmuch major mode also accept "n" and "p" to\r
+> > navigation.\r
+> > ---\r
+> >  emacs/notmuch-hello.el |    2 ++\r
+> >  1 files changed, 2 insertions(+), 0 deletions(-)\r
+> > \r
+> > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+> > index 6ef03bb..7def241 100644\r
+> > --- a/emacs/notmuch-hello.el\r
+> > +++ b/emacs/notmuch-hello.el\r
+> > @@ -294,6 +294,8 @@ should be. Returns a cons cell `(tags-per-line width)'."\r
+> >      (define-key map "=" 'notmuch-hello-update)\r
+> >      (define-key map "G" 'notmuch-hello-poll-and-update)\r
+> >      (define-key map (kbd "<C-tab>") 'widget-backward)\r
+> > +    (define-key map "n" 'widget-forward)\r
+> > +    (define-key map "p" 'widget-backward)\r
+> >      (define-key map "m" 'notmuch-mua-mail)\r
+> >      (define-key map "s" 'notmuch-hello-goto-search)\r
+> >      map)\r
+> > -- \r
+> > 1.7.1\r
+> > \r
+> > \r
+> \r
+> \r
+> Sounds logical in theory, but in practice, you'll soon get stuck\r
+> spamming "nnnnnpppnwtf" in the search field.\r
+> \r
+> That, and TAB/S-TAB feels more natural.\r
+\r
+More natural than what exactly ? Anyway, that would not hurt to add 'n'\r
+and 'p' as another way to navigate through widgets in my opinion\r
+(whatsmore that's how customize also works -i.e navigation done both\r
+with TAB/S-TAB and n/p)\r
+\r
+/Xavier\r