unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] notmuch.el: 'F' in search mode takes us to a list of folders.
@ 2010-02-11 11:59 David Edmondson
       [not found] ` <1267256946-6897-1-git-send-email-Sebastian@SSpaeth.de>
  0 siblings, 1 reply; 3+ messages in thread
From: David Edmondson @ 2010-02-11 11:59 UTC (permalink / raw)
  To: notmuch

---
 notmuch.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/notmuch.el b/notmuch.el
index 040997e..8f50abe 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -1104,6 +1104,7 @@ matching this search term are shown if non-nil. "
     (define-key map "-" 'notmuch-search-remove-tag)
     (define-key map "+" 'notmuch-search-add-tag)
     (define-key map (kbd "RET") 'notmuch-search-show-thread)
+    (define-key map "F" 'notmuch-folder)
     map)
   "Keymap for \"notmuch search\" buffers.")
 (fset 'notmuch-search-mode-map notmuch-search-mode-map)
-- 
1.6.6.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] notmuch.el: 'F' in search mode takes us to a list of folders.
       [not found] ` <1267256946-6897-1-git-send-email-Sebastian@SSpaeth.de>
@ 2010-04-07 23:12   ` Carl Worth
  2010-04-08  8:14     ` David Edmondson
  0 siblings, 1 reply; 3+ messages in thread
From: Carl Worth @ 2010-04-07 23:12 UTC (permalink / raw)
  To: Sebastian Spaeth; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1781 bytes --]

On Sat, 27 Feb 2010 08:49:06 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> From: David Edmondson <dme@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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] notmuch.el: 'F' in search mode takes us to a list of folders.
  2010-04-07 23:12   ` Carl Worth
@ 2010-04-08  8:14     ` David Edmondson
  0 siblings, 0 replies; 3+ messages in thread
From: David Edmondson @ 2010-04-08  8:14 UTC (permalink / raw)
  To: Carl Worth, Sebastian Spaeth; +Cc: notmuch

On Wed, 07 Apr 2010 16:12:36 -0700, Carl Worth <cworth@cworth.org> wrote:
> I'm actually currently using super-n (a personal customization I have)
> to get to notmuch-folder view from *any* buffer in emacs.

This is also my current approach, though I don't use it very much (or
'F').

dme.
-- 
David Edmondson, http://dme.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-08  8:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 11:59 [PATCH] notmuch.el: 'F' in search mode takes us to a list of folders David Edmondson
     [not found] ` <1267256946-6897-1-git-send-email-Sebastian@SSpaeth.de>
2010-04-07 23:12   ` Carl Worth
2010-04-08  8:14     ` David Edmondson

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).