[PATCH v1 0/3] Improve the display of matching/non-matching authors.

David Edmondson dme at dme.org
Fri Oct 24 01:48:05 PDT 2014


Improve the display of matching/non-matching authors.

Distinguishing between matching and non-matching authors in the emacs
interface is currently done by parsing the :authors attribute of a
search result. If one of the authors uses the pipe symbol (|) in their
'From' address this parsing incorrectly determines the matching and
non-matching authors.

Address this by adding explicit matching and non-matching authors
attributes to the structured output formats.


David Edmondson (3):
  search: Seperately report matching and non-matching authors.
  emacs: Improved display of matching/non-matching authors.
  test: Update tests for :authors_matched and :authors_non_matched.

 emacs/notmuch.el             | 64 ++++++++++++++++++++++++--------------------
 lib/notmuch.h                | 34 +++++++++++++++++++++++
 lib/thread.cc                | 60 ++++++++++++++++++++++++++++-------------
 notmuch-search.c             |  6 +++++
 test/T160-json.sh            |  4 +++
 test/T170-sexp.sh            |  4 +--
 test/T470-missing-headers.sh |  4 +++
 7 files changed, 127 insertions(+), 49 deletions(-)

-- 
2.1.1



More information about the notmuch mailing list