database error
[notmuch-archives.git] / bd / f29e02ecff0334f792f27974e09599a32199a4
1 Return-Path: <MarkR.Anderson@amd.com>\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 78F37418C36\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 13:06:30 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.701\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5\r
12         tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham\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 75GppWM4o8pU for <notmuch@notmuchmail.org>;\r
16         Fri, 23 Apr 2010 13:06:29 -0700 (PDT)\r
17 Received: from VA3EHSOBE005.bigfish.com (va3ehsobe005.messaging.microsoft.com\r
18         [216.32.180.15])\r
19         by olra.theworths.org (Postfix) with ESMTP id 65F00431FC1\r
20         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 13:06:29 -0700 (PDT)\r
21 Received: from mail99-va3-R.bigfish.com (10.7.14.238) by\r
22         VA3EHSOBE005.bigfish.com (10.7.40.25) with Microsoft SMTP Server id\r
23         8.1.340.0; Fri, 23 Apr 2010 20:06:29 +0000\r
24 Received: from mail99-va3 (localhost.localdomain [127.0.0.1])   by\r
25         mail99-va3-R.bigfish.com (Postfix) with ESMTP id 976D9F207A5;\r
26         Fri, 23 Apr 2010 20:06:28 +0000 (UTC)\r
27 X-SpamScore: -13\r
28 X-BigFish: VPS-13(zz1432P98dNzz1202hzz6ff19hz32i2a8h61h)\r
29 X-Spam-TCS-SCL: 0:0\r
30 Received: from mail99-va3 (localhost.localdomain [127.0.0.1]) by mail99-va3\r
31         (MessageSwitch) id 1272053183400368_31086;\r
32         Fri, 23 Apr 2010 20:06:23 +0000 (UTC)\r
33 Received: from VA3EHSMHS023.bigfish.com (unknown [10.7.14.241]) by\r
34         mail99-va3.bigfish.com (Postfix) with ESMTP id 551D71480058;\r
35         Fri, 23 Apr 2010 20:06:23 +0000 (UTC)\r
36 Received: from ausb3extmailp02.amd.com (163.181.251.22) by\r
37         VA3EHSMHS023.bigfish.com (10.7.99.33) with Microsoft SMTP Server (TLS)\r
38         id 14.0.482.44; Fri, 23 Apr 2010 20:06:21 +0000\r
39 Received: from ausb3twp01.amd.com (ausb3twp01.amd.com [163.181.250.37]) by\r
40         ausb3extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with SMTP id\r
41         o3NKCbSi031253; Fri, 23 Apr 2010 15:12:40 -0500\r
42 X-WSS-ID: 0L1CIIC-01-D8T-02\r
43 X-M-MSG: \r
44 Received: from sausexhtp02.amd.com (sausexhtp02.amd.com [163.181.3.152])\r
45         (using TLSv1 with cipher RC4-MD5 (128/128 bits))        (No client certificate\r
46         requested)      by ausb3twp01.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP\r
47         id 2609F1028A84;        Fri, 23 Apr 2010 15:06:11 -0500 (CDT)\r
48 Received: from optimon.amd.com (163.181.34.104) by sausexhtp02.amd.com\r
49         (163.181.3.152) with Microsoft SMTP Server (TLS) id 8.2.234.1;\r
50         Fri, 23 Apr 2010 15:06:15 -0500\r
51 Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147])   by\r
52         optimon.amd.com (8.12.10/8.12.10) with ESMTP id o3NK6FU0001617;\r
53         Fri, 23 Apr 2010 15:06:15 -0500\r
54 Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44]) by\r
55         mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id o3NK60S5011132;\r
56         Fri, 23 Apr 2010 14:06:00 -0600 (MDT)\r
57 Received: (from manderso@localhost)     by testarossa.amd.com\r
58         (8.13.1/8.13.1/Submit) id o3NK5xKq015738;\r
59         Fri, 23 Apr 2010 14:05:59 -0600\r
60 X-Authentication-Warning: testarossa.amd.com: manderso set sender to\r
61         MarkR.Anderson@amd.com using -f\r
62 From: Mark Anderson <MarkR.Anderson@amd.com>\r
63 To: Carl Worth <cworth@cworth.org>, Arian Kuschki\r
64         <arian.kuschki@googlemail.com>, "notmuch\@notmuchmail.org"\r
65         <notmuch@notmuchmail.org>\r
66 Subject: RE: [notmuch] Bulk message tagging\r
67 In-Reply-To: <87eii8jtng.fsf@yoom.home.cworth.org>\r
68 References: <4bc9fee0.15135e0a.2c83.ffffff35@mx.google.com>\r
69         <87eii8jtng.fsf@yoom.home.cworth.org>\r
70 Date: Fri, 23 Apr 2010 14:05:59 -0600\r
71 Message-ID: <3wdljceue6w.fsf@testarossa.amd.com>\r
72 MIME-Version: 1.0\r
73 Content-Type: text/plain; charset="us-ascii"\r
74 X-Reverse-DNS: ausb3extmailp02.amd.com\r
75 X-BeenThere: notmuch@notmuchmail.org\r
76 X-Mailman-Version: 2.1.13\r
77 Precedence: list\r
78 List-Id: "Use and development of the notmuch mail system."\r
79         <notmuch.notmuchmail.org>\r
80 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
81         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
82 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
83 List-Post: <mailto:notmuch@notmuchmail.org>\r
84 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
85 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
86         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
87 X-List-Received-Date: Fri, 23 Apr 2010 20:06:30 -0000\r
88 \r
89 On Wed, 21 Apr 2010 18:02:59 -0500, Carl Worth <cworth@cworth.org> wrote:\r
90 > On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki <arian.kuschki@googlemail.com> wrote:\r
91 > > So one could query with sysconf and break things up into multiple\r
92 > > commands as needed.\r
93 > > \r
94 > > Doesn't xargs do exactly this?\r
95\r
96 > Almost.\r
97\r
98 > The arguments being passed to the "notmuch tag" command in this case\r
99 > look like:\r
100\r
101 >       notmuch tag -inbox thread:foo or thread:bar or ...\r
102\r
103 > To break that up, we'd have to be careful to neither leave a trailing\r
104 > 'or' at the end of a command line nor to have an 'or' at the beginning\r
105 > of a command line.\r
106 \r
107 Perhaps this hints at an opportunity to create a new operator, that you\r
108 can pass as part of the notmuch commandline.\r
109 \r
110 Something like:\r
111 cat idlist.txt | xargs notmuch tag -inbox tag:inbox and oneof: \r
112 \r
113 Then the list of arguments can break anywhere it wants. It's not as\r
114 general as having notmuch take search terms from stdin or a file, but it\r
115 seems like a long list of ID's is going to be a common case.\r
116 \r
117 Another problem with passing options to xarg is that any parentheses are\r
118 going to break easily.\r
119 \r
120 Actually, looking at this random proposal, you can see the invented\r
121 operator has an implicit grouping semantic, which leads to all kinds of\r
122 confusion.\r
123 \r
124 -Mark\r
125 \r