1 Return-Path: <prvs=253dbfd03=jrosenthal@jhu.edu>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id C7DFF431FD0
\r
6 for <notmuch@notmuchmail.org>; Thu, 6 Oct 2011 13:40:02 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id P4ojXgOAFvTl for <notmuch@notmuchmail.org>;
\r
16 Thu, 6 Oct 2011 13:40:02 -0700 (PDT)
\r
17 Received: from ipex3.johnshopkins.edu (ipex3.johnshopkins.edu
\r
18 [128.220.161.140]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 2A180431FB6
\r
21 for <notmuch@notmuchmail.org>; Thu, 6 Oct 2011 13:40:02 -0700 (PDT)
\r
22 X-IronPort-Anti-Spam-Filtered: true
\r
23 X-IronPort-Anti-Spam-Result:
\r
24 Ap0EAAASjk4KoSAO/2dsb2JhbABCqTiBUwEBBTpPCxgJJQ8BHCsGARK3VYkBhywEk26RYg
\r
25 X-IronPort-AV: E=Sophos;i="4.68,498,1312171200"; d="scan'208";a="149255726"
\r
26 Received: from watt.hwcampus.jhu.edu ([10.161.32.14])
\r
27 by ipex3.johnshopkins.edu with ESMTP/TLS/ADH-AES256-SHA;
\r
28 06 Oct 2011 16:40:00 -0400
\r
29 Received: by watt.hwcampus.jhu.edu (Postfix, from userid 502)
\r
30 id DAD47A49B0C; Thu, 6 Oct 2011 16:40:00 -0400 (EDT)
\r
31 From: Jesse Rosenthal <jrosenthal@jhu.edu>
\r
32 To: David Bremner <david@tethera.net>,
\r
33 Jameson Graef Rollins <jrollins@finestructure.net>,
\r
34 Notmuch Mail <notmuch@notmuchmail.org>
\r
35 Subject: Re: tag sharing
\r
36 In-Reply-To: <87zkhduax2.fsf@convex-new.cs.unb.ca>
\r
37 References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net>
\r
38 <87hb8eebdi.fsf@servo.factory.finestructure.net>
\r
39 <87pqmyn224.fsf@servo.factory.finestructure.net>
\r
40 <87zklyjshd.fsf@yoom.home.cworth.org>
\r
41 <87sjrng5k3.fsf@servo.factory.finestructure.net>
\r
42 <87oc2bjgrs.fsf@yoom.home.cworth.org>
\r
43 <8762oigc0y.fsf@servo.factory.finestructure.net>
\r
44 <87boya98sf.fsf@gogo.home>
\r
45 <87vcwg2p2m.fsf@servo.factory.finestructure.net>
\r
46 <87wrcijn1w.fsf@zancas.localnet>
\r
47 <m17h4i8dcj.fsf@watt.hwcampus.jhu.edu>
\r
48 <87ipo2td84.fsf@zancas.localnet>
\r
49 <m1sjn53npl.fsf@watt.hwcampus.jhu.edu>
\r
50 <87zkhduax2.fsf@convex-new.cs.unb.ca>
\r
51 User-Agent: Notmuch/unknown (http://notmuchmail.org) Emacs/23.2.1
\r
52 (x86_64-apple-darwin)
\r
53 Date: Thu, 06 Oct 2011 16:40:00 -0400
\r
54 Message-ID: <m1obxt3lcv.fsf@watt.hwcampus.jhu.edu>
\r
56 Content-Type: text/plain; charset=us-ascii
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Thu, 06 Oct 2011 20:40:02 -0000
\r
71 On Thu, 06 Oct 2011 17:23:21 -0300, David Bremner <david@tethera.net> wrote:
\r
72 > What doesn't work is searches for the whole namespace "notmuch search
\r
73 > tag:bremner.*" will return nothing, even though "notmuch search
\r
74 > tag:bremner.to-fix" does.
\r
76 A simple shell way to do this would be
\r
78 notmuch search-tags | grep "^bremner\." | xargs -I {} notmuch search tag:{}
\r
80 That's pretty quick over a fair amount of messages. It would be quicker,
\r
81 I imagine, if it did the grepping inside of a program, but this is still
\r
82 way down there in the subsecond range.
\r
84 NB. I don't have that many tags, so maybe the grepping step would bog
\r
85 down a bit if I had more. But I doubt someone would have that much more
\r