From: Pieter Praet <pieter@praet.org>
To: Kan-Ru Chen <kanru@kanru.info>, notmuch@notmuchmail.org
Subject: Re: [PATCH 2/2] emacs: notmuch-hello: Add "n" and "p" to mod map
Date: Sat, 16 Apr 2011 15:26:11 +0200 [thread overview]
Message-ID: <87lizatjik.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <1280195325-9066-3-git-send-email-kanru@kanru.info>
On Tue, 27 Jul 2010 09:48:45 +0800, Kan-Ru Chen <kanru@kanru.info> wrote:
> 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 "<C-tab>") '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
>
>
Sounds logical in theory, but in practice, you'll soon get stuck
spamming "nnnnnpppnwtf" in the search field.
That, and TAB/S-TAB feels more natural.
Thanks to this patch, however, I did stumble upon a bug:
id:"87ei522v4t.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me"
Peace
-Pieter
next prev parent reply other threads:[~2011-04-16 13:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 1:48 [PATCH 0/2] Usability improvements to notmuch-hello Kan-Ru Chen
2010-07-27 1:48 ` [PATCH 1/2] emacs: notmuch-hello: Avoid going to end-of-line in search box Kan-Ru Chen
2011-04-16 13:07 ` Pieter Praet
2010-07-27 1:48 ` [PATCH 2/2] emacs: notmuch-hello: Add "n" and "p" to mod map Kan-Ru Chen
2011-04-16 13:26 ` Pieter Praet [this message]
2011-04-18 7:36 ` Xavier Maillard
2011-04-18 9:55 ` Pieter Praet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lizatjik.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me \
--to=pieter@praet.org \
--cc=kanru@kanru.info \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).