Re: notmuch search --output=files error with AND NOT search terms
[notmuch-archives.git] / f2 / 5102beb7812359d51f0fdd91677113e77d88df
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 D3C85431FB6\r
6         for <notmuch@notmuchmail.org>; Tue, 15 May 2012 03:57:59 -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.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 6Um7+XrfhX4z for <notmuch@notmuchmail.org>;\r
16         Tue, 15 May 2012 03:57:59 -0700 (PDT)\r
17 Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com\r
18         [209.85.216.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 3A759431FAE\r
21         for <notmuch@notmuchmail.org>; Tue, 15 May 2012 03:57:59 -0700 (PDT)\r
22 Received: by qcsk26 with SMTP id k26so5280231qcs.26\r
23         for <notmuch@notmuchmail.org>; Tue, 15 May 2012 03:57:57 -0700 (PDT)\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:cc:subject:in-reply-to:references:user-agent:date\r
27         :message-id:mime-version:content-type:x-gm-message-state;\r
28         bh=d3FREM99bphaNqPRs73IzK7PBfC2OR7DlWvl8WmkuHI=;\r
29         b=G5huZoEdcFTE5/fZSBUuNe5UlRctFjO7CDJ6ajdpppoQLTJMs07U9CI1/H1DfzkYFm\r
30         UyZPNhMFAKpPZOKDp6yRakuh8IJiyU/xBQbAXpqe6MT8L0OG0x+Ab7AGYwY8bRbMAlH1\r
31         sGTLsP9lGszmtCn9AsR2o7SiIRqTlcYgmBKhRg/ufAXVpAx9pZaX3U+CHSinJb3/X+xy\r
32         TYQao2CpAtW0M2R5lDBxnFg1ZiWPp8DXxMaYtlfpC7lr0l3+XzPHRJtIiNXELPrspOno\r
33         g0u6H7jCUdQ3QI1J1EBkkB6EdGk9L3om4RDFIgyKyv5zzp4Sx51yBOYcZgNh6rI2qSNM\r
34         C6Zg==\r
35 Received: by 10.224.205.6 with SMTP id fo6mr2511276qab.73.1337079477398;\r
36         Tue, 15 May 2012 03:57:57 -0700 (PDT)\r
37 Received: from localhost (nikula.org. [92.243.24.172])\r
38         by mx.google.com with ESMTPS id x10sm2322377qan.1.2012.05.15.03.57.55\r
39         (version=SSLv3 cipher=OTHER); Tue, 15 May 2012 03:57:56 -0700 (PDT)\r
40 From: Jani Nikula <jani@nikula.org>\r
41 To: bryan hunt <mafubryan@gmail.com>, Robert Horn <rjhorn@alum.mit.edu>\r
42 Subject: Re: Using procmail to set tags\r
43 In-Reply-To: <1337076890.12535.2.camel@dsktp>\r
44 References: <m3vcjyl4kg.fsf@quad.robs.office> <1337076890.12535.2.camel@dsktp>\r
45 User-Agent: Notmuch/0.11.1+222~ga47a98c (http://notmuchmail.org) Emacs/23.1.1\r
46         (i686-pc-linux-gnu)\r
47 Date: Tue, 15 May 2012 10:57:54 +0000\r
48 Message-ID: <87zk9990el.fsf@nikula.org>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\r
51 X-Gm-Message-State:\r
52  ALoCoQl+ylrIvijMWqru6tB7vH8050tWzrkQWR7fwfhVdxN5DCKcKSOpi60ykaz+yTAit5VrPpcR\r
53 Cc: notmuch@notmuchmail.org\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Tue, 15 May 2012 10:58:00 -0000\r
67 \r
68 On Tue, 15 May 2012 11:14:50 +0100, bryan hunt <mafubryan@gmail.com> wrote:\r
69 > On Mon, 2012-05-14 at 19:34 -0400, Robert Horn wrote:\r
70 > > Is it practical (and has anyone documented) using a procmail setup to\r
71 > > set initial tags for messages using notmuch?\r
72 > > \r
73 > > I've just started using emacs-notmuch to read mail, and I'm using a\r
74 > > system where I have procmail filters to bin mail by category into\r
75 > > folders.  I can continue this using folder:value for searching, but one\r
76 > > reason notmuch interests me is the potential to do more.\r
77 > > \r
78 > > It's practical for me to assign potentially overlapping tags with a more\r
79 > > sophisticated procmail setup.  Notmuch tags enable having multiple tags\r
80 > > on one email.\r
81 > > \r
82 > > I don't know enough about the procmail/notmuch process to see just how\r
83 > > to make this happen.  I'm hoping that someone has already done something\r
84 > > similar.\r
85 > > \r
86 > > R Horn\r
87 > > rjhorn@alum.mit.edu\r
88\r
89 > You could have procmail fire a python script to add or remove tags based\r
90 > upon message content. \r
91 \r
92 Note that you need to run 'notmuch new' after the message has been\r
93 delivered in order to modify the tags. Otherwise notmuch does not know\r
94 about the message.\r
95 \r
96 > The problem is that the tag removal isn't being saved. \r
97 > I've created a bug report with the developer:\r
98\r
99 > https://bitbucket.org/spaetz/cnotmuch/issue/1/removing-tags-doesnt-seem-to-be-saving\r
100 \r
101 That repository is obsolete; the notmuch python bindings have been\r
102 merged into upstream notmuch. If you still have problems, please report\r
103 them on this list.\r
104 \r
105 \r
106 J.\r