Re: [PATCH v3] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread Kevin J. McCarthy
I've pushed this up with one minor change: On Thu, Jan 31, 2019 at 05:57:57PM -0600, miny...@acm.org wrote: --- a/functions.h +++ b/functions.h + { "descend-mailbox", OP_DESCEND_DIRECTORY, NULL }, Everywhere else in the patch, this was referred to as "descend-directory", so I changed

[PATCH v3] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread minyard
From: Corey Minyard Some (maybe most) IMAP mail systems allow folders to be nested inside folders, so you can have, say, an Inbox with more folders inside it. However, in the file browser, mutt will only open a maildir/mh directory as a mailbox, there is no way to get to the child mailboxes. Thi

Re: [PATCH v2] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread Moritz Barsnick
On Thu, Jan 31, 2019 at 12:21:19 -0600, miny...@acm.org wrote: > This change adds a function that forces mutt to > descend into the directory, and it binds it to ">" by default in > the file browser. [...] > --- [...] > Don't default the function. ">" was already in use. You need to adapt the co

[PATCH v2] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread minyard
From: Corey Minyard Some (maybe most) IMAP mail systems allow folders to be nested inside folders, so you can have, say, an Inbox with more folders inside it. However, in the file browser, mutt will only open a maildir/mh directory as a mailbox, there is no way to get to the child mailboxes. Thi

Re: [PATCH] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread Corey Minyard
On Thu, Jan 31, 2019 at 09:33:02AM -0800, Kevin J. McCarthy wrote: > On Thu, Jan 31, 2019 at 09:22:18AM -0800, Kevin J. McCarthy wrote: > > Second, once you trigger force_descend_dir it looks like it stays on, > > modifying subsequent behavior of . > > Sorry, I should have added: so I might recomm

Re: [PATCH] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread Kevin J. McCarthy
On Thu, Jan 31, 2019 at 09:22:18AM -0800, Kevin J. McCarthy wrote: Second, once you trigger force_descend_dir it looks like it stays on, modifying subsequent behavior of . Sorry, I should have added: so I might recommend just checking if (i == OP_DESCEND_DIRECTORY) instead. -- Kevin J. McCar

Re: [PATCH] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread Kevin J. McCarthy
On Thu, Jan 31, 2019 at 10:55:23AM -0600, miny...@acm.org wrote: Some (maybe most) IMAP mail systems allow folders to be nested inside folders, so you can have, say, an Inbox with more folders inside it. However, in the file browser, mutt will only open a maildir/mh directory as a mailbox, ther

[PATCH] Allow descending into maildir and mh directories in file browser

2019-01-31 Thread minyard
From: Corey Minyard Some (maybe most) IMAP mail systems allow folders to be nested inside folders, so you can have, say, an Inbox with more folders inside it. However, in the file browser, mutt will only open a maildir/mh directory as a mailbox, there is no way to get to the child mailboxes. Thi