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 C20F6431FAF for ; Tue, 27 Nov 2012 01:21:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 8K91r9yVcNnJ for ; Tue, 27 Nov 2012 01:21:51 -0800 (PST) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 0777B431FAE for ; Tue, 27 Nov 2012 01:21:50 -0800 (PST) Received: by mail-ee0-f53.google.com with SMTP id c50so7717541eek.26 for ; Tue, 27 Nov 2012 01:21:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=GaFNkSnN1yCl36T2Ew08FRggNiGRw0mlbPeAjpPzamQ=; b=W9Z8ZPBn7sssO7X8KNqgYi+7nz21rTyVSDV3sm6n0by0dzM3pLMhwmPHz+PEyq6Rij xPSRQWdZ2YBF0Vov6eUUQcsCFwuFupiEj6bivnoAfmU2I1s1xFeoouBi0jssrp21SX7w h5xRycw3gAoEy1e+N6XB6NMU7PDj2jR/3+o9xOmZhWcT3fuQNDxQBegjgcZLS9whlctP lGTircAIA/0Vgu0zGxN+a+c/1z3Zxxv3m2MwhtLHMm9hGOonXv5cJsaIsc4VlurxhhKd uQrkc9KdzyrH2TdvQHuwy6vS+D9ORgG2yyfcyjQ4oXvAN8KGtRvPcU9rD8Gkpxpegn+I o4GA== Received: by 10.14.199.134 with SMTP id x6mr56038725een.31.1354008107094; Tue, 27 Nov 2012 01:21:47 -0800 (PST) Received: from ?IPv6:2a01:e35:8baa:b070:bccc:a985:fb1b:61f8? ([2a01:e35:8baa:b070:bccc:a985:fb1b:61f8]) by mx.google.com with ESMTPS id k2sm39581340eep.15.2012.11.27.01.21.45 (version=SSLv3 cipher=OTHER); Tue, 27 Nov 2012 01:21:46 -0800 (PST) Message-ID: <50B48627.9040409@gmail.com> Date: Tue, 27 Nov 2012 10:21:43 +0100 From: Rainer M Krug User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: David Bremner Subject: Re: gmail label support patch available for oflineimap References: <87zk24ctko.fsf@convex-new.cs.unb.ca> <50B3871B.2050509@gmail.com> <87r4ngcl00.fsf@convex-new.cs.unb.ca> In-Reply-To: <87r4ngcl00.fsf@convex-new.cs.unb.ca> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: notmuch@notmuchmail.org, Rainer@krugs.de X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Rainer@krugs.de List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 09:21:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 26/11/12 18:49, David Bremner wrote: > Rainer M Krug writes: > >> Adding a layer to communicate with a remote server (gmail in this case) would defy the >> purpose of having notmuch. In my opinion, Synching from gmail to local maildir should be done >> by another tool, and this synching includes the synching of the gmail labels. > > Well, the labels need to be synched with the notmuch database so the choice is between "extend > notmuch + use offline imap" or "extend notmuch in a different way". It's true that > re-inventing (a specialized version of) offline imap seems less than ideal. So from your point of view - what would be the best / most consistent approach with gmail? Sync All Mail folder (and Inbox) with offlineimap and sync the label information via notmuch? Would definitely seem to make sense, as it deals with labels on the gmail side which is nothing different to tags in notmuch. But then this would have to be a kind of tag-sync with gmail. > > In the wild speculation department, since the feature is still in development on the the > offlineimap side, maybe offlineimap can be convinced to work with a kind of sidecar file > containing tag information. I think people have speculated about serializing the notmuch > database in (something like) that way before. As I understand it, the person who implemented it as a patch uses mu / mue and there it works with the X-headers approach, so I think he will stick with it. But I definitely share your concerns about modifying the emails itself. Cheers, Rainer > > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlC0hicACgkQoYgNqgF2egp06ACfVkaNUmqbwSuXBjrpS3GpDDgn AwsAoId8pSGsy05CaYee83OLZcnkpYIU =QgrG -----END PGP SIGNATURE-----