From: Austin Clements <amdragon@MIT.EDU>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH v2] emacs: Add support for saved search accelerators
Date: Sat, 12 Jul 2014 23:50:09 -0400 [thread overview]
Message-ID: <20140713035009.GZ4660@mit.edu> (raw)
In-Reply-To: <87ion2gyqo.fsf@maritornes.cs.unb.ca>
Quoth David Bremner on Jul 12 at 4:31 pm:
> David Edmondson <dme@dme.org> writes:
>
> > Extended the saved search definition to allow the inclusion of an
> > accelerator key for the search. Bind 'j' in the common mode map as a
> > leader for such accelerator keys.
>
> I was trying this out without configuring any accelerators and it seemed
> a bit unfriendly. After hitting 'j' I more or less get stuck until I hit
> C-g. Even hitting ? did not produce any output. I think at minimum the
> user who hits j by mistake should not get stuck in a state she needs to
> C-g out of.
Have you tried notmuch-go?
https://github.com/aclements/notmuch/blob/go-hack/emacs/notmuch-go.el
Once you load it, it's bound to 'g' everywhere. It shows all of the
available bindings/searches above the minibuffer as soon as you hit
'g'. I've been using notmuch-go happily for months (it's completely
supplanted hello for me).
The right answer might be something between notmuch-go and dme's
patch. Currently notmuch-go uses a hard-coded set of searches, while
dme's patch derives them from the saved searches. notmuch-go may also
be more complicated than necessary; I had originally intended to do
some other things with it that never materialized and, now that I've
used it, I don't think they're necessary.
next prev parent reply other threads:[~2014-07-13 3:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 14:16 [RFC] [PATCH] emacs: Add support for saved search accelerators David Edmondson
2014-05-06 16:41 ` Mark Walters
2014-05-07 11:21 ` [PATCH v2] emacs: Add support for saved search accelerator keys David Edmondson
2014-05-07 11:21 ` [PATCH v2] emacs: Add support for saved search accelerators David Edmondson
2014-05-08 9:14 ` Mark Walters
2014-05-10 21:04 ` Aaron Ecay
2014-05-12 6:07 ` David Edmondson
2014-06-06 13:12 ` Mark Walters
2014-07-12 19:31 ` David Bremner
2014-07-13 3:50 ` Austin Clements [this message]
2014-07-13 14:20 ` David Bremner
2014-07-13 14:32 ` Austin Clements
2014-07-13 15:06 ` Mark Walters
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=20140713035009.GZ4660@mit.edu \
--to=amdragon@mit.edu \
--cc=david@tethera.net \
--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).