--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id D43156DE0274\r
+ for <notmuch@notmuchmail.org>; Thu, 30 Apr 2015 22:58:54 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.326\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.326 tagged_above=-999 required=5 tests=[AWL=0.326]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id xyqejh7TZaQt for <notmuch@notmuchmail.org>;\r
+ Thu, 30 Apr 2015 22:58:52 -0700 (PDT)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+ [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id B8E4F6DE0140\r
+ for <notmuch@notmuchmail.org>; Thu, 30 Apr 2015 22:58:52 -0700 (PDT)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+ 4.80) (envelope-from <david@tethera.net>)\r
+ id 1Yo3x3-0003H4-JI; Fri, 01 May 2015 05:57:29 +0000\r
+Received: (nullmailer pid 940 invoked by uid 1000); Fri, 01 May 2015 05:57:11\r
+ -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Jack Peirce <JPeirce@sourcecode.com>, "notmuch@notmuchmail.org"\r
+ <notmuch@notmuchmail.org>, "zack@upsilon.cc" <zack@upsilon.cc>\r
+Subject: Re: notmuch-mutt BSD compatibility\r
+In-Reply-To: <20150501052438.GA19579@ganesh.Home>\r
+References: <20150501052438.GA19579@ganesh.Home>\r
+User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 01 May 2015 14:57:11 +0900\r
+Message-ID: <871tj0et6w.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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, 01 May 2015 05:58:54 -0000\r
+\r
+Jack Peirce <JPeirce@sourcecode.com> writes:\r
+0 2015\r
+> +++ new/contrib/notmuch-mutt/notmuch-mutt Thu Apr 30 23:10:21 2015\r
+> @@ -50,7 +50,7 @@\r
+> empty_maildir($maildir);\r
+> system("notmuch search --output=files $dup_option $query"\r
+> . " | sed -e 's: :\\\\ :g'"\r
+> - . " | xargs --no-run-if-empty ln -s -t $maildir/cur/");\r
+> + . " | xargs -r -I searchoutput ln -s searchoutput $maildir/cur/");\r
+> }\r
+\r
+Recent notmuch (since 0.15, January 2013!) has the --format=text0 option for\r
+use with xargs -0.\r
+\r
+d\r