From 53d6b0d33fdfd01a09b67d71532d27974c6e2100 Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Thu, 29 Nov 2012 09:59:18 +0100 Subject: [PATCH] Re: gmail label support in offlineimap - update --- 02/45025252e25f6b4ea8bfad56ff06ab1b353823 | 101 ++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 02/45025252e25f6b4ea8bfad56ff06ab1b353823 diff --git a/02/45025252e25f6b4ea8bfad56ff06ab1b353823 b/02/45025252e25f6b4ea8bfad56ff06ab1b353823 new file mode 100644 index 000000000..2a40b2a56 --- /dev/null +++ b/02/45025252e25f6b4ea8bfad56ff06ab1b353823 @@ -0,0 +1,101 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id F2462431FAF + for ; Thu, 29 Nov 2012 00:59:58 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.202 +X-Spam-Level: * +X-Spam-Status: No, score=1.202 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id dLRFH4y+NWXs for ; + Thu, 29 Nov 2012 00:59:58 -0800 (PST) +Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 7D640431FAE + for ; Thu, 29 Nov 2012 00:59:58 -0800 (PST) +Received: from list by plane.gmane.org with local (Exim 4.69) + (envelope-from ) id 1TdzyV-0000nT-Rp + for notmuch@notmuchmail.org; Thu, 29 Nov 2012 10:00:03 +0100 +Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) + by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) + id 1AlnuQ-0007hv-00 + for ; Thu, 29 Nov 2012 10:00:03 +0100 +Received: from R.M.Krug by arn78-1-88-186-171-7.fbx.proxad.net with local + (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 + for ; Thu, 29 Nov 2012 10:00:03 +0100 +X-Injected-Via-Gmane: http://gmane.org/ +To: notmuch@notmuchmail.org +From: Rainer M Krug +Subject: Re: gmail label support in offlineimap - update +Date: Thu, 29 Nov 2012 09:59:18 +0100 +Lines: 34 +Message-ID: <50B723E6.8000108@gmail.com> +References: <50B62409.7050706@gmail.com> + + +Mime-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 7bit +X-Complaints-To: usenet@ger.gmane.org +X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net +User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 +In-Reply-To: +X-Enigmail-Version: 1.5a1pre +Cc: Jeremy Nickurak , + notmuch +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 29 Nov 2012 08:59:59 -0000 + +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +On 28/11/12 19:47, Michal Nazarewicz wrote: +> On Wed, Nov 28 2012, Jeremy Nickurak wrote: +>> The other direction sounds like it would be trickier though, since there's no obvious way to +>> say "what notmuch tags have changed since time X?". Is this something that notmuch could +>> provide? +> +> One could parse the X-Labels header and compare it with actual tags given message has. If +> there are some tags that X-Labels lists but the message does not have, the notmuch->gmail +> syncing tool could assume that those were removed by notmuch. Similarly with tags that are not +> in X-Labels but the message has. (Of course the list of tags would have to be limited to those +> that have corresponding gmail labels.) Just a thought. + +Assumptions are dangerous - what about labels added on gmail side? + +Rainer + + +> +> +> +> +> + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) +Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ + +iEYEARECAAYFAlC3I+UACgkQoYgNqgF2egoUbACfdwBclerun3dypzmUHijh4rkn +DvcAn1chRuFiy0JKuB7GjM1aMC7YOyts +=vegN +-----END PGP SIGNATURE----- + -- 2.26.2