[PATCH 0/2] make tree use notmuch-tag-format-tags

Mark Walters markwalters1009 at gmail.com
Thu Dec 19 11:12:22 PST 2013


My experiments with unread handling lead me to consider showing
added/deleted tags explicitly (eg deleted with strike-through and
added with underlining). The series
id:1387065197-15776-1-git-send-email-markwalters1009 at gmail.com does
this by hooking into notmuch-tag-format-tags.

Tree view does not use this functionality so did not get this
feature. This pair of patches makes tree use notmuch-tag-format-tags
so it can get all this extra, as well as the existing functionality
that notmuch-tag-format-tags provides (eg star symbols for flagged
messages)

In doing so I discovered that tree separates the tags with ", " not
just " "; this would change when moving to notmuch-tag-format-tags so
do this trivial change first as it does require a large patch (160
lines) to fix all the test expected outputs.

Best wishes

Mark


Mark Walters (2):
  emacs: tree remove comma separator tags
  emacs: tree: use tag-format-tags

 emacs/notmuch-tag.el                               |   17 ++--
 emacs/notmuch-tree.el                              |    8 +-
 .../notmuch-tree-single-thread                     |    8 +-
 test/tree.expected-output/notmuch-tree-tag-inbox   |  104 ++++++++++----------
 .../notmuch-tree-tag-inbox-tagged                  |  104 ++++++++++----------
 .../notmuch-tree-tag-inbox-thread-tagged           |  104 ++++++++++----------
 6 files changed, 173 insertions(+), 172 deletions(-)

-- 
1.7.9.1



More information about the notmuch mailing list