On Sun, Oct 28, 2001 at 12:38:51AM +0100, Lee J . Moore (dis)graced my inbox with:
> On Sat, Oct 27, 2001 at 05:08:54PM -0600, Rob 'Feztaa' Park wrote:
> > On Sat, Oct 27, 2001 at 11:58:18PM +0100, Lee J . Moore (dis)graced my inbox with:
> > > 
> > > ?  I wonder whether this is why Mutt is getting confused. :)  Although
> > > the script is there doubtless to serve as a timesaver if and when you add
> > > new mailboxes, try inserting the filenames manually until you fix it.
> > > That way, you *will* be notified of new mail. :)
> > 
> > That's true, I thought his script looks rather fishy, but even if he
> > fixed it he'd still have problems with mutt telling him where the new
> > mail is :)
> 
> After glancing again, it looks like a space might fix that bit of
> script.  Maybe it's copied wrong or something and should be more like
> this:
> 
> mailboxes `for file in ~/mail/*; do echo -n "$(basename $file) "; done`


mailboxes `for file in ~/mail/*; do echo -n "=$(basename $file) "; done`

That would probably be even better, because then you're actually looking
for the mail files in the designated mail directories instead of the
active directory :)

(note I added = to the beginning of the string)

> I like that idea actually because I have a list of mailboxes that
> changes weekly. :)

Well, my procmail script doesn't change much, so all incoming mail is
always to the same few folders. But this script really wouldn't work
very well with the mbox hook idea because then you'd have mutt telling
you have new mail in your old mail folders every time you leave one of
your actual mail folders... which is rather silly :)

> I still feel like I'm not understanding a bit of this thread though.  I
> always start up mutt with the -y switch so I *can* see which folders
> contain new mail.  Although of course, once those folders have been
> entered, that N (for new messages) will not be there anymore.

Yes, that is the exact trouble I have with mutt. The N disappears when I
leave a folder that still contains unread mail! So, I set up mbox hooks.
That way a mail folder of size 0 contains no new mail, whereas a mail folder
with a nonzero size contains new mail.

It works for me :)

> Using the last file access time as a way to determine new messages seems
> odd for such a versatile MUA like mutt because all sorts of things can
> mess with the access time (Nautilus, etc.).

That's true. Time for a patch, maybe? :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"I'm always amazed to hear of air crash victims so badly mutilated that 
they have to be identified by their dental records. What I can't understand 
is, if they don't know who you are, how do they know who your dentist is?"
                -- Paul Merton

Reply via email to