<<< Date Index >>>     <<< Thread Index >>>

Re: hierarchical folder in mutt?



On Sun, Sep 04, 2005 at 03:26:37AM +0200, Michael Tatge wrote:
> * On Sat, Sep 03, 2005 Jun Sun (jsun@xxxxxxxxxx) muttered:
> > Here is what I have currently:
> > 
> > ...
> > mailboxes `for i in ~/mail/lists/*; do echo -n "$i "; done`
> > mailboxes `for i in ~/mail/news/*; do echo -n "$i "; done`
> > ...
> > 
> > When I start mutt, I will get
> > 
> >  9   N -rw-------  1 jsun     jsun     27315492 Sep 03 13:40 =lists/acpi
> > 19     -rw-------  1 jsun     jsun     10477551 Sep 03 08:40 
> > =lists/linux1394
> > 32     -rw-------  1 jsun     jsun      6251470 Aug 31 14:49 =news/baby
> > 33   N -rw-------  1 jsun     jsun     23410759 Sep 03 00:43 =news/nytimes
> > 
> > The problem is that all the lists show up at the top-level mail folder,
> 
> yes in the mailboxes view. If you want a hirachical structure use the
> browser.
> 

Are you sure?  In browser view, you only view directories and files.
Mutt does not tell you whether you have any new emails in any of the
files.  Right?

A true hierarchical mail folder *would* do the following:

1. at top level, it would only lists "lists/" as a composite folder.
2. it would attach "N" next to "lists" if any sub-folder under lists/ has
   a new email.
3. you can select "lists/", press "Enter", and you will be presented with
   another list of all sub-folders under "lists/", each of which would
   be attached with "N" if any of them has new emails.

Can mutt do or achieve what I said above?  This is the question I have
been asking all along.  Sorry if it is not clear.

Cheers.

Jun