Re: [PATCH 0/5] lib: make folder: prefix literal
authorRob Browning <rlb@defaultvalue.org>
Fri, 31 Jan 2014 19:19:47 +0000 (13:19 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:31 +0000 (09:59 -0800)
42/81c82f8f223991e8a8d9ab6d43e50001cf45e1 [new file with mode: 0644]

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