Re: [PATCH] add "group-replied" flag
D'oh, I'm sorry, now I see I forgot some more testing/ logic,
adjust this part of the patch as described below:
=- To mutt-dev@xxxxxxxx wrote on Sun 18.Nov'07 at 14:08:17 +0100 -=
> diff -ru mutt-1.5.17/pattern.c mgo/pattern.c
> --- mutt-1.5.17/pattern.c Wed Sep 5 20:28:05 2007
> +++ mgo/pattern.c Wed Nov 14 22:33:01 2007
> @@ -1114,8 +1115,10 @@
> return (pat->not ? h->old || h->read : !(h->old || h->read));
> case M_UNREAD:
> return (pat->not ? h->read : !h->read);
> + case M_GROUPED:
> + return (pat->not ^ h->grouped);
> case M_REPLIED:
> - return (pat->not ^ h->replied);
> + return ((pat->not ^ h->replied) || (pat->not ^ h->grouped));
> case M_OLD:
> return (pat->not ? (!h->old || h->read) : (h->old && !h->read));
> case M_READ:
make this line:
> + return ((pat->not ^ h->replied) || (pat->not ^ h->grouped));
rather like this:
> + return (pat->not ^ (h->replied || h->grouped));
--
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.