1 Return-Path: <dme@dme.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 78DBA431FD8
\r
6 for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 10:44:14 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id D3yqhBailyEW for <notmuch@notmuchmail.org>;
\r
17 Fri, 24 Oct 2014 10:44:08 -0700 (PDT)
\r
18 Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com
\r
19 [74.125.82.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
20 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
21 1C220431FBD for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 10:44:07 -0700
\r
23 Received: by mail-wg0-f48.google.com with SMTP id k14so1600531wgh.7
\r
24 for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 10:44:06 -0700 (PDT)
\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=1e100.net; s=20130820;
\r
27 h=x-gm-message-state:user-agent:from:to:subject:date:message-id;
\r
28 bh=Y3082OgZeet+5MgUX+FAAWgPA20VnVqtqL7Sz32dt9Q=;
\r
29 b=TxIfhm1yzI90ZYCFmwlV+7FEmaayr917leu6lGdw8Bq3Azjv8CgdlochvM4I8H2yws
\r
30 AhfiIJBpyBT1zqA6fqhPCvmcYvMk1j9Lu6AGW24e/Ia6wkJH1AFsWG5kZ1zelTEVMVLX
\r
31 LhB+ywuGhRI6guh1OFbWmzxQXYGekKN3e5QhFV2OR7eMhQR4bSQ14TLPomKuFBDpSKsB
\r
32 lwuSLHm4BUYjcw5HbHIF6YbHrP82TjFadYZOVPbJpZUU35rCt3DB4+ZuBQJrhJg2re8G
\r
33 YS5CvKPe9yY8CfvoICw8TvLz9/KZgQuo4uhPshfjOtZGIB12ls1VsYnfGE9UnfeYuZQZ
\r
36 ALoCoQlPlEtCIAC1WiWw5/fJApHnmGwOXxZLnll4wN4lwyGYwAS+gvzca/OUZ1EdPVIYeO4HpROp
\r
37 X-Received: by 10.194.189.82 with SMTP id gg18mr4623208wjc.115.1414172646593;
\r
38 Fri, 24 Oct 2014 10:44:06 -0700 (PDT)
\r
39 Received: from disaster-area.hh.sledj.net
\r
40 ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])
\r
41 by mx.google.com with ESMTPSA id u8sm2718196wiz.14.2014.10.24.10.44.04
\r
42 for <notmuch@notmuchmail.org>
\r
43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
44 Fri, 24 Oct 2014 10:44:05 -0700 (PDT)
\r
45 Received: from localhost (30000@localhost [local]);
\r
46 by localhost (OpenSMTPD) with ESMTPA id cf884ad2;
\r
47 for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 17:44:03 +0000 (UTC)
\r
48 User-Agent: OpenSMTPD enqueuer (Demoostik)
\r
49 From: David Edmondson <dme@dme.org>
\r
50 To: notmuch@notmuchmail.org
\r
51 Subject: [PATCH v2 0/3] Improve the display of matching/non-matching authors.
\r
52 Date: Fri, 24 Oct 2014 18:44:00 +0100
\r
53 Message-Id: <1414172643-28270-1-git-send-email-dme@dme.org>
\r
54 X-Mailer: git-send-email 2.1.1
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Fri, 24 Oct 2014 17:44:14 -0000
\r
70 Improve the display of matching/non-matching authors.
\r
72 Distinguishing between matching and non-matching authors in the emacs
\r
73 interface is currently done by parsing the :authors attribute of a
\r
74 search result. If one of the authors uses the pipe symbol (|) in their
\r
75 'From' address this parsing incorrectly determines the matching and
\r
76 non-matching authors.
\r
78 Address this by adding explicit matching and non-matching authors
\r
79 attributes to the structured output formats.
\r
82 - Return the matching/non-matching authors as a list.
\r
83 - More improvements to the code that renders the authors are possible
\r
84 (to improve the chosen break between visible and invisible), but a
\r
85 planned re-write of the `notmuch-search-result-format' code would
\r
86 render that irrelevant.
\r
89 David Edmondson (3):
\r
90 search: Separately report matching and non-matching authors.
\r
91 emacs: Improved display of matching/non-matching authors.
\r
92 test: Update tests for 'authors_matched' and authors_non_matched'.
\r
94 emacs/notmuch.el | 64 ++++++++++++++------------
\r
95 notmuch-search.c | 105 +++++++++++++++++++++++++++++++++++++++++++
\r
96 test/T160-json.sh | 9 ++++
\r
97 test/T170-sexp.sh | 4 +-
\r
98 test/T470-missing-headers.sh | 8 ++++
\r
99 5 files changed, 159 insertions(+), 31 deletions(-)
\r