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

Re: [Mutt] #2646: check_new incorrectly uses mh_seq_unseen



#2646: check_new incorrectly uses mh_seq_unseen

Changes (by brendan):

  * milestone:  => 1.6

Old description:

> {{{
> When using MH-format mailboxes, mutt monitors any sequence for new mail.
> It should instead use the sequence defined by mh_seq_unseen.
>
> With this behavior, replying to a message will cause mutt to indefinitely
> tell the user that the folder has new messages, regardless of the actual
> state.
> >How-To-Repeat:
> Muttrc file contains:
>     unset mh_purge
>     set mh_seq_unseen="unseen"
>     set mh_seq_flagged="flagged"
>     set mh_seq_replied="replied"
>
> Procmail uses rcvstore to mark new mail with sequence "unseen".
>
> Mutt correctly removes ids from unseen sequence after reading mail.
>
> Mutt correctly adds ids to replied sequence after replying to message.
>
> Mutt incorrectly monitors both the 'unseen' and 'replied' sequences for
> new mail. It should only monitor the 'unseen' sequence, or whatever
> sequence is defined by mh_seq_unseen.
> >Fix:
> The workaround (not a fix) is to at the following to the muttrc file:
>     set mh_seq_replied=""
>
> Mutt no longer flags IDs as replied-to, which is loss of functionality;
> but it reduces the bug.
> }}}

New description:

 When using MH-format mailboxes, mutt monitors any sequence for new mail.
 It should instead use the sequence defined by mh_seq_unseen.

 With this behavior, replying to a message will cause mutt to indefinitely
 tell the user that the folder has new messages, regardless of the actual
 state.
 >How-To-Repeat:
 Muttrc file contains:
 {{{
     unset mh_purge
     set mh_seq_unseen="unseen"
     set mh_seq_flagged="flagged"
     set mh_seq_replied="replied"
 }}}
 Procmail uses rcvstore to mark new mail with sequence "unseen".

 Mutt correctly removes ids from unseen sequence after reading mail.

 Mutt correctly adds ids to replied sequence after replying to message.

 Mutt incorrectly monitors both the 'unseen' and 'replied' sequences for
 new mail. It should only monitor the 'unseen' sequence, or whatever
 sequence is defined by mh_seq_unseen.
 >Fix:
 The workaround (not a fix) is to at the following to the muttrc file:
 {{{
     set mh_seq_replied=""
 }}}
 Mutt no longer flags IDs as replied-to, which is loss of functionality;
 but it reduces the bug.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2646#comment:1>