[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt - changing maildir in responce to script output



On Fri, Nov 21, 2003 at 12:49:17AM +0000, Jonathan Dowland wrote:
> On Fri, Nov 21, 2003 at 12:13:30AM +0200, Micha Feigin wrote:
> 
> > (I am trying to get list of maildirs with new messages in the subtree,
> > print the number of new messages and allow to choose which one to switch
> > into).
> > Is it possible to do this?
> 
> I'm not sure if this exactly answers your question, but check section
> 3.11 of the mutt manual, which details defining which mailboxes can
> receive mail, and how to bring up a list of the defined mailboxes and
> which ones have mail.
> 
> Perhaps it would be better if you could configure mutt to select *all*
> mailboxes in a heirarchy as being ones which can receive mail?

Thats not the problem, but thanks.
Mutt is configured that all mailboxes can recive mail and pressing . in
the index shows me which mailboxes have mail and pressing c gives me by
default a mailbox with mail in it if there is one.
The problem is that the list given by . isn't very readable and doesn't
say how many new messages there actually are in each mailbox.
I wrote a small script that searches the sub tree, and prints a nice
list with all mail boxes with mail in them and how many new messages
there are in each one. What I want is to be able to choose in this list
by item number which mailbox to switch to.

> 
> -- 
> Jon Dowland
> http://jon.dowland.name/
> 



Reply to: