Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / db / eaec508a8c3b45af17a7ae7d6039af8890b512
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 olra.theworths.org (Postfix) with ESMTP id 30D60431FAF\r
6         for <notmuch@notmuchmail.org>; Sun,  9 Dec 2012 05:46:40 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 Nizs77uSK8jy for <notmuch@notmuchmail.org>;\r
16         Sun,  9 Dec 2012 05:46:36 -0800 (PST)\r
17 Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
18         [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 1D127431FAE\r
21         for <notmuch@notmuchmail.org>; Sun,  9 Dec 2012 05:46:35 -0800 (PST)\r
22 Received: by mail-lb0-f181.google.com with SMTP id ge1so1527379lbb.26\r
23         for <notmuch@notmuchmail.org>; Sun, 09 Dec 2012 05:46:34 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27         :mime-version:content-type:x-gm-message-state;\r
28         bh=QjntaOw+oi5z8X2leR27WWjUEmbFeWcxcgwcn4xhD9k=;\r
29         b=QvHcmHuny//m0Ln/AFqGm2zmkVaazzB9f9/c5YJUXylpONfiYbAUSzFXvwxoiWD2kp\r
30         QMEz1xZ+PXBVD55YNxPzbQs/4FT5oBEbNVVLujC+G9yrbw8efpUkAJaE+fDaXZqzHg5s\r
31         +8Q7hdcBw8GWfbMHraMIBk8xIcG3DhP6Bm2XgWpXD+ygLMVKIS0wLvAo0OUJaGMXoCCz\r
32         f3Cokfvn12UhIR0ox7dFbXH0Z8NAO5UH39MHJ+1yhIiIUScMFZ9Aj27M3UQS3VO0eudQ\r
33         dhMqnfN9ZSKiwGDI4owhe4HXIcZ740jl+9oPitIcrPdA8CM5BSHOGJjq92Lb6VRvGz6j\r
34         gMkg==\r
35 Received: by 10.152.45.229 with SMTP id q5mr10771462lam.34.1355060794302;\r
36         Sun, 09 Dec 2012 05:46:34 -0800 (PST)\r
37 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
38         [80.223.81.27])\r
39         by mx.google.com with ESMTPS id ps11sm6597781lab.12.2012.12.09.05.46.32\r
40         (version=SSLv3 cipher=OTHER); Sun, 09 Dec 2012 05:46:33 -0800 (PST)\r
41 From: Jani Nikula <jani@nikula.org>\r
42 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
43 Subject: Re: v5 of Batch-tag dump/restore patches\r
44 In-Reply-To: <877gorqtai.fsf@zancas.localnet>\r
45 References: <1355007421-3069-1-git-send-email-david@tethera.net>\r
46         <877gorqtai.fsf@zancas.localnet>\r
47 User-Agent: Notmuch/0.14+138~g7041c56 (http://notmuchmail.org) Emacs/23.4.1\r
48         (i686-pc-linux-gnu)\r
49 Date: Sun, 09 Dec 2012 15:46:31 +0200\r
50 Message-ID: <87y5h7s5hk.fsf@nikula.org>\r
51 MIME-Version: 1.0\r
52 Content-Type: text/plain; charset=us-ascii\r
53 X-Gm-Message-State:\r
54  ALoCoQk4KgMt20/xYLqdDBAB/bnPGeu6UX/aSVBAsKy3ZY4cEhMHrpqfx6zrjbD/iP2OHu1kWOfb\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\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: Sun, 09 Dec 2012 13:46:40 -0000\r
68 \r
69 On Sun, 09 Dec 2012, David Bremner <david@tethera.net> wrote:\r
70 > david@tethera.net writes:\r
71 >\r
72 >> Yet another version. Luckily we all use threaded mailreaders, right?\r
73 >>\r
74 >\r
75 > A few fixups Jani mentioned in IRC:\r
76 \r
77 The series with fixups LGTM.\r
78 \r
79 Jani.\r
80 \r
81 \r
82 >\r
83 > commit 4cbd366d3cd29b5d26b36f3744c26b0853b23437\r
84 > Author: David Bremner <bremner@debian.org>\r
85 > Date:   Sun Dec 9 08:49:29 2012 -0400\r
86 >\r
87 >     remove unused sigatomic_t from notmuch-restore\r
88 >     \r
89 >     I guess this must be cut and paste error from Jani's notmuch-tag code\r
90 >\r
91 > diff --git a/notmuch-restore.c b/notmuch-restore.c\r
92 > index dba882b..40596a8 100644\r
93 > --- a/notmuch-restore.c\r
94 > +++ b/notmuch-restore.c\r
95 > @@ -23,7 +23,6 @@\r
96 >  #include "tag-util.h"\r
97 >  #include "string-util.h"\r
98 >  \r
99 > -static volatile sig_atomic_t interrupted;\r
100 >  static regex_t regex;\r
101 >  \r
102 >  static int\r
103 >\r
104 > commit 75b2fab1874fc9f0bab514fe832cfd85d1319877\r
105 > Author: David Bremner <bremner@debian.org>\r
106 > Date:   Sun Dec 9 08:47:12 2012 -0400\r
107 >\r
108 >     enum fixup for tag-utils\r
109 >\r
110 > diff --git a/tag-util.c b/tag-util.c\r
111 > index e7233ab..eab482f 100644\r
112 > --- a/tag-util.c\r
113 > +++ b/tag-util.c\r
114 > @@ -16,7 +16,7 @@ struct _tag_op_list_t {\r
115 >      size_t size;\r
116 >  };\r
117 >  \r
118 > -static int\r
119 > +static tag_parse_status_t\r
120 >  line_error (tag_parse_status_t status,\r
121 >           const char *line,\r
122 >           const char *format, ...)\r
123 > @@ -31,7 +31,7 @@ line_error (tag_parse_status_t status,\r
124 >      return status;\r
125 >  }\r
126 >  \r
127 > -int\r
128 > +tag_parse_status_t\r
129 >  parse_tag_line (void *ctx, char *line,\r
130 >               tag_op_flag_t flags,\r
131 >               char **query_string,\r
132 > @@ -56,7 +56,7 @@ parse_tag_line (void *ctx, char *line,\r
133 >  \r
134 >      /* Skip empty and comment lines. */\r
135 >      if (*tok == '\0' || *tok == '#') {\r
136 > -     ret = 2;\r
137 > +     ret = TAG_PARSE_SKIPPED;\r
138 >       goto DONE;\r
139 >      }\r
140 >  \r
141 > _______________________________________________\r
142 > notmuch mailing list\r
143 > notmuch@notmuchmail.org\r
144 > http://notmuchmail.org/mailman/listinfo/notmuch\r