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 30D174196F0 for ; Fri, 9 Apr 2010 19:42:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham 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 UohZ+3VKdnfU for ; Fri, 9 Apr 2010 19:42:52 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by olra.theworths.org (Postfix) with ESMTP id 316F1431FC1 for ; Fri, 9 Apr 2010 19:42:52 -0700 (PDT) Received: from localhost ([::1] helo=localhost.localdomain) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1O0Qeo-00033C-8a; Sat, 10 Apr 2010 02:42:50 +0000 Received: by localhost.localdomain (Postfix, from userid 500) id 8D972C00E1; Fri, 9 Apr 2010 19:42:49 -0700 (PDT) From: Dirk Hohndel To: Michal Sojka , notmuch Subject: Re: [RFC] reordering and cleanup of thread authors In-Reply-To: <87aatcysw8.fsf@wsheee.localdomain> References: <87zl1d5fc0.fsf@steelpick.2x.cz> <87aatcysw8.fsf@wsheee.localdomain> Date: Fri, 09 Apr 2010 19:42:49 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html 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: Sat, 10 Apr 2010 02:42:53 -0000 On Sat, 10 Apr 2010 03:53:59 +0200, Michal Sojka wrote: > I think that using | as a separator would help here. Let's say that > initially we have "Matched Author, Non Matched, Matched Again" we can > tranform this to "Matched Author, Matched Again| Non Matched". This way, > the length of the string remains the same. If there is no | after > transformation, we know that all authors matched because there is always > at least one mathed author in the search results. That's a great idea. I'll update the patch to do that. /D -- Dirk Hohndel Intel Open Source Technology Center