Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / dc / 913720dbc7e8e065947ba9678cf801926af032
1 Return-Path: <bremner@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 olra.theworths.org (Postfix) with ESMTP id 223B6431FBD\r
6         for <notmuch@notmuchmail.org>; Thu, 23 Jan 2014 05:03:02 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id VVKV3+9pS0up for <notmuch@notmuchmail.org>;\r
16         Thu, 23 Jan 2014 05:02:56 -0800 (PST)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id F3423431FAF\r
21         for <notmuch@notmuchmail.org>; Thu, 23 Jan 2014 05:02:55 -0800 (PST)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <bremner@tethera.net>)\r
24         id 1W6Jvr-0006gi-Iy; Thu, 23 Jan 2014 09:02:55 -0400\r
25 Received: (nullmailer pid 10511 invoked by uid 1000); Thu, 23 Jan 2014\r
26         13:02:52 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: [PATCH 1/2] notmuch dump: default to batch-tag format.\r
30 Date: Thu, 23 Jan 2014 09:02:46 -0400\r
31 Message-Id: <1390482167-10473-1-git-send-email-david@tethera.net>\r
32 X-Mailer: git-send-email 1.8.5.2\r
33 In-Reply-To: <m24n4xo2r0.fsf@guru.guru-group.fi>\r
34 References: <m24n4xo2r0.fsf@guru.guru-group.fi>\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Thu, 23 Jan 2014 13:03:02 -0000\r
48 \r
49 Although we didn't formally deprecate the old format, the new one has\r
50 been available for a year.\r
51 ---\r
52  NEWS           | 10 ++++++++++\r
53  notmuch-dump.c |  2 +-\r
54  2 files changed, 11 insertions(+), 1 deletion(-)\r
55 \r
56 diff --git a/NEWS b/NEWS\r
57 index 28788d8..65679eb 100644\r
58 --- a/NEWS\r
59 +++ b/NEWS\r
60 @@ -1,3 +1,13 @@\r
61 +Notmuch 0.18 (UNRELEASED)\r
62 +=========================\r
63 +\r
64 +Command-Line Interface\r
65 +----------------------\r
66 +\r
67 +`notmuch dump` now defaults to `batch-tag` format.\r
68 +\r
69 +  The old format is still available with `--format=sup`.\r
70 +\r
71  Notmuch 0.17 (2013-12-30)\r
72  =========================\r
73  \r
74 diff --git a/notmuch-dump.c b/notmuch-dump.c\r
75 index f8edda7..158142f 100644\r
76 --- a/notmuch-dump.c\r
77 +++ b/notmuch-dump.c\r
78 @@ -40,7 +40,7 @@ notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[])\r
79      char *output_file_name = NULL;\r
80      int opt_index;\r
81  \r
82 -    int output_format = DUMP_FORMAT_SUP;\r
83 +    int output_format = DUMP_FORMAT_BATCH_TAG;\r
84  \r
85      notmuch_opt_desc_t options[] = {\r
86         { NOTMUCH_OPT_KEYWORD, &output_format, "format", 'f',\r
87 -- \r
88 1.8.5.2\r
89 \r