[PATCH 0/9] cli/show: refactoring and cleanup

Subject: [PATCH 0/9] cli/show: refactoring and cleanup

Date: Fri, 6 Jan 2017 22:14:41 +0200

To: notmuch@notmuchmail.org


From: Jani Nikula

I was planning on adding mime structure printing to notmuch show, not
unlike devel/printmimestructure, but notmuch-show was in need of some
cleanup first. Here goes.


Jani Nikula (9):
  cli/show: detangle overloading of params.part for single message
  cli/show: remove unused raw member from show parameters struct
  cli/show: consistently use format_sel for checking the format
  cli/show: use a table for choosing the formatter
  cli/show: rename format_sel to simply format
  cli/show: group --entire-thread option handling into one place
  cli/show: move formatter structs closer to where they're needed
  cli: simplify mime node walk
  cli: do not initialize zero values with designated initializers

 mime-node.c      |  13 ++---
 notmuch-client.h |   1 -
 notmuch-reply.c  |   5 --
 notmuch-show.c   | 157 ++++++++++++++++++++++---------------------------------
 4 files changed, 70 insertions(+), 106 deletions(-)