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

Re: [Mutt] #3310: Overhaul new mail reporting



#3310: Overhaul new mail reporting
----------------------+-----------------------------------------------------
  Reporter:  brendan  |       Owner:  mutt-dev
      Type:  task     |      Status:  new     
  Priority:  major    |   Milestone:  1.6     
 Component:  mutt     |     Version:          
Resolution:           |    Keywords:          
----------------------+-----------------------------------------------------
Description changed by brendan:

Old description:

> Support notification for both new and old mail (configurable) for all
> mailbox types. See NewMailHandling.

New description:

 Support notification for both new and old mail (configurable) for all
 mailbox types. See NewMailHandling.

 There are two separate issues: one is distinguishing between new mail and
 old mail, and the other is being able to tell whether a mailbox has
 changed since it was last opened, without regard to whether the mail in it
 is new or old.

 For problem 2 (has the mailbox changed?) I think we'll need a function for
 each mailbox type that returns a type-specific cookie (e.g., for mbox
 timestamp+size, for IMAP UIDVALIDITY+UIDNEXT, for maildir perhaps the
 number of files under new and the name of the most recent under cur). None
 of these should be more expensive to calculate than what the buffy check
 already does.

--

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3310#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent