--- /dev/null
+Return-Path: <tomi.ollila@iki.fi>\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 75E79431FAF\r
+ for <notmuch@notmuchmail.org>; Tue, 21 Aug 2012 08:25:00 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ 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 P08BWqpOKhp5 for <notmuch@notmuchmail.org>;\r
+ Tue, 21 Aug 2012 08:24:59 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by olra.theworths.org (Postfix) with ESMTP id E8AC8431FAE\r
+ for <notmuch@notmuchmail.org>; Tue, 21 Aug 2012 08:24:58 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+ id 507C6100386; Tue, 21 Aug 2012 18:25:06 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Ben Gamari <bgamari.foss@gmail.com>, Jani Nikula <jani@nikula.org>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: [PATCH RFC?] Compactification support\r
+In-Reply-To: <87zk5oz4fh.fsf@gmail.com>\r
+References: <1345476704-17091-1-git-send-email-bgamari.foss@gmail.com>\r
+ <87boi41xdu.fsf@nikula.org> <87zk5oz4fh.fsf@gmail.com>\r
+User-Agent: Notmuch/0.14+8~gd6b499d (http://notmuchmail.org) Emacs/23.1.1\r
+ (x86_64-redhat-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+ $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+ !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Tue, 21 Aug 2012 18:25:06 +0300\r
+Message-ID: <m2wr0s6ze5.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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, 21 Aug 2012 15:25:00 -0000\r
+\r
+On Tue, Aug 21 2012, Ben Gamari <bgamari.foss@gmail.com> wrote:\r
+\r
+> Jani Nikula <jani@nikula.org> writes:\r
+>\r
+>> On Mon, 20 Aug 2012, Ben Gamari <bgamari.foss@gmail.com> wrote:\r
+>>> Here is a small patchset adding support for database compaction when\r
+>>> supported by Xapian. Here I add a function which both compacts and\r
+>>> closes the database.\r
+>>\r
+>> What are the benefits of this compared to xapian-compact [1]?\r
+>>\r
+> I think it's a bit of a shame you are currently forced to interact with\r
+> Xapian directly (an implementation detail) to compact the database. This\r
+> set seeks to abstract this out. This is especially important since it's\r
+> not too difficult to get the invocation of xapian-compact wrong\r
+> (e.g. forget --no-renumber).\r
+\r
+Better reason would be that xapian-compact(1) may not be available although\r
+the library is -- if the command is available it is easy to execve(2) it\r
+with correct arguments... (?)\r
+\r
+Tomi\r
+\r
+> Also, in the past Carl (id:"87ocl1lut1.fsf@yoom.home.cworth.org") has\r
+> mentioned it would be nice if compact would be run after the initial run\r
+> of "notmuch new". This patchset sets the groundwork to enable this.\r
+>\r
+> Cheers,\r
+>\r
+> - Ben\r