Re: [PATCH 00/17] nmbug-status: Python-3-compabitility and general refactoring
[notmuch-archives.git] / 6b / 79b522261021b2edf456bf8d7d55a590bb9445
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 30A94431FB6\r
6         for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 03:58:08 -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 D1sgDHs8uX3z for <notmuch@notmuchmail.org>;\r
16         Sat, 29 Sep 2012 03:58:07 -0700 (PDT)\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 7C72D431FAE\r
21         for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 03:58:07 -0700 (PDT)\r
22 Received: by lbbgg6 with SMTP id gg6so2804478lbb.26\r
23         for <notmuch@notmuchmail.org>; Sat, 29 Sep 2012 03:58:04 -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:subject:in-reply-to:references:user-agent:date:message-id\r
27         :mime-version:content-type:x-gm-message-state;\r
28         bh=ua7bu/P3YqlwuvCyJSmpFo4StNjj1DucRMuDUFlZ7pg=;\r
29         b=khr1rxurGNadPrYDDFz/WNCSa0nbTy5s+xIWzRpUQ2VvMzgBBjCMddu52xXu3sVLPv\r
30         ocYqyQJfDAg9FSZdO2gxMzJ4JtnNe737jJl9z4QGWTuEDXJo+lWA38A7arqCYvs6+qFZ\r
31         kK3SDCFTitN9QdzWRhtMRyyorWNMOlKEOvMGigOopzqDg9kJrZXZ9hd55Sumq4I+P/cA\r
32         JWye1DBa8m96EmAVJZmk1IbgIp7Sd8XCopviAMOzoAxCMtFfuNz30EgN5riKSE7Ss7SU\r
33         u8hhdxPIRXPo+Lzje4jkl9aqJKf06RjGspdfQ6oy/S4gmqlT8nm4YlA9DWCkDRrWC31I\r
34         7v8w==\r
35 Received: by 10.152.108.37 with SMTP id hh5mr5985973lab.52.1348916284372;\r
36         Sat, 29 Sep 2012 03:58:04 -0700 (PDT)\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 r5sm3072965lbz.2.2012.09.29.03.58.02\r
40         (version=SSLv3 cipher=OTHER); Sat, 29 Sep 2012 03:58:03 -0700 (PDT)\r
41 From: Jani Nikula <jani@nikula.org>\r
42 To: Damien Cassou <damien.cassou@gmail.com>, notmuch@notmuchmail.org\r
43 Subject: Re: Searching from a folder\r
44 In-Reply-To:\r
45  <CA+y5ggh-PFtHsRgpdXje9z2gsrsonMNi0gqDTfpQ42jXNmJ3dg@mail.gmail.com>\r
46 References:\r
47  <CA+y5ggh-PFtHsRgpdXje9z2gsrsonMNi0gqDTfpQ42jXNmJ3dg@mail.gmail.com>\r
48 User-Agent: Notmuch/0.14+40~ga9afd88 (http://notmuchmail.org) Emacs/23.3.1\r
49         (i686-pc-linux-gnu)\r
50 Date: Sat, 29 Sep 2012 13:58:00 +0300\r
51 Message-ID: <87vcexp03r.fsf@nikula.org>\r
52 MIME-Version: 1.0\r
53 Content-Type: text/plain; charset=us-ascii\r
54 X-Gm-Message-State:\r
55  ALoCoQkUsT9W517mB9Obq/X0s0C3mHoMvKAFdUXz4O+qpbx7RvL8fdguNoZAL993fh3WdgQ/qzpz\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Sat, 29 Sep 2012 10:58:08 -0000\r
69 \r
70 On Sat, 29 Sep 2012, Damien Cassou <damien.cassou@gmail.com> wrote:\r
71 > I can't make notmuch search return the list of mails in [Gmail]\r
72 > folders for a particular mailbox:\r
73 >\r
74 > ~ $ notmuch search folder:"[Gmail].All Mail"\r
75 > ~ $ notmuch search folder:[Gmail].Important\r
76 \r
77 So you have folders named like that in your maildir? It *should* of\r
78 course work with proper escapes and/or quoting, but for the exact reason\r
79 of avoiding such trouble, I use this in the section corresponding to\r
80 your [Repository RemoteGmailTest] of the .offlineimaprc:\r
81 \r
82 nametrans = lambda foldername: re.sub('^\[Gmail\]/All Mail', 'gmail', foldername)\r
83 \r
84 I only sync all mail and inbox, so you may need to modify that to your\r
85 needs.\r
86 \r
87 Also note that if you have maildir.synchronize_flags=true, the gmail\r
88 "Starred" should sync to maildir flag F, which in turn syncs to notmuch\r
89 tag:flagged.\r
90 \r
91 HTH,\r
92 Jani.\r
93 \r
94 > but these folders actually contain emails. This works well for another\r
95 > gmail mailbox I have. You can reproduce by using the following\r
96 > configuration files (yes, the password is here, that's just a test\r
97 > account, don't worry):\r
98 \r
99 PS. You should probably change the password anyway. You don't want\r
100 Mallory to do stuff like send tons of spam using your account. There are\r
101 no "test accounts" from gmail POV.\r