v2 of id:"cover.1332604895.git.jani@nikula.org" with the following non-functional changes, addressing David's concerns in mail and IRC: - do not use C99 style struct assignment in patch 1 - for now, keep tag_message() local to notmuch-restore.c in patch 3 BR, Jani. Jani Nikula (3): cli: refactor "notmuch tag" data structures for tagging operations cli: refactor "notmuch tag" query tagging into a separate function cli: refactor "notmuch restore" message tagging into a separate function notmuch-restore.c | 148 +++++++++++++++++++++++++---------------------- notmuch-tag.c | 166 +++++++++++++++++++++++++++-------------------------- 2 files changed, 163 insertions(+), 151 deletions(-) -- 1.7.5.4