Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d9 / 627ca37787ca8a57e750d69bcd91fc1fc78f83
1 Return-Path: <jani@nikula.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 arlo.cworth.org (Postfix) with ESMTP id 1273B6DE1479\r
6  for <notmuch@notmuchmail.org>; Wed, 23 Sep 2015 11:56:34 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.144\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.144 tagged_above=-999 required=5\r
12  tests=[AWL=-0.168, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
13  RCVD_IN_MSPIKE_WL=-0.01, URIBL_SBL=0.644, URIBL_SBL_A=0.1]\r
14  autolearn=disabled\r
15 Received: from arlo.cworth.org ([127.0.0.1])\r
16  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
17  with ESMTP id QkI9UY90aOqt for <notmuch@notmuchmail.org>;\r
18  Wed, 23 Sep 2015 11:56:32 -0700 (PDT)\r
19 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com\r
20  [209.85.212.176])\r
21  by arlo.cworth.org (Postfix) with ESMTPS id A60026DE143A\r
22  for <notmuch@notmuchmail.org>; Wed, 23 Sep 2015 11:56:31 -0700 (PDT)\r
23 Received: by wiclk2 with SMTP id lk2so253472086wic.0\r
24  for <notmuch@notmuchmail.org>; Wed, 23 Sep 2015 11:56:30 -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:from:to:subject:in-reply-to:references\r
28  :user-agent:date:message-id:mime-version:content-type;\r
29  bh=mjHXvEYGY1ZJrd3UAFQ+gAa6xvbqx7Keg9XZwwfZ7k8=;\r
30  b=StEfazSstN8fSsUCbwfu2FzH2g2EK4S9CQ5gAgikiDEKFIc+imk7sV/PVwqtA4+pZc\r
31  mDGHA5TvABrn8TlwJWEy4u0RfGUTwQogNZKHM2ykToUaHHGtVI32b2YDnnKDxuqBDnv1\r
32  WCx92kLo6ZDLybNqUpgwzUb4ca1PNMkfFPvXx9al2aoLRekM5o0PjEvNRdiLgxNhY5bZ\r
33  bXU9ZrRicz4ADEs6Oih1dNpyWr7y33rFx5nEVAiDR+eqA6PDvNixXw3mxpBuesiOWgD0\r
34  iTFlqFdt+s1iTvL9gKg5T7MgRN3n5419nZyFOERTc5uiVsENqbtTlLgBX7jYWIE8qBvA\r
35  /l6w==\r
36 X-Gm-Message-State:\r
37  ALoCoQmqIbfobOsIT837lbd5u5M4Rgjjy2Sa4HB6gLQff2VrUQ4ydF3a8nhxxysfmFjx1JXS/MGc\r
38 X-Received: by 10.180.8.200 with SMTP id t8mr5756474wia.34.1443034589978;\r
39  Wed, 23 Sep 2015 11:56:29 -0700 (PDT)\r
40 Received: from localhost (mobile-access-bcee4f-131.dhcp.inet.fi.\r
41  [188.238.79.131])\r
42  by smtp.gmail.com with ESMTPSA id ly4sm8643103wjb.4.2015.09.23.11.56.29\r
43  (version=TLSv1/SSLv3 cipher=OTHER);\r
44  Wed, 23 Sep 2015 11:56:29 -0700 (PDT)\r
45 From: Jani Nikula <jani@nikula.org>\r
46 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
47 Subject: Re: [PATCH =?utf-8?Q?3=C2=BD=2F9=5D?= test: notmuch address\r
48  --deduplicate=no tests\r
49 In-Reply-To: <87a8shtg4w.fsf@maritornes.cs.unb.ca>\r
50 References:\r
51  <fd59eadee26a770097517bee038e2b126e11aa90.1441308761.git.jani@nikula.org>\r
52  <1441391716-17282-1-git-send-email-jani@nikula.org>\r
53  <87a8shtg4w.fsf@maritornes.cs.unb.ca>\r
54 User-Agent: Notmuch/0.20.2+66~gb33abd9 (http://notmuchmail.org) Emacs/24.4.1\r
55  (x86_64-pc-linux-gnu)\r
56 Date: Wed, 23 Sep 2015 21:56:11 +0300\r
57 Message-ID: <87mvwddkxg.fsf@nikula.org>\r
58 MIME-Version: 1.0\r
59 Content-Type: text/plain\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.18\r
62 Precedence: list\r
63 List-Id: "Use and development of the notmuch mail system."\r
64  <notmuch.notmuchmail.org>\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
66  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
68 List-Post: <mailto:notmuch@notmuchmail.org>\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
71  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Wed, 23 Sep 2015 18:56:34 -0000\r
73 \r
74 On Sun, 20 Sep 2015, David Bremner <david@tethera.net> wrote:\r
75 > Jani Nikula <jani@nikula.org> writes:\r
76 >\r
77 >> Test not using address deduplication. Incorporate some trivial output\r
78 >> sorting tests here, as they seem to lack tests.\r
79 >> ---\r
80 >>  test/T095-address.sh | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++\r
81 >>  1 file changed, 70 insertions(+)\r
82 >>\r
83 >> diff --git a/test/T095-address.sh b/test/T095-address.sh\r
84 >> index 8eecb2a6a7ba..f8d902cb3a5e 100755\r
85 >> --- a/test/T095-address.sh\r
86 >> +++ b/test/T095-address.sh\r
87 >> @@ -145,4 +145,74 @@ cat <<EOF >EXPECTED\r
88 >>  EOF\r
89 >>  test_expect_equal_file OUTPUT EXPECTED\r
90 >>  \r
91 >> +test_begin_subtest "--deduplicate=no --sort=oldest-first --output=sender"\r
92 >> +notmuch address --deduplicate=no --sort=oldest-first --output=sender '*' >OUTPUT\r
93 >> +cat <<EOF >EXPECTED\r
94 >> +Mikhail Gusarov <dottedmag@dottedmag.net>\r
95 >> +Mikhail Gusarov <dottedmag@dottedmag.net>\r
96 >> +Carl Worth <cworth@cworth.org>\r
97 >\r
98 >> +\r
99 >> +test_begin_subtest "--deduplicate=no --sort=newest-first --output=sender --output=recipients"\r
100 >> +notmuch address --deduplicate=no --sort=newest-first --output=sender --output=recipients path:foo/new >OUTPUT\r
101 >> +cat <<EOF >EXPECTED\r
102 >> +Mikhail Gusarov <dottedmag@dottedmag.net>\r
103 >> +notmuch@notmuchmail.org\r
104 >> +Mikhail Gusarov <dottedmag@dottedmag.net>\r
105 >\r
106 > Two comments:\r
107 >\r
108 > 1) It's suprising that Mikail is first in both the newest-first and\r
109 > oldest-first list. Is it easy to explain why?\r
110 >\r
111 > 2) the use of path: term is not mentioned in the description. Should it\r
112 > be mentioned somehow?\r
113 \r
114 I wanted to have a smaller set of results in the second test, and path:\r
115 was an easy filter so I could look at the files there to construct the\r
116 expected results. That also explains the first part; it just so happened\r
117 that the folder I arbitrarily picked happened to have Mikail there.\r
118 \r
119 BR,\r
120 Jani.\r
121 \r
122 \r
123 >\r
124 > d\r