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 080F3431FBD for ; Sun, 27 Apr 2014 12:33:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.6 X-Spam-Level: ** X-Spam-Status: No, score=2.6 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_ILLEGAL_IP=3.399, 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 gcGCftSHmcpA for ; Sun, 27 Apr 2014 12:33:15 -0700 (PDT) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B3953431FBC for ; Sun, 27 Apr 2014 12:33:14 -0700 (PDT) Received: by mail-wi0-f171.google.com with SMTP id q5so4750770wiv.10 for ; Sun, 27 Apr 2014 12:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=QnvOIzTwfX18zmRRpcP7GN0ZMwiEpIh+rBRSy5gqn0c=; b=KS/h8ukBBedgsBlrwt6vooWz8GF4jEN2aKLJD7oQcv8b4Ft9h1ekJiZfDqk6ijsseY Hb0p8sThEXIteFDPKVUgQKErvs5XsJ8u+mYaO21iUbdQEdY45HP74MmQAUwT9xPxKj3Z 8wHDr9TErMWEYVeAuqBWUWq5Nzabek3VPBsSiD3HxqdwTgPIWKnBoke9Dx4uWaf9yCS8 mnDz/BF8ZKg95JXhYYFBhYpSnbHpHgSe9O+SNjAoDC2+hfVPWrszJ96Xb8OqaASBaW8b Bzb93+8R7csWzioXkTa/zf4VbnoU3pM7o2CRH1oi4HmsY618R52p4/k4zd4qMrPrGHLS kOyA== X-Received: by 10.194.85.19 with SMTP id d19mr770wjz.96.1398627192369; Sun, 27 Apr 2014 12:33:12 -0700 (PDT) Received: from Samskara.home (host5-81-31-114.range5-81.btcentralplus.com. [5.81.31.114]) by mx.google.com with ESMTPSA id dn4sm12733191wib.18.2014.04.27.12.33.10 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 27 Apr 2014 12:33:10 -0700 (PDT) From: Sam Halliday To: David Mazieres expires 2014-07-26 PDT , notmuch@notmuchmail.org Subject: Re: github mirror In-Reply-To: <87iopu4mr6.fsf@ta.scs.stanford.edu> References: <87bnvn111h.fsf@Samskara.home> <87iopu4mr6.fsf@ta.scs.stanford.edu> User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) Date: Sun, 27 Apr 2014 20:33:33 +0100 Message-ID: <8761lulg8i.fsf@Samskara.home> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Sun, 27 Apr 2014 19:33:38 -0000 --=-=-= Content-Type: text/plain David Mazieres writes: > Sam Halliday writes: >> But in any case, my RFE/question was this: how hard would it be to have >> an optional mode of behaviour where tags are stored in the message >> itself, so that syncing with an IMAP server (e.g. via offlineimap) >> would make the tags available on all devices. This would negate the need >> for workarounds, such as shared notmuch databases, when users have >> multiple machines. > > The problem is that different imap servers store tags in different > ways. Since notmuch does not use imap, it would be hard for notmuch to > synchronize the tags, other than the standard ones (for which notmuch > already has support). > > One thing you could do is build an external tool that synchronizes > notmuch tags and spawns an imap server in preauth mode to sync the tags. > (That would be yet another use for the ctime values we have discussed on > this list.) The improvements to offlineimap to use the mail header hack might work well for both of us. Currently the only way to add/remove "labels" (a gmail concept) is to copy/move mail between folders. And this is how notmuch "tags" are synced. But with outstanding pull request, this can all be managed via email headers and that means you *only* need to synchronise your "All Mail" folder. So, I'd be interested to see what your code could do in that world :-) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlNdW40ACgkQh5Q4qVL9G8nUhgCfXnqJ05aL8gq4ei8P5Vth7nLK lcwAni7Q2rdxJGivZPMFQPQ9jBZJcC7I =WCtJ -----END PGP SIGNATURE----- --=-=-=--