[PATCH 6/8] CLI: refactor dumping of tags.
[notmuch-archives.git] / 5d / 4a1fbfdba2b7373ce1999e61864c6e9f347998
1 Return-Path: <bremner@pivot.cs.unb.ca>\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 CECD4431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 26 Dec 2009 12:17:00 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id l0pKd724N9Y9 for <notmuch@notmuchmail.org>;\r
11         Sat, 26 Dec 2009 12:17:00 -0800 (PST)\r
12 Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57])\r
13         by olra.theworths.org (Postfix) with ESMTP id 0A9CD431FAE\r
14         for <notmuch@notmuchmail.org>; Sat, 26 Dec 2009 12:16:59 -0800 (PST)\r
15 Received: from\r
16         fctnnbsc30w-142167182194.pppoe-dynamic.high-speed.nb.bellaliant.net\r
17         ([142.167.182.194] helo=rocinante.cs.unb.ca)\r
18         by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)\r
19         (Exim 4.69) (envelope-from <bremner@pivot.cs.unb.ca>)\r
20         id 1NOd4J-0001OB-Vk; Sat, 26 Dec 2009 16:16:56 -0400\r
21 Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.71)\r
22         (envelope-from <bremner@rocinante.cs.unb.ca>)\r
23         id 1NOd2X-00005s-6F; Sat, 26 Dec 2009 16:15:05 -0400\r
24 From: David Bremner <bremner@unb.ca>\r
25 To: micah anderson <micah@riseup.net>, Jameson Graef Rollins\r
26         <jrollins@finestructure.net>, notmuch@notmuchmail.org\r
27 In-Reply-To: <87ws094k55.fsf@lillypad.riseup.net>\r
28 References: <87tyvenwdw.fsf@servo.finestructure.net>\r
29         <87ws09af52.fsf@rocinante.cs.unb.ca>\r
30         <87ws094k55.fsf@lillypad.riseup.net>\r
31 Date: Sat, 26 Dec 2009 16:15:04 -0400\r
32 Message-ID: <87tyvda3w7.fsf@rocinante.cs.unb.ca>\r
33 MIME-Version: 1.0\r
34 Content-Type: text/plain; charset=us-ascii\r
35 X-Sender-Verified: bremner@pivot.cs.unb.ca\r
36 Subject: Re: [notmuch] update on delete/rename support\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.12\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sat, 26 Dec 2009 20:17:01 -0000\r
50 \r
51 On Sat, 26 Dec 2009 14:20:38 -0500, micah anderson <micah@riseup.net> wrote:\r
52\r
53 > >You may have to wrap your "notmuch new" call in a "notmuch save",\r
54 > >"notmuch restore" pair if you discover things coming back to your\r
55 > >inbox\r
56\r
57 > do you mean "notmuch dump" here instead of "notmuch save"?\r
58 \r
59 Yes, sorry.\r
60 \r
61 \r
62 > I'm trying to unpack what you are saying here. Are you saying that if\r
63 > you are getting things coming back into your inbox, and you have not\r
64 > applied your "lazy restore" patch, then you would need a script to check\r
65 > your email which does:\r
66\r
67 > notmuch dump > /tmp/notmuch.dump\r
68 > offlineimap \r
69 > notmuch new\r
70 > notmuch restore < /tmp/notmuch.dump\r
71 \r
72 The script is the same in both cases, but without my patch, it takes\r
73 more like 10 minutes for me.\r
74 \r
75 d\r
76 \r