From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 98EE96DE00F5 for ; Tue, 13 Jun 2017 16:31:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jRmoOqf6NfxW for ; Tue, 13 Jun 2017 16:31:24 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id E2A3C6DE0008 for ; Tue, 13 Jun 2017 16:31:23 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1dKvEM-0005Kk-J7; Tue, 13 Jun 2017 19:28:14 -0400 Received: (nullmailer pid 8230 invoked by uid 1000); Tue, 13 Jun 2017 23:31:19 -0000 From: David Bremner To: Xu Wang , notmuch@notmuchmail.org Subject: Re: find threads where I and Jian participated but not Dave In-Reply-To: References: Date: Tue, 13 Jun 2017 20:31:19 -0300 Message-ID: <87bmprtqgo.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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 Jun 2017 23:31:24 -0000 Xu Wang writes: > I bump this. Actually more simple than that, how to search for thread > in which I have participated and Jian has participated? Excluding > threads in which Dave participated is perhaps more complicated. I don't know of an efficient way to do this. You could write a script something like notmuch search --output=threads from:Xu > A notmuch search --output=threads from:Jian > B comm -12 A B I think the output is sorted, but you might also have to sort A and B