1 Return-Path: <sanboer@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id D1594429E55
\r
6 for <notmuch@notmuchmail.org>; Tue, 28 Jun 2011 14:41:27 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id uJCPUXXE-7lA for <notmuch@notmuchmail.org>;
\r
17 Tue, 28 Jun 2011 14:41:27 -0700 (PDT)
\r
18 Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com
\r
19 [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id E4D97429E2A
\r
22 for <notmuch@notmuchmail.org>; Tue, 28 Jun 2011 14:41:26 -0700 (PDT)
\r
23 Received: by ewy8 with SMTP id 8so224815ewy.26
\r
24 for <notmuch@notmuchmail.org>; Tue, 28 Jun 2011 14:41:25 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:cc:subject:organization:references:date:in-reply-to
\r
27 :message-id:user-agent:mime-version:content-type;
\r
28 bh=PYbP+zY0A4RkQKL6F6KZimPeAN4s6MT4Hz1bXDE0cw0=;
\r
29 b=FjVWRYol5St+IhEGNbRkEXV6+h9NJ2ExF6OSNwV0gkjT79KrTk20Igs8G39Jdc2YZ/
\r
30 O2UqAV87kdv7D1BILrOfqJD6Mc+dZwEgOnegOhq+CEXA7BZuZd289U5qH2y4nK/YPCXN
\r
31 x63WQiYUxE4YKfdE3bDrAWCJv5/AcSA/5UASA=
\r
32 Received: by 10.213.17.76 with SMTP id r12mr38221eba.2.1309297285639;
\r
33 Tue, 28 Jun 2011 14:41:25 -0700 (PDT)
\r
34 Received: from localhost (archx.demon.nl [83.160.190.30])
\r
35 by mx.google.com with ESMTPS id s76sm433006eea.18.2011.06.28.14.41.23
\r
36 (version=TLSv1/SSLv3 cipher=OTHER);
\r
37 Tue, 28 Jun 2011 14:41:24 -0700 (PDT)
\r
38 From: "Sander Boer" <sanboer@gmail.com>
\r
39 To: Carl Worth <cworth@cworth.org>
\r
40 Subject: Re: notmuch Digest, Vol 20, Issue 57
\r
41 Organization: From the desk of Sander Boer
\r
42 References: <mailman.5.1309146869.12973.notmuch@notmuchmail.org>
\r
43 <cuozkl367o2.fsf@mauc.nl> <87wrg5905c.fsf@yoom.home.cworth.org>
\r
44 Date: Tue, 28 Jun 2011 23:43:52 +0200
\r
45 In-Reply-To: <87wrg5905c.fsf@yoom.home.cworth.org> (Carl Worth's message of
\r
46 "Tue, 28 Jun 2011 13:22:23 -0700")
\r
47 Message-ID: <cuoliwlws13.fsf@mauc.nl>
\r
48 User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)
\r
50 Content-Type: text/plain
\r
51 Cc: notmuch@notmuchmail.org
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Tue, 28 Jun 2011 21:41:28 -0000
\r
67 Carl Worth <cworth@cworth.org> writes:>
\r
71 > First, it's important to understand that any friction here comes from
\r
72 > Gmail exposing its tags as folders, (which in turn could be the lack of
\r
73 > availability of a more tag-aware protocol than imap).
\r
76 I agree that this is the key issue here.
\r
77 I was hoping that google somehow was able to expose the tags in the "All
\r
78 Mail" folder, like the headers that are gmail specific: X-pstn-nxpr and X-pstn-nxp (which contains a
\r
82 > So, let's say you've done an imap-based fetch of all of your mail and
\r
83 > now have it in several folders corresponding to the various tags you
\r
84 > made in the Gmail interface, (and you've run "notmuch new" to create a
\r
85 > notmuch database of all of that).
\r
87 > At that point, you can search (with current notmuch from git---and soon
\r
88 > to be released as notmuch 0.6) on the folder names. This allows you to
\r
89 > do a search based on a Gmail tag. For example, you might have an
\r
90 > "important" tag in Gmail which you could search with:
\r
92 > notmuch search folder:important
\r
94 ah, I have the ubuntu version, will update to git soon.
\r
97 > If you wanted to make an actual notmuch tag based on those search
\r
98 > results, you could do that as well:
\r
100 > notmuch tag +important folder:important
\r
102 > And you could even do that on a regular basis, (for example in some
\r
103 > script that sucks down new email from Gmail). In this case you might
\r
104 > want to avoid re-tagging pre-tagged mail by amending the search terms:
\r
106 > notmuch tag +important folder:important and not tag:important
\r
108 > (Note that this is an optimization that notmuch could be making
\r
109 > automatically, and that's something I'd love to see happen in notmuch at
\r
112 > Hopefully it's clear enough that you could do the above in a script that
\r
113 > loops over all of your existing tags.
\r
115 > And if you were doing a one-time switch from Gmail to notmuch that would
\r
116 > be all you would need.
\r
118 > I don't know if you're looking to also push tags added via some notmuch
\r
119 > interface back to Gmail, (does Gmail even provide a mechanism for doing
\r
120 > that?). If so, then you'd need something that took notmuch tags and made
\r
121 > copies of the message in the appropriate files. That would hopefully be
\r
122 > easy to script based on the output of:
\r
124 > notmuch search --output=files tag:important
\r
126 > I think my short answer is that it's fairly easy to convert from Gmail
\r
127 > tags to notmuch tags as part of a one-time import. Doing this on a
\r
128 > continual basis might benefit from writing a few scripts, and I don't
\r
129 > know if anyone has written those scripts yet.
\r
131 > Would any Gmail+notmuch users care to add anything to the conversation?
\r
136 now using gnus still, b/c notmuch does not build for the N900 (bummer)
\r