This series only centralizes the printing to one function. It assumes that any future solution will use some configuration information or state in the notmuch_database_t object. To make this available everywhere only requires internal API changes (i.e. functions in notmuch-private.h).