J. Scott Dorr <[EMAIL PROTECTED]> wrote:
>
> The only problem with this is that if I let other apps do it, then my
> status line in mutt won't be accurate, and mutt won't offer ~/Mailbox
> as an option to change to when I hit 'c'.

There's something strange about all this...  A program other that Mutt
should really end up checking your mailbox in the same way that Mutt
does.  That is, other programs (I'm pretty sure "tf" does it this way)
will simply look at the time stamps on the mailbox, and if the write
time is later than the read time, it reports "new mail."  If the latter
is later (??), then it's assumed that some other program read the mail,
so mail is no longer reported for that mailbox.

The thing is, checking the time stamps will not cause other programs to
see things any differently.  That is to say, all the programs that check
mail in this manner should see things the same way, without interfering
with each other.

The only thing that messes up this scheme is when a program not only
wants to tell you that you have new mail, but also wants to show you
something about that mail.  For instance, a program that wants to notify
you of new mail, AND tell you whom the new mail is from, and what the
subject is... well, that program needs to OPEN the mailbox and read it,
and that causes the "last read" timestamp to change, and this will cause
other programs (like Mutt and tf) that only look at the time stamps, to
stop reporting new mail.

So you need to take a look at how each program that detects mail for you
is doing the detection, and if you don't like the way they are doing it,
maybe there is some way you can put a stop to it.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Richardson IT    |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to