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 A73626DE2B71 for ; Wed, 21 Jun 2017 23:08:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.115 X-Spam-Level: X-Spam-Status: No, score=-0.115 tagged_above=-999 required=5 tests=[AWL=-0.095, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 uXSsqO0px1Mt for ; Wed, 21 Jun 2017 23:08:21 -0700 (PDT) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by arlo.cworth.org (Postfix) with ESMTPS id 3275D6DE2B66 for ; Wed, 21 Jun 2017 23:08:21 -0700 (PDT) Received: by mail-lf0-f48.google.com with SMTP id p189so3159575lfe.2 for ; Wed, 21 Jun 2017 23:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaute-vetsj-com.20150623.gappssmtp.com; s=20150623; h=date:from:subject:to:references:in-reply-to:user-agent:message-id :mime-version; bh=Ma3L+GC7/G3jYoaxM+ij4XlFKFaEhpTcQfuwCN9ojs4=; b=D+lqlQTMRj1VdDcwV0T66AgFB4n4QR7+7kZnzWa3PR5SCvHvHEPnJqbdnhbs8GkCON /WPDde5Fa3rmG88CyDy9lRXgAVWtsb1s95dscYWNY9RyUzxcbO0R3AHa5auByhcL+AQT Rglr0nP91qpZEpNSNKcYmMpK45Tq4McLpoMZ0BlJYwaZrjbX4sUebLTdS6E/DPpa07nv dALh5h0sFIliOyAHftixoRbR6wW2j1FnnBdboEHmukAji8TW1NbQ2EMwMl1RoSHgw195 xhDkus0aMjYwY24jD7rVYcv7zmYYr6zKqcgPXbiM/0kWTYgYYL/al1KQ9NTud6fZ27/X v4uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:references:in-reply-to :user-agent:message-id:mime-version; bh=Ma3L+GC7/G3jYoaxM+ij4XlFKFaEhpTcQfuwCN9ojs4=; b=uN62BqsHY0XFaUH2wE/Wcx1EOH0tiZbEqUP/yo8b3VFz4kqzCrJhnmjLJ3Qu7/G0Lk 7M18NlszaXiZbc/1BlUxXnTuZVscvjhyMJmeravtcdjvna7Frzvan98yBp9q6hnS0lay BCk517qGxxTjWqFyC4fi54AXm+C7GSsLpzYSkv5T3QixxkHq9oQnC1EzzJPy8M7Lps8a NoOpfgJQax889CTgcMN9sxOZPirOekfUI9fEusVzx0Gwf9BEhhLD0KAGPukEnq61gWPx lHw2YuFjSK800Q35QjbmfIgB9loGfBfwJPXLYbrHIMz9cnIFr72On3QBeTRNvi8T30A3 oRpg== X-Gm-Message-State: AKS2vOxjhoop999pUHbvvA/G5o87DOvg7P2xjynGx0tHCXa4UGlu1Rl1 MVGEL+qGEjrVpJMU X-Received: by 10.46.82.217 with SMTP id n86mr275368lje.58.1498111698807; Wed, 21 Jun 2017 23:08:18 -0700 (PDT) Received: from localhost (cm-84.215.128.252.getinternet.no. [84.215.128.252]) by smtp.gmail.com with ESMTPSA id r27sm210580lfi.4.2017.06.21.23.08.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Jun 2017 23:08:17 -0700 (PDT) Date: Thu, 22 Jun 2017 06:08:13 +0000 From: Gaute Hope Subject: Re: find threads where I and Jian participated but not Dave To: David Bremner , Daniel Kahn Gillmor , Matt Armstrong , notmuch@notmuchmail.org, Xu Wang References: <87bmprtqgo.fsf@tethera.net> <87fuf1nnl5.fsf@fifthhorseman.net> <8737b1rojw.fsf@tethera.net> <1497594312.ahjx44w937.astroid@strange.none> <87r2ydgh9t.fsf@fifthhorseman.net> In-Reply-To: <87r2ydgh9t.fsf@fifthhorseman.net> User-Agent: astroid/v0.9.1-33-g3cd64473 (https://github.com/astroidmail/astroid) Message-Id: <1498111587.9x086zp6wn.astroid@strange.none> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="=-DMD5JytCMJNKXCzTSMIx" 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: Thu, 22 Jun 2017 06:08:22 -0000 --=-DMD5JytCMJNKXCzTSMIx Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Daniel Kahn Gillmor writes on juni 21, 2017 23:30: > On Wed 2017-06-21 13:04:53 -0700, Matt Armstrong wrote: >> For what it is worth, I've found this idea from Daniel intriguing and >> pretty useful in practice: >> >> "show me threads in which i've participated, where there are some >> messages flagged with 'inbox'" >> >> I implement it like this in my post-new hook: >> >> # All messages in threads in which I participate get tag:participate= d >> notmuch search --output=3Dthreads from:marmstrong | \ >> sed -e 's,^,+participated -- ,' | \ >> notmuch tag --batch >=20 > cool, thx for the suggestion. >=20 > the "notmuch search" part of the pipeline alone takes ~19s (wall time, > and actual CPU time) for me though :/ It returns 30504 threads! how > many threads do you get? Is there any reason why you do not filter on a tag 'new' as well? notmuch search --output=3Dthreads from:marmstrong and tag:new | \ sed -e 's,^,+participated -- ,' | \ notmuch tag --batch Regards, Gaute = --=-DMD5JytCMJNKXCzTSMIx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwTgvpR+zk9CtKEuvmCen6KB0kCMFAllLXs0ACgkQmCen6KB0 kCONDxAAjqRD6fASEaDWhpPjn0/fFet6DrxOdbzTnlYOe3fX3DZNLLXuG/a4fKsn O3it1lm7Nyd5T3GlMM+THtNGbaiRKXcW2yNKzwWVgy/2ovW3dHFdqQMWeId5DO2d LNu1e4NRs3LCYQ/kWX6cpGWikzzxlOEJSzT7mUkYFVmp/WaECTkyJWcckKamfm6h 0e64Zcv8EWTblGF0ENrcas+A8YJGWoYIDEwNd3OxqmCqNmy2U4GcMuWieVZruwtG dJx8l4sR6vEsk8biDyLtkCXc/snuZLNrzOWmc0ipoO31WAgPl2FiSazm+LkLGoDI HqgDGqXaoOOzP33jcAmyJeGmK/kNyAVgyTFyNXSLgoRBmrCqI99kRC2qKnF9vdur /qr05KXPgW6OP65ZK1TehsHM6d2yGmAUud4wYirD1Qs3+Oi/dAJzdsLdLR9ge+Vr myDxnJCIE5mBhqe9qexc3JZNUWr0icfkC4FQPq7C9inFjZKeOKhoyW1zA8n2755M PXI4QBMOS653H2VMRAs5tLknY1yjGwjXfA3+SIMXE4xg/YWY5B/VQ5+OstxuT9mP Ob00oIdL+ylHD3LwOwJEyWHlQVgRZ3AATL400EvFABB0n53uUzFfzRT8cyDkxaOs i2yY24zW10VObbyFNwiiCdI50ZU76DWjqEkRVM/gygmhOYYF0q8= =yZe6 -----END PGP SIGNATURE----- --=-DMD5JytCMJNKXCzTSMIx--