Hi all, Michal Nazarewicz added customization for tag changes on marking messages as read (commit 1f30f7d2). This series does the same for archiving, with some cleanups and minor refactoring. As the tag changes may now be more complicated than simple "-inbox" or "-unread", add support for "unarchiving" and "unreading" as well. After this, all the tags recognized and treated special by the emacs interface can be customized. An interesting by-product is that you can filter your mail into multiple different inboxes, each with their own inbox tag, and (after you setup `notmuch-archive-tags') you can read and archive each inbox separately with built-in archiving functions. BR, Jani. Jani Nikula (6): emacs: add helper for tag change list manipulation emacs: fix notmuch-message-replied-tags defcustom type emacs: use new tag change helper to mark messages as replied emacs: add support for custom tag changes on message/thread archive emacs: add support for reversing notmuch-search-archive-thread tag changes emacs: add support for reversing notmuch-show-mark-read tag changes emacs/notmuch-lib.el | 14 ++++++++++++ emacs/notmuch-message.el | 26 ++++++++++------------ emacs/notmuch-show.el | 54 +++++++++++++++++++++++++++++++--------------- emacs/notmuch-tag.el | 17 +++++++++++++++ emacs/notmuch.el | 16 ++++++++++---- 5 files changed, 91 insertions(+), 36 deletions(-) -- 1.7.9.5