[PATCH 2/4] Maildir synchronization

2010-10-22 Thread Michal Sojka
On Wed, 13 Oct 2010, Sebastian Spaeth wrote: > > +/* 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}, >

[PATCH 2/4] Maildir synchronization

2010-10-13 Thread Sebastian Spaeth
> +/* 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",

[PATCH 2/4] Maildir synchronization

2010-10-13 Thread Michal Sojka
This patch allows bi-directional synchronization between maildir flags and certain tags. The flag-to-tag mapping is defined by flag2tag array. The synchronization works this way: 1) Whenever notmuch new is executed, the following happens: o New messages are tagged with configured new_tags.

Re: [PATCH 2/4] Maildir synchronization

2010-10-13 Thread Sebastian Spaeth
+/* 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

[PATCH 2/4] Maildir synchronization

2010-05-11 Thread Michal Sojka
This patch allows bi-directional synchronization between maildir flags and certain tags. The flag-to-tag mapping is defined by flag2tag array. The synchronization works this way: 1) Whenever notmuch new is executed, the following happens: o New messages are tagged with configured new_tags.

[PATCH 2/4] Maildir synchronization

2010-05-11 Thread Michal Sojka
This patch allows bi-directional synchronization between maildir flags and certain tags. The flag-to-tag mapping is defined by flag2tag array. The synchronization works this way: 1) Whenever notmuch new is executed, the following happens: o New messages are tagged with configured new_tags.