Re: gmail label support in offlineimap - update
authorMichal Nazarewicz <mina86@mina86.com>
Wed, 28 Nov 2012 18:47:52 +0000 (19:47 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:07 +0000 (09:51 -0800)
f7/13abc14ef560797da6445c698c35123879d6fd [new file with mode: 0644]

diff --git a/f7/13abc14ef560797da6445c698c35123879d6fd b/f7/13abc14ef560797da6445c698c35123879d6fd
new file mode 100644 (file)
index 0000000..db39fe0
--- /dev/null
@@ -0,0 +1,140 @@
+Return-Path: <mpn@google.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 29A79431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Nov 2012 10:48:01 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id RAxcU7AGtyTT for <notmuch@notmuchmail.org>;\r
+       Wed, 28 Nov 2012 10:48:00 -0800 (PST)\r
+Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com\r
+ [74.125.83.53])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 3CAFB431FAE   for <notmuch@notmuchmail.org>; Wed, 28 Nov 2012 10:48:00 -0800\r
+ (PST)\r
+Received: by mail-ee0-f53.google.com with SMTP id c50so8759842eek.26\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Nov 2012 10:47:59 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\r
+ s=20120113;   h=sender:from:to:subject:in-reply-to:organization:references\r
+       :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version\r
+       :content-type; bh=1kz0qEXiYI1QStca4aye16F1QNDmy7Q6poIN5yC9we0=;\r
+       b=bYW3fF0k6HJ+R/6LDJ3eEk0Vmua1U7ni+RsxRL98E2BejZpyiJVe9jMVsQSoa82pYO\r
+       qcggJ5cd0ziUDZcInrGTIn5kp+NK55EAKXLUWfcpap0/08ChwbnEP3gM4tBcHg+qR8+X\r
+       vxBNGSjFh506Pu0hMyirKrdSITIhmL7Yhj7VsnNjnATZ98CbZs+G57EgdfhVMhPVY/qT\r
+       V0yHxsQy6WFsFmWd5eSrZDm5yzR3HPsFvmehCZ7CVtdK+b1R2nD3luNDTavzfznzRsjI\r
+       IKwSS7n74IKIzOzFYk1Bi5XhZWIKQ+KM4TvvowbKjJeN6wFOsEz8o0qci9E6O6NxoaVN    P+hQ==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=sender:from:to:subject:in-reply-to:organization:references\r
+       :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version\r
+       :content-type:x-gm-message-state;\r
+       bh=1kz0qEXiYI1QStca4aye16F1QNDmy7Q6poIN5yC9we0=;\r
+       b=RltgPHPYV93EiG3luIwd7LSvx9jJAOwD/5TTww7vbKVp0xZBG3959e9Q2F5E84UlaP\r
+       IjDxlTylKV+jciLs2GyCwgZeYMHgqRzUwP8l8Sa7tKMNy7RqJFyNIeNHPG4/X5ecZXia\r
+       2KGMdkKVG3Xer13rYZuQHJxEuwDZocViA3pNXLAm95E2LYGfSABzJNBh0kTrWV1suU2f\r
+       znxEzR0VHm822a0AiOIhw3a4zr7F1/lT6bfgJQ02QQZh39cNAbWs9iDTN5hBseSTWVKH\r
+       tioVNknsuwkWWFHFbMPXsxCrp1WIy8+Ba7r9lWZ8tJVVBlrmsBdlxY7vaBKer+qECoD7\r
+       tIIw==\r
+Received: by 10.14.175.198 with SMTP id z46mr72382687eel.26.1354128478937;\r
+       Wed, 28 Nov 2012 10:47:58 -0800 (PST)\r
+Received: from mpn-glaptop ([2620:0:105f:5:9157:c8bf:b215:a515])\r
+       by mx.google.com with ESMTPS id q2sm48716517eem.13.2012.11.28.10.47.57\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 28 Nov 2012 10:47:58 -0800 (PST)\r
+Sender: Michal Nazarewicz <mpn@google.com>\r
+From: Michal Nazarewicz <mina86@mina86.com>\r
+To: Jeremy Nickurak <not-much@trk.nickurak.ca>,\r
+       notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: gmail label support in offlineimap - update\r
+In-Reply-To:\r
+ <CA+eQo_0wOSjHoMK30_PwGZonBNbSDCRy+ghX-TnimfZp++8cBg@mail.gmail.com>\r
+Organization: http://mina86.com/\r
+References: <50B62409.7050706@gmail.com>\r
+       <CA+eQo_0wOSjHoMK30_PwGZonBNbSDCRy+ghX-TnimfZp++8cBg@mail.gmail.com>\r
+User-Agent: Notmuch/ (http://notmuchmail.org) Emacs/24.2.50.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: PbkBB1w#)bOqd`iCe"Ds{e+!C7`pkC9a|f)Qo^BMQvy\q5x3?vDQJeN(DS?|-^$uMti[3D*#^_Ts"pU$jBQLq~Ud6iNwAw_r_o_4]|JO?]}P_}Nc&"p#D(ZgUb4uCNPe7~a[DbPG0T~!&c.y$Ur,=N4RT>]dNpd;       KFrfMCylc}gc??'U2j,!8%xdD\r
+Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACQElEQVQ4jW3TMWvbQBQHcBk1xE6WyALX1069oZBMlq+ouUwpEQQ6uRjttkWP4CmBgGM0BQLBdPFZYPsyFUo6uEtKDQ7oy/U96XR2Ux8ehH/89Z6enqxBcS7Lg81jmSuujrfCZcLI/TYYvbGj+jbgFpHJ/bqQAUISj8iLyu4LuFHJTosxsucO4jSDNE0Hq3hwK/ceQ5sx97b8LcUDsILfk+ovHkOIsMbBfg43VuQ5Ln9YAGCkUdKJoXR9EclFBhixy3EGVz1K6eEkhxCAkeMMnqoAhAKwhoUJkDrCqvbecaYINlFKSRS1i12VKH1XpUd4qxL876EkMcDvHj3s5RBajHHMlA5iK32e0C7VgG0RlzFPvoYHZLRmAC0BmNcBruhkE0KsMsbEc62ZwUJDxWUdMsMhVqovoT96i/DnX/ASvz/6hbCabELLk/6FF/8PNpPCGqcZTGFcBhhAaZZDbQPaAB3+KrWWy2XgbYDNIinkdWAFcCpraDE/knwe5DBqGmgzESl1p2E4MWAz0VUPgYYzmfWb9yS4vCvgsxJriNTHoIBz5YteBvg+VGISQWUqhMiByPIPpygeDBE6elD973xWwKkEiHZAHKjhuPsFnBuArrzxtakRcISv+XMIPl4aGBUJm8Emk7qBYU8IlgNEIpiJhk/No24jHwkKTFHDWfPniR4iw5vJaw2nzSjfq2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC\r
+X-PGP: 50751FF4\r
+X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4\r
+Date: Wed, 28 Nov 2012 19:47:52 +0100\r
+Message-ID: <xa1tlidllg2v.fsf@mina86.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/mixed; boundary="=-=-="\r
+X-Gm-Message-State: ALoCoQnChfhr9mIAVTo77V5k9M6zg5EAx/6Eb+vjNkoVk2iRwe62bq09FaJxJ1fHphCJA2cBYtIJS1B87y0Y0AUKzKOzXm9oQnyCFXPb4BRm7HLuSiH2NO67Fc3y7OTCD35bA03nyOV7FLrQrAe9NzuoiHjRZ1fql1fesVSa2uImPX8mO6UvFGI1xDowRFTMBaV+MxmfT4O0A9WH0S/uKZ6ULMhs0fql6w==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 28 Nov 2012 18:48:01 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, Nov 28 2012, Jeremy Nickurak wrote:\r
+> The other direction sounds like it would be trickier though, since\r
+> there's no obvious way to say "what notmuch tags have changed since\r
+> time X?". Is this something that notmuch could provide?\r
+\r
+One could parse the X-Labels header and compare it with actual tags\r
+given message has.  If there are some tags that X-Labels lists but the\r
+message does not have, the notmuch->gmail syncing tool could assume that\r
+those were removed by notmuch.  Similarly with tags that are not in\r
+X-Labels but the message has.  (Of course the list of tags would have to\r
+be limited to those that have corresponding gmail labels.)  Just\r
+a thought.\r
+\r
+--=20\r
+Best regards,                                         _     _\r
+.o. | Liege of Serenely Enlightened Majesty of      o' \,=3D./ `o\r
+..o | Computer Science,  Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz   =\r
+ (o o)\r
+ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--\r
+--=-=-=\r
+Content-Type: multipart/signed; boundary="==-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+\r
+--==-=-=\r
+Content-Type: text/plain\r
+\r
+\r
+--==-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJQtlxYAAoJECBgQBJQdR/0O/wP/2g28eReFAQ2qPj4J8rOOsIP\r
+nS2R2+EQ6BNYHfGxPnS3sl/qWuxmMYMJKGUNw1mOgPt3k96wagHSJjf2YnC83MOe\r
+lm5xnd1OvJKinFRSGITuOHBbSHyQQJ1PMVhBpGIe4usypDDyThaetVrwnxYn/TUJ\r
+QYHcRY1cDe+iCzwBBczL9Rm+aZYTz7vct453B5zjdz1o/NnNamAsAHMcJk8p8VR6\r
+haH4Jx+wfR1Wp0pzAdJMYZXhRevGQRvvjIzRDAAVnhpxwDZaq3D7eNAy+GrnzlYP\r
+BZ4N7aNwV7aQS+2PsbsDzSG3liVAgBCOaj8PyyeCoMCsVASzXH5QDkO4ATdfmjU2\r
+NqqV+qJPEvqyYGLJRj53f+ngYOpxdsQNQxgtGRfpJsRPCcbXbRpy3bG+98DlGsfs\r
+ALeVXTMpRubPqyNouLBOKidK0J9JGmLEKktapKKsNOqT7z/iHEqICBWlD7q/gR55\r
+hflbE3ha0frIJf2RESNMKO11J829X/29y+NKYfSEE2kxDlHs6mAW5QZgd/PewVVq\r
+9AT9+7rYVWEIN0JfKitnT251WIvI2Ot7HI8sBdRXybLx9Yb+KSjjkrOwmJRPpM1U\r
+zVfJP4VHHwMUjl7kpdpiG5ZAr2ajNPfGslxYDtPQFpp3GMijXdmwFOTYDa+tbntS\r
+rCFeWfF6u2YqZeVpMztD\r
+=yR8w\r
+-----END PGP SIGNATURE-----\r
+--==-=-=--\r
+\r
+--=-=-=--\r