Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 42 / 81c82f8f223991e8a8d9ab6d43e50001cf45e1
1 Return-Path: <rlb@defaultvalue.org>\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 44A12431FBD\r
6         for <notmuch@notmuchmail.org>; Fri, 31 Jan 2014 11:19:54 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 l4YU-mL87D-A for <notmuch@notmuchmail.org>;\r
16         Fri, 31 Jan 2014 11:19:49 -0800 (PST)\r
17 Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])\r
18         by olra.theworths.org (Postfix) with ESMTP id 52FF8431FB6\r
19         for <notmuch@notmuchmail.org>; Fri, 31 Jan 2014 11:19:49 -0800 (PST)\r
20 Received: from trouble.defaultvalue.org (localhost [127.0.0.1])\r
21         (Authenticated sender: rlb@defaultvalue.org)\r
22         by defaultvalue.org (Postfix) with ESMTPSA id D62DC90D2B;\r
23         Fri, 31 Jan 2014 13:19:47 -0600 (CST)\r
24 Received: by trouble.defaultvalue.org (Postfix, from userid 1000)\r
25         id 25B3514E14E; Fri, 31 Jan 2014 13:19:47 -0600 (CST)\r
26 From: Rob Browning <rlb@defaultvalue.org>\r
27 To: Austin Clements <amdragon@MIT.EDU>\r
28 Subject: Re: [PATCH 0/5] lib: make folder: prefix literal\r
29 References: <cover.1389304779.git.jani@nikula.org>\r
30         <87y525m649.fsf@awakening.csail.mit.edu> <87r47wfltb.fsf@nikula.org>\r
31         <87iot8f4vg.fsf@nikula.org> <20140130220234.GI4375@mit.edu>\r
32 Date: Fri, 31 Jan 2014 13:19:47 -0600\r
33 In-Reply-To: <20140130220234.GI4375@mit.edu> (Austin Clements's message of\r
34         "Thu, 30 Jan 2014 17:02:34 -0500")\r
35 Message-ID: <871tzovu0c.fsf@trouble.defaultvalue.org>\r
36 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 Cc: notmuch@notmuchmail.org\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Fri, 31 Jan 2014 19:19:54 -0000\r
53 \r
54 Austin Clements <amdragon@MIT.EDU> writes:\r
55 \r
56 > folder: could work the way I suggested (simply the path to the file,\r
57 > with {cur,new} stripped off).\r
58 \r
59 Hmm, so would notmuch try to guess whether or not it's dealing with a\r
60 maildir++ tree, and if so convert folder:foo to a search of .foo, and/or\r
61 folder:foo/bar to .foo.bar?  Or would the user just need to know to say\r
62 folder:.foo and folder:.foo.bar?\r
63 \r
64 And if we're only planning special treatment for for maildir-like\r
65 stores, then I wonder if the term should just be maildir:?\r
66 \r
67 Though folder: would make more sense if the long-term goal was to have a\r
68 "DTRT" term.  But in that case, I wonder if it might eventually be\r
69 expected to support mixed trees, i.e. say a tree containing maildir++\r
70 and mh subdirs, and if so, how that should be handled.\r
71 \r
72 > many shells support "**" for recursive path matching and people are\r
73 > already quite familiar with glob patterns for paths, so why not simply\r
74 > adopt this?\r
75 \r
76 rsync too.\r
77 \r
78 -- \r
79 Rob Browning\r
80 rlb @defaultvalue.org and @debian.org\r
81 GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A\r
82 GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4\r