Re: [Patch v3 07/11] CLI: add optional config data to dump output.
[notmuch-archives.git] / c0 / 9e2f57bc903e790dcec7a700414dcbe042b00f
1 Return-Path: <david@tethera.net>\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 BB8706DE0217\r
6  for <notmuch@notmuchmail.org>; Sat,  7 May 2016 13:29:58 -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.013\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.013 tagged_above=-999 required=5\r
12  tests=[AWL=-0.002, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id 5TF3hA8nnO5O for <notmuch@notmuchmail.org>;\r
17  Sat,  7 May 2016 13:29:50 -0700 (PDT)\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 4AD586DE00EB\r
20  for <notmuch@notmuchmail.org>; Sat,  7 May 2016 13:29:50 -0700 (PDT)\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
22  (envelope-from <david@tethera.net>)\r
23  id 1az8r6-0006vc-FM; Sat, 07 May 2016 16:29:40 -0400\r
24 Received: (nullmailer pid 20649 invoked by uid 1000);\r
25  Sat, 07 May 2016 20:29:44 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
28 Subject: Re: [Patch v3 07/11] CLI: add optional config data to dump output.\r
29 In-Reply-To: <m2wpn5epmk.fsf@guru.guru-group.fi>\r
30 References: <1462065879-29860-1-git-send-email-david@tethera.net>\r
31  <1462065879-29860-8-git-send-email-david@tethera.net>\r
32  <m2wpn5epmk.fsf@guru.guru-group.fi>\r
33 User-Agent: Notmuch/0.21+99~gd93d377 (http://notmuchmail.org) Emacs/24.5.1\r
34  (x86_64-pc-linux-gnu)\r
35 Date: Sat, 07 May 2016 17:29:44 -0300\r
36 Message-ID: <877ff54nnr.fsf@zancas.localnet>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.20\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43  <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
45  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sat, 07 May 2016 20:29:58 -0000\r
52 \r
53 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
54 \r
55 >>  test_begin_subtest 'format=batch-tag, checking encoded output'\r
56 >> -notmuch dump --format=batch-tag -- from:cworth |\\r
57 >> +NOTMUCH_DUMP_TAGS --format=batch-tag -- from:cworth |\\r
58 >>       awk "{ print \"+$enc1 +$enc2 +$enc3 -- \" \$5 }" > EXPECTED.$test_count\r
59 >\r
60 > The above I don't understand, $enc1, $enc2 and $enc3 should be expanded by\r
61 > the shell into the awk command -- I don't see these set anywhere, so to\r
62 > me it looks like these are empty strings...\r
63 \r
64 I'm not sure why it drifted so far away, but these are defined on line\r
65 161\r
66 \r
67 d\r