Re: [PATCH 0/5] lib: make folder: prefix literal
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 5 Feb 2014 13:12:34 +0000 (15:12 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:45 +0000 (09:59 -0800)
ff/23dedee3da2148da84111fb9809839f42b769d [new file with mode: 0644]

diff --git a/ff/23dedee3da2148da84111fb9809839f42b769d b/ff/23dedee3da2148da84111fb9809839f42b769d
new file mode 100644 (file)
index 0000000..d7f4e30
--- /dev/null
@@ -0,0 +1,90 @@
+Return-Path: <tomi.ollila@iki.fi>\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 5EAB3431FBC\r
+       for <notmuch@notmuchmail.org>; Wed,  5 Feb 2014 05:12:47 -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 I03tUQmW5WdW for <notmuch@notmuchmail.org>;\r
+       Wed,  5 Feb 2014 05:12:43 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id A3C97431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  5 Feb 2014 05:12:43 -0800 (PST)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 023F7100033;\r
+       Wed,  5 Feb 2014 15:12:34 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Austin Clements <amdragon@MIT.EDU>, Jani Nikula <jani@nikula.org>\r
+Subject: Re: [PATCH 0/5] lib: make folder: prefix literal\r
+In-Reply-To: <20140204200249.GO4375@mit.edu>\r
+References: <cover.1389304779.git.jani@nikula.org>\r
+       <87y525m649.fsf@awakening.csail.mit.edu>\r
+       <87r47wfltb.fsf@nikula.org> <87iot8f4vg.fsf@nikula.org>\r
+       <20140130220234.GI4375@mit.edu> <87fvo2yjc4.fsf@nikula.org>\r
+       <20140204200249.GO4375@mit.edu>\r
+User-Agent: Notmuch/0.17+55~g4397960 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Wed, 05 Feb 2014 15:12:34 +0200\r
+Message-ID: <m2vbwtwvnh.fsf@guru.guru-group.fi>\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: Wed, 05 Feb 2014 13:12:47 -0000\r
+\r
+On Tue, Feb 04 2014, Austin Clements <amdragon@MIT.EDU> wrote:\r
+\r
+> Quoth Jani Nikula on Feb 01 at  4:54 pm:\r
+>\r
+>> I kind of like the "/**" suffix for recursive, but there's two small\r
+>> wrinkles: 1) it needs quoting on the command line (unlike my original\r
+>> suggestion of just "/" suffix), and 2) what should the top level\r
+>> recursive search be? path:"**" or path:"/**" or path:"./**"? I guess the\r
+>> first one is most obvious?\r
+>\r
+> The shell quoting is annoying, but depending on the shell, it should\r
+> at least give an error (zsh) or Just Work (apparently bash and sh pass\r
+> the unexpanded glob through if it doesn't match anything?).\r
+\r
+\r
+In zsh:\r
+\r
+$ echo whatever:/**\r
+whatever:/**\r
+\r
+Quick check with:\r
+ksh-20100621-12.el6.x86_64,\r
+dash-0.5.5.1-3.1.el6.x86_64\r
+busybox-1.15.1-20.el6.x86_64 (busybox sh & busybox ash)\r
+and\r
+http://sourceforge.net/projects/heirloom/files/heirloom-sh/050706/heirloom-sh-050706.tar.bz2/download\r
+\r
+all do the same (non-)expansion.\r
+\r
+\r
+I vaguely remember some shells did puke some error when expansion yielded\r
+no results... maybe some shell option does it. Definitely not mainstream\r
+feature.\r
+\r
+Tomi\r