> +/* ASCII ordered table of Maildir flags and associated tags */
> +struct maildir_flag_tag flag2tag[] = {
> + { 'D', "draft", false},
> + { 'F', "flagged", false},
> + { 'P', "passed", false},
> + { 'R', "replied", false},
> + { 'S', "unread", true },
> + { 'T', "delete", false},
> +};
for all of the 4 patches a:
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
with one caveat: you use the tag "delete" to mark the state "trashed". I
think people have slowly settled on the convention "deleted" which is
also more consistent with a state, such as unread, replied, etc...
They work fine and obsolete my notmuchsync (except for the pruning of
deleted mails and the tagging based on folder names). +1 for merging in
notmuch-next or wherever we collect that stuff.
Sebastian