Re: GMAIL tag sync arriving in "next" branch in Offlineimap
[notmuch-archives.git] / aa / 10286d819c5bd30d1f2fbaa26512ee8760d578
diff --git a/aa/10286d819c5bd30d1f2fbaa26512ee8760d578 b/aa/10286d819c5bd30d1f2fbaa26512ee8760d578
new file mode 100644 (file)
index 0000000..336ed36
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <jani@nikula.org>\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 1AB88431FAF\r
+       for <notmuch@notmuchmail.org>; Wed,  7 May 2014 05:07:54 -0700 (PDT)\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=[RCVD_IN_DNSWL_LOW=-0.7] 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 4J8vamO5UfwY for <notmuch@notmuchmail.org>;\r
+       Wed,  7 May 2014 05:07:46 -0700 (PDT)\r
+Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com\r
+       [209.85.212.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id D335B431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  7 May 2014 05:07:45 -0700 (PDT)\r
+Received: by mail-wi0-f177.google.com with SMTP id f8so1182004wiw.16\r
+       for <notmuch@notmuchmail.org>; Wed, 07 May 2014 05:07:44 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+       :user-agent:date:message-id:mime-version:content-type;\r
+       bh=WQE4hsO1KjMYicvPjxHHb04RPcuSYEFc9ccd1I0d60g=;\r
+       b=FWtDHAar2hnB0iX/6CRDJw5TaLpuZQEs2UEe2kYTGGpJppkcI2VHdPqqXojHoNm/uM\r
+       kmXqMXuOS9Z/SSj6JVKv033Sphd0S5KAzAx4/ju0nsvGcJ69X2pyq2ONbxxurq3lEZLx\r
+       lXE9yCuwuK9CrXKSQBvSNQjZXa3MrMW6Wmp9JW4v/OYaAemMjX/6avWtQtKizX/r3lym\r
+       WGTG8U5IHCQeXkOyeucgjJBXl5j1IsD8Vz9xySqPAcmfq27qqGnqdFVnlXpPUtXIM2bd\r
+       M3jlg9bARIMmIQ1apoOhLcTDrBh0I9CzvPuQGTiWFgPif0cezh/PjktL9qdVnFIt108i\r
+       ZFQg==\r
+X-Gm-Message-State:\r
+ ALoCoQlkg0LxZoriwod0tuo7p0uL895Lnd2yBWLzIXQsUlOJPgSvH0ymUJcYga4HcrrRVY4ZolXy\r
+X-Received: by 10.180.92.69 with SMTP id ck5mr26165787wib.15.1399464464627;\r
+       Wed, 07 May 2014 05:07:44 -0700 (PDT)\r
+Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
+       by mx.google.com with ESMTPSA id\r
+       mw4sm31220631wib.12.2014.05.07.05.07.42 for <multiple recipients>\r
+       (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
+       Wed, 07 May 2014 05:07:43 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Rainer M Krug <Rainer@krugs.de>, notmuch@notmuchmail.org\r
+Subject: Re: GMAIL tag sync arriving in "next" branch in Offlineimap\r
+In-Reply-To: <m2wqdy3v1o.fsf@krugs.de>\r
+References: <m2wqdy3v1o.fsf@krugs.de>\r
+User-Agent: Notmuch/0.18~rc0+2~gbc64cdc (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 07 May 2014 14:07:49 +0200\r
+Message-ID: <871tw5rduy.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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, 07 May 2014 12:07:54 -0000\r
+\r
+On Wed, 07 May 2014, Rainer M Krug <Rainer@krugs.de> wrote:\r
+> Recently, gmail tag sync was discussed here, and it seems something is\r
+> happening in Offlineimap: patches implementing synching of gmail tags to \r
+> X-Labels have been applied in the "next" branch and announced on the\r
+> Offline mailing list. \r
+\r
+https://github.com/OfflineIMAP/offlineimap/commit/0e4afa913253c43409e6a32a6b6e11e8b03ed3d9\r
+\r
+"""\r
+This is an example of a setup where GMail gets synced with a local\r
+Maildir. It also keeps track of GMail labels, that get embedded into the\r
+messages under the header X-Keywords (or whatever labelsheader is set\r
+to), and syncs them back and forth the same way as flags.\r
+\r
+The first time it runs on a large repository may take some time as the\r
+labels are read / embedded on every message. Afterwards local label\r
+changes are detected using modification times (much faster):\r
+"""\r
+\r
+Modification of message files as labels change? Ugh.\r
+\r
+I guess notmuch could read a user configurable header and apply the tags\r
+there, but notmuch modifying the message files is probably not going to\r
+happen.\r
+\r
+\r
+BR,\r
+Jani.\r