[Patch v2 2/9] notmuch-tag.c: convert to use tag-utils

2013-01-07 Thread Tomi Ollila
ssages_move_to_next (messages)) { >> message = notmuch_messages_get (messages); >> - >> -notmuch_message_freeze (message); >> - >> -for (i = 0; tag_ops[i].tag; i++) { >> - if (tag_ops[i].remove) >> - notmuch_message_remove_tag (me

[Patch v2 2/9] notmuch-tag.c: convert to use tag-utils

2013-01-07 Thread Jani Nikula
On Mon, 07 Jan 2013, david at tethera.net wrote: > From: David Bremner > > Command line parsing is factored out into a function > parse_tag_command_line in tag-utils.c. > > There is some duplicated code eliminated in tag_query, and a bunch of > translation from using the bare tag_op structs to

Re: [Patch v2 2/9] notmuch-tag.c: convert to use tag-utils

2013-01-07 Thread Jani Nikula
On Mon, 07 Jan 2013, da...@tethera.net wrote: From: David Bremner brem...@debian.org Command line parsing is factored out into a function parse_tag_command_line in tag-utils.c. There is some duplicated code eliminated in tag_query, and a bunch of translation from using the bare tag_op

Re: [Patch v2 2/9] notmuch-tag.c: convert to use tag-utils

2013-01-07 Thread Tomi Ollila
] notmuch-tag.c: convert to use tag-utils and Jani's name on it ;) I guess we can expect everyone checking nmbug page regularly for messages with their name :D BR, Jani. Thanks, Tomi notmuch_message_destroy (message); } @@ -150,15 +131,13 @@ tag_query (void *ctx

[Patch v2 2/9] notmuch-tag.c: convert to use tag-utils

2013-01-06 Thread da...@tethera.net
From: David Bremner Command line parsing is factored out into a function parse_tag_command_line in tag-utils.c. There is some duplicated code eliminated in tag_query, and a bunch of translation from using the bare tag_op structs to using that tag-utils API. ---

[Patch v2 2/9] notmuch-tag.c: convert to use tag-utils

2013-01-06 Thread david
From: David Bremner brem...@debian.org Command line parsing is factored out into a function parse_tag_command_line in tag-utils.c. There is some duplicated code eliminated in tag_query, and a bunch of translation from using the bare tag_op structs to using that tag-utils API. --- notmuch-tag.c