[PATCH v2 00/14] reply refactor, fixes

Subject: [PATCH v2 00/14] reply refactor, fixes

Date: Sat, 13 Aug 2016 14:37:24 +0300

To: notmuch@notmuchmail.org

Cc: Daniel Kahn Gillmor, jani@nikula.org

From: Jani Nikula

Hi all, this lengthy series fixes replies to messages with multiple Cc:
headers. Daniel reported the problem in

Lots of refactoring is required to switch to using more GMime functions
in the reply code.

This is v2 of the series in id:cover.1466284726.git.jani@nikula.org.


Jani Nikula (14):
  test: add known broken test for reply to message with multiple Cc
  cli/reply: push notmuch reply format abstraction lower in the stack
  cli/reply: reuse show_reply_headers() in headers-only format
  cli/reply: unify reply format functions
  cli/reply: reorganize create_reply_message()
  cli/reply: make references header creation easier to follow
  cli/reply: reuse create_reply_message() also for headers-only format
  cli/reply: reduce the reply format abstractions
  cli/reply: use dedicated functions for reply to mapping
  cli/reply: check for NULL list first in scan_address_list()
  cli/reply: return internet address list from get header funcs
  cli/reply: pass internet address list to munge detect
  cli/reply: pass gmime message to munge detection
  cli/reply: only pass gmime message to add recipients to reply message

 notmuch-reply.c    | 435 +++++++++++++++++++++--------------------------------
 test/T220-reply.sh |  24 +++
 2 files changed, 192 insertions(+), 267 deletions(-)