[Patch v2 09/17] tag-util.[ch]: New files for common tagging routines
David Bremner
david at tethera.net
Sat Nov 24 17:18:01 PST 2012
>
> Maybe something like the following formatted and consistency-tuned version:
>
> typedef enum {
> TAG_FLAG_NONE = 0,
>
> /* Operations are synced to maildir, if possible.
> */
> TAG_FLAG_MAILDIR_SYNC = (1 << 0),
>
> /* Remove all tags from message before applying list.
> */
> TAG_FLAG_REMOVE_ALL = (1 << 1),
>
> /* Don't try to avoid database operations. Useful when we
> * know that message passed needs these operations.
> */
> TAG_FLAG_PRE_OPTIMIZED = (1 << 2),
>
> /* Accept strange tags that might be user error;
> * intended for use by notmuch-restore.
> */
> TAG_FLAG_BE_GENEROUS = (1 << 3)
>
> } tag_op_flag_t;
>
Applied. We may have to fight uncrustify on this, but we both know who
likes to play with uncrustify config ;).
d
More information about the notmuch
mailing list