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 606A7418C25 for ; Tue, 13 Apr 2010 08:36:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=unavailable 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 ie2gjn-23Ke3 for ; Tue, 13 Apr 2010 08:36:38 -0700 (PDT) Received: from jameswestby.net (jameswestby.net [89.145.97.141]) by olra.theworths.org (Postfix) with ESMTP id 4D00A431FC1 for ; Tue, 13 Apr 2010 08:36:38 -0700 (PDT) Received: from cpc4-aztw22-2-0-cust59.aztw.cable.virginmedia.com ([94.169.116.60] helo=flash) by jameswestby.net with esmtpa (Exim 4.69) (envelope-from ) id 1O1iAG-0007KY-MD; Tue, 13 Apr 2010 16:36:36 +0100 Received: by flash (Postfix, from userid 1000) id A8A176E54D9; Tue, 13 Apr 2010 11:36:30 -0400 (EDT) From: James Westby To: Carl Worth , notmuch@notmuchmail.org Subject: Re: [notmuch] [PATCH] Store thread ids for messages that we haven't seen yet In-Reply-To: <87sk6ze5v3.fsf@yoom.home.cworth.org> References: <87fx72o8pq.fsf@yoom.home.cworth.org> <1268515677-12692-1-git-send-email-jw+debian@jameswestby.net> <87sk6ze5v3.fsf@yoom.home.cworth.org> Date: Tue, 13 Apr 2010 16:36:30 +0100 Message-ID: <874ojftldt.fsf@jameswestby.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Tue, 13 Apr 2010 15:36:40 -0000 On Tue, 13 Apr 2010 08:20:48 -0700, Carl Worth wrote: > Thanks for this patch, James! It's especially nice to have the fix come > in with additions to the test suite as well. Thanks for including a test suite I could add to! > I did split up the commit so the addition to the test suite happens > first. That way it's easy to test the test itself, (verifying that it > fails before the fix, and then passes after the fix). Your choice. I prefer putting them in the same commit to be more self-documenting, and then using the capabilities of my VCS to verify the change if i desire. > I also added a few documentation and other cleanups as follow-on > commits. Hopefully, they don't change the logic at all, but make things > easier to understand. > > So that's all pushed. Great, thanks. > Then, I started implementing support for retroactively storing > thread_ids for non-existing messages references in already-existing > messages. It took me perhaps too long that a change like that, (while > useful), is too invasive for the current 0.2 release, and not essential > for this particular feature. This would fix up threads for all existing messages? Probably a good thing to have, but not that important to me. In my case I can always open the bug in my browser if I want to see the full conversation. > So I've postponed that part at least. I hope to make a database-schema > upgrade a key part of a release in a couple of cycles, (for this > feature and for "list:" and "folder:"). Cool, I look forward to it. Thanks, James