Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 64 / f295449adb804e3593fb208dd3b027b31262f6
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 C4F50431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 01:13:13 -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: 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, RCVD_IN_DNSWL_NONE=-0.0001]\r
14         autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id yCnzJOrKGqdS for <notmuch@notmuchmail.org>;\r
18         Mon, 10 Dec 2012 01:13:13 -0800 (PST)\r
19 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
20         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 19E8B431FAF\r
23         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 01:13:13 -0800 (PST)\r
24 Received: from list by plane.gmane.org with local (Exim 4.69)\r
25         (envelope-from <gmn-notmuch@m.gmane.org>) id 1ThzQN-00035j-Tv\r
26         for notmuch@notmuchmail.org; Mon, 10 Dec 2012 10:13:19 +0100\r
27 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7])\r
28         by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
29         id 1AlnuQ-0007hv-00\r
30         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 10:13:19 +0100\r
31 Received: from R.M.Krug by arn78-1-88-186-171-7.fbx.proxad.net with local\r
32         (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00\r
33         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 10:13:19 +0100\r
34 X-Injected-Via-Gmane: http://gmane.org/\r
35 To: notmuch@notmuchmail.org\r
36 From: Rainer M Krug <R.M.Krug@gmail.com>\r
37 Subject: Re: gmail importer script\r
38 Date: Mon, 10 Dec 2012 10:12:57 +0100\r
39 Lines: 59\r
40 Message-ID: <50C5A799.2070201@gmail.com>\r
41 References:\r
42  <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
43         <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com>\r
44         <CAHmME9pKBJ1Brad=Z1pErSjGqjsZ8Xn56uM-k-U7WLgwjspN_w@mail.gmail.com>\r
45         <50C1F5C3.6010201@gmail.com>\r
46         <CAHmME9qSS4RRcrFi_ebPB8Qkx8KtoaJCGXdQ-JLoYygJVMVA2Q@mail.gmail.com>\r
47         <CAGhLh6GKRYNxm3=RhZdMwhSc-jDwGgFRrKSQqbagzv=GeH0+Yw@mail.gmail.com>\r
48         <CAHmME9r-gnWFoC0tdPPDMtVFLKCTEO-FDCStU9cNO_vn6DYv_A@mail.gmail.com>\r
49 Mime-Version: 1.0\r
50 Content-Type: text/plain; charset=ISO-8859-1\r
51 Content-Transfer-Encoding: 7bit\r
52 X-Complaints-To: usenet@ger.gmane.org\r
53 X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net\r
54 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0\r
55 In-Reply-To:\r
56  <CAHmME9r-gnWFoC0tdPPDMtVFLKCTEO-FDCStU9cNO_vn6DYv_A@mail.gmail.com>\r
57 X-Enigmail-Version: 1.5a1pre\r
58 Cc: public-public-notmuch-gxuj+Tv9EO5zyzON3hdc1g-wOFGN7rlS/M9smdsby/KFg@plane.gmane.org,        public-Rainer-vfylz/Ys1k4@plane.gmane.org,\r
59         public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.13\r
62 Precedence: list\r
63 List-Id: "Use and development of the notmuch mail system."\r
64         <notmuch.notmuchmail.org>\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
68 List-Post: <mailto:notmuch@notmuchmail.org>\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Mon, 10 Dec 2012 09:13:13 -0000\r
73 \r
74 -----BEGIN PGP SIGNED MESSAGE-----\r
75 Hash: SHA1\r
76 \r
77 On 08/12/12 14:15, Jason A. Donenfeld wrote:\r
78 >> I actually prefer this approach, but I think it would be more useful to leave the syncing of\r
79 >> the emails to a different program, and then just managing the labels / tags with your tool\r
80 >> (which is notmuch territory). So the workflow would be: So, implementing the mail sync in\r
81 >> this script would, as I see it, kind of reinventing the wheel.\r
82\r
83 > You're misunderstanding me. Let me make it very clear what the script does. Actually why don't\r
84 > you just read the source code? Please? Well,\r
85 \r
86 Because I have never used python, and you know what your script is doing. I prefer to know what\r
87 the script is doing, before I try it out and it changes up my local emails and my notmuch\r
88 databases in unexpected ways, because I did not understand the source code properly?\r
89 \r
90 > anyway, here:\r
91\r
92 > - It looks in gmail and asks it which messages gmail has\r
93 \r
94 OK.\r
95 \r
96 > - It downloads those messages\r
97 \r
98 Here is my question - see below.\r
99 \r
100 > - It applies gmail's labels to those messages as tags\r
101 \r
102 Perfect.\r
103 \r
104 Now my final question: after reading your info which is useful, I looked in more detail at the\r
105 source code and it made now sense to me. My question is:\r
106 \r
107 If I only want to aply the tags and *not download* emails, can I simply remove the line 88:\r
108 \r
109   download_new_messages(imap, database, new_messages, destination)\r
110 \r
111 Is this correct? In this case, the script would ony tag y messages which are already downloaded?\r
112 \r
113 If this is the case, I would immediately start using the script.\r
114 \r
115 Rainer\r
116 \r
117\r
118 > The end.\r
119\r
120 > Along the way it has some smart things to reduce redundant downloads.\r
121\r
122 > For more information, consult the source code.\r
123\r
124 \r
125 -----BEGIN PGP SIGNATURE-----\r
126 Version: GnuPG v1.4.11 (GNU/Linux)\r
127 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/\r
128 \r
129 iEYEARECAAYFAlDFp5kACgkQoYgNqgF2egqfVACfWckdCl3SOmue6EEHF1cv6d44\r
130 IKgAmwV9cQH/VxCmPHmmU6z3akQ9pFZV\r
131 =vZxS\r
132 -----END PGP SIGNATURE-----\r
133 \r