unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v1 0/3] Improve the display of matching/non-matching authors.
@ 2014-10-24  8:48 David Edmondson
  2014-10-24  8:48 ` [PATCH v1 1/3] search: Seperately report matching and non-matching authors David Edmondson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Edmondson @ 2014-10-24  8:48 UTC (permalink / raw)
  To: notmuch


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-24 12:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24  8:48 [PATCH v1 0/3] Improve the display of matching/non-matching authors David Edmondson
2014-10-24  8:48 ` [PATCH v1 1/3] search: Seperately report matching and non-matching authors David Edmondson
2014-10-24  9:23   ` Mark Walters
2014-10-24 10:21     ` David Edmondson
2014-10-24 12:40     ` Austin Clements
2014-10-24  8:48 ` [PATCH v1 2/3] emacs: Improved display of matching/non-matching authors David Edmondson
2014-10-24  8:48 ` [PATCH v1 3/3] test: Update tests for :authors_matched and :authors_non_matched David Edmondson

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).