From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 7650C6DE1534 for ; Wed, 29 Mar 2017 03:34:15 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NqCefqycW12v for ; Wed, 29 Mar 2017 03:34:14 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 5617B6DE1532 for ; Wed, 29 Mar 2017 03:34:14 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1ctAus-0003SJ-CC; Wed, 29 Mar 2017 06:33:26 -0400 Received: (nullmailer pid 19607 invoked by uid 1000); Wed, 29 Mar 2017 10:34:08 -0000 From: David Bremner To: David Edmondson , notmuch@notmuchmail.org Subject: Re: "search --path=directory/" is lame(-ish) In-Reply-To: References: Date: Wed, 29 Mar 2017 07:34:08 -0300 Message-ID: <871stgid7j.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2017 10:34:15 -0000 David Edmondson writes: > Adding a terminal slash to a directory name when using --path causes the > search to fail. Removing the terminal slash produces results. > > Given that many shells will add the terminal slash during completion, > this is lame(-ish). This would be relatively straightforward to impliment on top of id:20170324121436.28978-2-david@tethera.net In particular add a filter to strip trailing / in the non-regex case. d