--- /dev/null
+Return-Path: <bremner@pivot.cs.unb.ca>\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 B0278429E30\r
+ for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 12:28:20 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] 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 JQUaNQjK6MJs for <notmuch@notmuchmail.org>;\r
+ Tue, 13 Dec 2011 12:28:19 -0800 (PST)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 274E3429E27\r
+ for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 12:28:18 -0800 (PST)\r
+Received: from convex-new.cs.unb.ca ([131.202.13.154])\r
+ by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBDKSAR8002923;\r
+ Tue, 13 Dec 2011 16:28:10 -0400\r
+Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72)\r
+ (envelope-from <bremner@pivot.cs.unb.ca>)\r
+ id 1RaYxO-0001xF-DR; Tue, 13 Dec 2011 16:28:10 -0400\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: New Dump/Restore Format\r
+Date: Tue, 13 Dec 2011 16:27:49 -0400\r
+Message-Id: <1323808075-7417-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 1.7.5.4\r
+Cc: pere@hungry.com\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: Tue, 13 Dec 2011 20:28:20 -0000\r
+\r
+Hi All;\r
+\r
+There are some style/doc issues remaining, but because bugs in dump\r
+and restore really suck, I thought I would ask for early feedback on\r
+functionality. I'm particularly interested in how the new dump format\r
+works for weird message-ids (spaces and so on). If you have public\r
+messages with tricky message-id's, I'd appreciate adding those\r
+messages to the test suite.\r
+\r
+Things to bikeshed now: name(s) of the formats; sup and notmuch are\r
+maybe not ideal. The format itself? The encoding format? The latter\r
+is chosen for compatibility with nmbug, but we could discussing using\r
+a bigger character set.\r
+\r
+Things I know about\r
+ \r
+ - not enough tests\r
+ - no man page, online docs.\r
+ - no API docs for hex_encode/blah.\r
+\r
+I think the code in hex-escape.[ch] is otherwise ready for (second)\r
+review; I'll probably do another review of the code in\r
+notmuch-(dump|restore).c myself for clarity, so you might want to wait\r
+for the next round before diving in.\r
+\r
+If you prefer pull from git, you can get these patches on branch "new-dump" \r
+at git://pivot.cs.unb.ca/notmuch.git\r
+\r