From 6a641a6f51556771edb055d9501225dc0c8d9276 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Wed, 29 Oct 2014 17:07:44 +0000 Subject: [PATCH] "search --path=directory/" is lame(-ish) --- 5a/2ea611849f59c1b77b2d64b0024c841a15713b | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 5a/2ea611849f59c1b77b2d64b0024c841a15713b diff --git a/5a/2ea611849f59c1b77b2d64b0024c841a15713b b/5a/2ea611849f59c1b77b2d64b0024c841a15713b new file mode 100644 index 000000000..d1b00f100 --- /dev/null +++ b/5a/2ea611849f59c1b77b2d64b0024c841a15713b @@ -0,0 +1,76 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1F7DB431FC2 + for ; Wed, 29 Oct 2014 10:07:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id adEJWweTrgPL for ; + Wed, 29 Oct 2014 10:07:55 -0700 (PDT) +Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com + [74.125.82.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 6B02F431FB6 for ; Wed, 29 Oct 2014 10:07:55 -0700 + (PDT) +Received: by mail-wg0-f54.google.com with SMTP id m15so2396644wgh.27 + for ; Wed, 29 Oct 2014 10:07:52 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:to:subject:user-agent:from:date:message-id + :mime-version:content-type; + bh=c9Vh9yzgOuDfPWQc8sqC/ObVilwiX9yQgitrPAzr2H8=; + b=XjIZtlxHJTCzj8CnEiVgl/z3N0Mt6ObCenUIWMnv8dnAXfN+BJP1t5R18YTAeVXzi7 + E2styuHh0kpAAYQj0XoTgV2zVaSrEKYheMWHm53/VxkLDRu4IeY9jWXpSEmoYhJYJZ0o + FQzWSKg/zLW8gVBSl+ggNaZTWQxUg2I76XFKeVuuPJQWvzBU4R19pUwxn/jrLWmhgSKE + Xkww6nhyb5jmAgk8547zi8/UUIkJ+HXGLaLhIos58BZKyYuu/ak9djzbdeB9pqMKU8Ay + qCYz14tPYaE8AHADPuTBL9vsjShzM2UPhTJzee8RbQGSj5iWXD0KLZmHnH4x9a8o59pl + opPw== +X-Gm-Message-State: + ALoCoQmkwhTz29hHD85CE/d9ftVkQwZzuMAUdJT0Xn6qr7uR8Rzl9mVCD/Q+JPY3VOTlgug75XOg +X-Received: by 10.180.188.41 with SMTP id fx9mr13773447wic.59.1414602472795; + Wed, 29 Oct 2014 10:07:52 -0700 (PDT) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by mx.google.com with ESMTPSA id bq8sm5828624wjb.6.2014.10.29.10.07.51 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Wed, 29 Oct 2014 10:07:51 -0700 (PDT) +Received: from localhost (30000@localhost [local]); + by localhost (OpenSMTPD) with ESMTPA id 7287ee51; + Wed, 29 Oct 2014 17:07:44 +0000 (UTC) +To: notmuch@notmuchmail.org +Subject: "search --path=directory/" is lame(-ish) +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +From: David Edmondson +Date: Wed, 29 Oct 2014 17:07:44 +0000 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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 Oct 2014 17:07:59 -0000 + +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). -- 2.26.2