[PATCH] man: escape backslash in notmuch-tag example
[notmuch-archives.git] / 20 / 45e2b630957f7e469e742f72aa594ebbde4235
1 Return-Path: <gmn-notmuch@m.gmane.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 41B46431FB6\r
6         for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 00:50:26 -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: 1.202\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.202 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         NML_ADSP_CUSTOM_MED=1.2] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id BwubLNMMQ3tr for <notmuch@notmuchmail.org>;\r
17         Fri, 14 Sep 2012 00:50:25 -0700 (PDT)\r
18 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
19         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 16A32431FAE\r
22         for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 00:50:25 -0700 (PDT)\r
23 Received: from list by plane.gmane.org with local (Exim 4.69)\r
24         (envelope-from <gmn-notmuch@m.gmane.org>) id 1TCQfN-00061i-J3\r
25         for notmuch@notmuchmail.org; Fri, 14 Sep 2012 09:50:21 +0200\r
26 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7])\r
27         by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
28         id 1AlnuQ-0007hv-00\r
29         for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 09:50:21 +0200\r
30 Received: from R.M.Krug by arn78-1-88-186-171-7.fbx.proxad.net with local\r
31         (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00\r
32         for <notmuch@notmuchmail.org>; Fri, 14 Sep 2012 09:50:21 +0200\r
33 X-Injected-Via-Gmane: http://gmane.org/\r
34 To: notmuch@notmuchmail.org\r
35 From: Rainer M Krug <R.M.Krug@gmail.com>\r
36 Subject: Re: Better Gmail handling by not using Notmuch tags\r
37 Date: Fri, 14 Sep 2012 09:50:01 +0200\r
38 Lines: 45\r
39 Message-ID: <5052E1A9.8060503@gmail.com>\r
40 References:\r
41  <CA+y5gghe68Sy6BK8FdeGbKEESFD_=2GQ+y+oZSYyt85oQqRuzA@mail.gmail.com>\r
42         <CA+eQo_0nK1rL6DYu2ERqF3U=vZAO_XTpXDtzydHQqBtXqHUOxQ@mail.gmail.com>\r
43         <CA+y5gghnzinnXiabFOEphAuWTJA5Uge9RtGbKu9ur5rP50i_5g@mail.gmail.com>\r
44 Mime-Version: 1.0\r
45 Content-Type: text/plain; charset=ISO-8859-1\r
46 Content-Transfer-Encoding: 7bit\r
47 X-Complaints-To: usenet@ger.gmane.org\r
48 X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net\r
49 User-Agent: Mozilla/5.0 (X11; Linux i686;\r
50         rv:16.0) Gecko/20120907 Thunderbird/16.0\r
51 In-Reply-To:\r
52  <CA+y5gghnzinnXiabFOEphAuWTJA5Uge9RtGbKu9ur5rP50i_5g@mail.gmail.com>\r
53 X-Enigmail-Version: 1.5a1pre\r
54 Cc: Jeremy Nickurak <public-not-much-kexSNQTsIoD754YsiR0rpA@plane.gmane.org>\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: Fri, 14 Sep 2012 07:50:26 -0000\r
68 \r
69 -----BEGIN PGP SIGNED MESSAGE-----\r
70 Hash: SHA1\r
71 \r
72 On 13/09/12 17:15, Damien Cassou wrote:\r
73 > On Thu, Sep 13, 2012 at 5:13 PM, Jeremy Nickurak \r
74 > <not-much@trk.nickurak.ca> wrote:\r
75 >> Gmail doesn't have folders, of course, it has labels, which are approximately equivalent to\r
76 >> notmuch tags. The key difference being that a message can only be in one folder, but it can\r
77 >> have multiple tags/labels.\r
78\r
79 > Gmail exports its labels as IMAP folders: an email with multiple labels will be duplicated in\r
80 > multiple folders (one per label). That's why I'm asking if it would be possible to manupale\r
81 > folders from Notmuch instead of tags.\r
82\r
83 \r
84 I don't think there is an easy solution. notmuch uses a maildir and tags. Gmail needs to be synced\r
85 to this local maildir earlier, and this is where I think the problem comes in: I am not aware of\r
86 any sync tool which maintains the gmail labels, as they are in in the imap context folders.\r
87 \r
88 I think the only real solution woud be:\r
89 \r
90 Download from gmail -> local:\r
91 1) download only the "All Mail" folder\r
92 2) implement a tagging tool which syncs the gmail labels to notmuch tags\r
93 \r
94 upload local -> gmail\r
95 1) upload "All Mail folder\r
96 2) assign on gmail the labels corresponding to the notmuch tags.\r
97 \r
98 The step 1 could be done by any sync tool available for this (offlineimap, ...)\r
99 \r
100 step 2 needs to be developed - no idea how, but it surely would be really usefull, because then\r
101 notmuch would even become a perfect tool for gmail backup as well.\r
102 \r
103 Cheers,\r
104 \r
105 Rainer\r
106 -----BEGIN PGP SIGNATURE-----\r
107 Version: GnuPG v1.4.11 (GNU/Linux)\r
108 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/\r
109 \r
110 iEYEARECAAYFAlBS4akACgkQoYgNqgF2egoGhwCaAgfXQUAK4RK1v22JOhgYXfR1\r
111 +C8AnRU892SrxK7IYN9xoxhM865Y+vTA\r
112 =ma75\r
113 -----END PGP SIGNATURE-----\r
114 \r