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

Re: Open folder only when there in new mail



On Sun, Feb 22, 2004 at 09:33:18AM EST, romildo@xxxxxxxxxxx wrote:
> On Sun, Feb 22, 2004 at 08:13:10AM -0500, David Yitzchak Cohen wrote:
> > On Sun, Feb 22, 2004 at 03:14:19AM EST, Gary Johnson wrote:
> > > On 2004-02-21, romildo@xxxxxxxxxxx wrote:

> > > > Is it possible to have
> > > > 
> > > > $ mutt -f <folder>
> > > > 
> > > > to open <folder> only if there is new mail
> > > > in it? If there is no mail in <folder>,
> > > > mutt should just quit. How to get this
> > > > behaviour?
> > > 
> > > >From the mutt(1) man page:
> > > 
> > >  OPTIONS
> > >       ...
> > > 
> > >       -z   When used with -f, causes Mutt not to start if there are no
> > >            messages in the mailbox.
> > 
> > He's looking to quit if there's no _new_ mail in the folder, unless I
> > misread his OP.
> 
> David is right. If there isn't new messages in the folder, mutt
> should quit immediatelly, even if the folder is not empty.
> 
> Any help?

As I said, your best bet is to find the tag conditional or whatever
it's called patch, and then make an RC file that'll quit if there's no
new mail.

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgp0nA7gZuT4B.pgp
Description: PGP signature