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 E05E76DE00F5 for ; Tue, 13 Jun 2017 17:24:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.235 X-Spam-Level: X-Spam-Status: No, score=0.235 tagged_above=-999 required=5 tests=[AWL=-0.639, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_SBL=0.644, URIBL_SBL_A=0.1] 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 ZpOksfLT13ih for ; Tue, 13 Jun 2017 17:24:23 -0700 (PDT) Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) by arlo.cworth.org (Postfix) with ESMTPS id 509E56DE0008 for ; Tue, 13 Jun 2017 17:24:23 -0700 (PDT) Received: by mail-qt0-f170.google.com with SMTP id u12so193197862qth.0 for ; Tue, 13 Jun 2017 17:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GW3cr9hbcgW9Fjo5SVzoeLlu7JCuvyTX024udhQz7uI=; b=KrozQnPGwSiQaLlrX6GnDLZjEXfyJi9f+JaC9N0YKK82uIfgG8RcNC2PDHrHsiS1f1 xbVTsxx7UPGtg9th6t87rmwACbkd+TvjA64EAtXgDPkgttZnfPSIwqHM3ePOFBLYK0VF r/zXCUe6l/hX54r85qN0hkew7+XcQQxIj+Jg2qA3MBz6ey9MutBH9q2WvChVyWYnQJr9 27pWR4WXmbnvs737IJyzZ/bdkP/ZjUukWXM4IS9RzTu7qMatpltD2pqnZ2lTbzC0iN+L gkv8nTXT0B9A53cDK9+HlLMo4yfCBQ9yiOn5fbN9jo8iXCzotnTpPxEFZRiZ4YN8z1gq 8iJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GW3cr9hbcgW9Fjo5SVzoeLlu7JCuvyTX024udhQz7uI=; b=KeBKxVKvVv1yUlZgFBdLv0/B2bvnK6rpc0TYp2N2UNAZryC6tywO5K9BOKHbr/2C8G nhGT8p4Z9UiJSUAhP7bQMaAmnX/uhzAjjtA723JYVbwE/dNXx+q+kWRQSqM17OWe8IxW 6TkYs6AQsmcaUlQl5oHbUcPzyFXE0piCRUVayvbGQMOZXg4cf5hT25X+26WBiTlJGb9v cVANqb/bsNHb2B7H6abeDG/sI6GP1DYfJwKnWd4EP6acXU0dGSBuEZsjomTBh2Y3eqkn u2c+wkC0SC9p+a2pKGaiUC0nFVEd7yhkjSCUczJSv8glTeAyY8jVgXe2tVX8NwBChY+f AXtA== X-Gm-Message-State: AKS2vOxLbQICv5OWXGLYsQ8LFD5a+6wsVAx6oRaZcWif799beiElJBJ+ 4CvpLci6uAOKYu3HQ0C46jIaAILJBA== X-Received: by 10.237.47.228 with SMTP id m91mr3436740qtd.242.1497399862348; Tue, 13 Jun 2017 17:24:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.178.144 with HTTP; Tue, 13 Jun 2017 17:24:21 -0700 (PDT) In-Reply-To: <87bmprtqgo.fsf@tethera.net> References: <87bmprtqgo.fsf@tethera.net> From: Xu Wang Date: Tue, 13 Jun 2017 20:24:21 -0400 Message-ID: Subject: Re: find threads where I and Jian participated but not Dave To: David Bremner Cc: notmuch@notmuchmail.org Content-Type: text/plain; charset="UTF-8" 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: Wed, 14 Jun 2017 00:24:25 -0000 ooo that is nice also. I will look into that. I think it is a good approach. Kind regards to everyone! Xu On Tue, Jun 13, 2017 at 7:31 PM, David Bremner wrote: > 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 >