[PATCH] notmuch.el: 'F' in search mode takes us to a list of folders.

Carl Worth cworth at cworth.org
Wed Apr 7 16:12:36 PDT 2010


On Sat, 27 Feb 2010 08:49:06 +0100, Sebastian Spaeth <Sebastian at SSpaeth.de> wrote:
> From: David Edmondson <dme at dme.org>
> ---
> Dear Carl, I start out notmuch in my inbox search, but find myself
> navigating to the notmuch-folder view quite often. Therefore the key
> binding 'F' to open a notmuch-folder is really handy.

I agree that a single-key binding for this is really handy.

I'm actually currently using super-n (a personal customization I have)
to get to notmuch-folder view from *any* buffer in emacs.

And I want to make a (cleaned-up) version of notmuch-folder be the
starting point for notmuch, (rather than the inbox view). And I also
want to make the 'q' binding more clever so that instead of just closing
the current view it will actually return to the parent view. That would
make 'q' be a single-key binding from most search views (unfiltered ones
at least) to the notmuch-folder view.

But that's all future ideas---back to the current patch.

I don't really like the keybinding of 'F' for this. We've mostly avoided
capitalized bindings so far, (we have quite a few lowercase bindings
available after all). The few we have are all alternate versions of the
lowercase version, ("N" = next message vs. 'n' = next unread
message). Since "F" = folder-view is unrelated to 'f' = filter, I'd like
to avoid that.

Also, I think we need a better name for notmuch-folder view anyway. We
have an outstanding patch to make the filesystem-directory of mail
messages available with a search syntax of "folder:". So there's a
conceptual clash of "folder" there already.

So maybe this view needs a name like "home" or even just "notmuch"? Like
I said, I would like to make my cleaned-up version (see TODO for a
mockup) be the view that one gets with "M-x notmuch".

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100407/ec918a51/attachment.pgp>


More information about the notmuch mailing list