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 AF503429E25 for ; Sat, 12 Nov 2011 08:32:44 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 9XacYUKbdlgY for ; Sat, 12 Nov 2011 08:32:44 -0800 (PST) Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU [18.7.68.36]) by olra.theworths.org (Postfix) with ESMTP id 0FCE9431FB6 for ; Sat, 12 Nov 2011 08:32:43 -0800 (PST) X-AuditID: 12074424-b7ef76d0000008dc-58-4ebe9fabcbdc Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id C4.37.02268.BAF9EBE4; Sat, 12 Nov 2011 11:32:43 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id pACGWgZA003320; Sat, 12 Nov 2011 11:32:43 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id pACGWdQb006989 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sat, 12 Nov 2011 11:32:40 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1RPGXm-0006w8-OW; Sat, 12 Nov 2011 11:35:02 -0500 Date: Sat, 12 Nov 2011 11:35:02 -0500 From: Austin Clements To: David Bremner Subject: Re: [PATCH 6/6] emacs: make `notmuch-search-operate-all' operate on threads, not messages Message-ID: <20111112163502.GE2658@mit.edu> References: <1310313335-4159-1-git-send-email-pieter@praet.org> <1310313335-4159-7-git-send-email-pieter@praet.org> <87fwht2u9k.fsf@rocinante.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fwht2u9k.fsf@rocinante.cs.unb.ca> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFKsWRmVeSWpSXmKPExsUixG6nrrt6/j4/g4avGhY3WrsZLa7fnMls 8fv1DWYHZo9nq24xe3Tsu8zqseXQe+YA5igum5TUnMyy1CJ9uwSujKOnNrIVTOequLb8C1MD 4wKOLkZODgkBE4ndc24wQ9hiEhfurWfrYuTiEBLYxyhx7c4CFghnA6PEu44eqMxJJon2BYeZ IJwljBJrPmxkAelnEVCVOHz6BzuIzSagIbFt/3JGEFsEKH5122Q2EJtZwFtiyZuvYLawQIrE spebwGxeAW2JPydmg80REpjDKLFlhQREXFDi5MwnLBC9WhI3/r0EWswBZEtLLP8H9gKngKHE 0gtfwVaJCqhITDm5jW0Co9AsJN2zkHTPQuhewMi8ilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdc LzezRC81pXQTIzjYXVR2MDYfUjrEKMDBqMTD652w10+INbGsuDL3EKMkB5OSKO+3Ofv8hPiS 8lMqMxKLM+KLSnNSiw8xSnAwK4nwrrYDyvGmJFZWpRblw6SkOViUxHltdjr4CQmkJ5akZqem FqQWwWRlODiUJHhVgFEtJFiUmp5akZaZU4KQZuLgBBnOAzT83DyQ4cUFibnFmekQ+VOMuhzr rjSfZhRiycvPS5US59UGGSQAUpRRmgc3B5akXjGKA70lzHsRZBQPMMHBTXoFtIQJaAmLwl6Q JSWJCCmpBkbhxQ9uH73VsTD2bG9Lxdb1ba+TD2bV89SdWHAuLn82U1rxYYV0BqaZN7tevu0N PTDl1MHMzBvOpRPvMXC7X81mqvNdJhLGnrkwgr3A06UuR8Uh6ZZko1mYhUMeQ8IG/TQdngOt SSyOHH9nHyxZuvXzl7BihUXyE7y6a8oXNLuzC7ldeK4eq8RSnJFoqMVcVJwIALYlC2ItAwAA Cc: Notmuch Mail 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, 12 Nov 2011 16:32:44 -0000 Quoth David Bremner on Nov 12 at 11:13 am: > On Sun, 10 Jul 2011 17:55:35 +0200, Pieter Praet wrote: > > In order to be consistent with `notmuch-search-{add,remove}-tag' ("+"/"-"), > > `notmuch-search-operate-all' ("*") should operate on matching threads > > instead of matching messages. > > > > As far as I can tell, the follow-up series for the race condition kindof > got stalled. Am I right in thinking this bug fix should still be > applied? I didn't see any review/feedback on the list. We concluded that fixing the tagging race correctly was actually a lot of work, which should be done but hasn't yet. We have to add message IDs or docids to the search results, which is difficult to do with the current text format, so rather than further entrenching ourselves, we should first we should migrate Emacs to using the JSON-based search output. However, this series doesn't actually have much to do with the race. I think the question here is whether notmuch-search-operate-all should affect only matched messages or entire threads. It seems to me it should affect all threads, since that's what you're seeing visually, but other people may disagree. The test patches seem reasonable, though they could use a little review before being pushed.