From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CCYfAyyJ8mHTBAAAgWs5BA (envelope-from ) for ; Thu, 27 Jan 2022 12:59:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YNZCOyuJ8mH3UwEAauVa8A (envelope-from ) for ; Thu, 27 Jan 2022 12:59:39 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6CA162D67F for ; Thu, 27 Jan 2022 12:59:39 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BB93E5F724; Thu, 27 Jan 2022 11:59:34 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id F37275F6BB for ; Thu, 27 Jan 2022 11:59:31 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id CF2955FBD2; Thu, 27 Jan 2022 06:59:30 -0500 (EST) Received: (nullmailer pid 1410621 invoked by uid 1000); Thu, 27 Jan 2022 11:59:29 -0000 From: David Bremner To: David Edmondson , notmuch@notmuchmail.org Subject: Re: strip trailing '/' from path/folder query. In-Reply-To: <20220121233853.1049166-1-david@tethera.net> References: <871stgid7j.fsf@tethera.net> <20220121233853.1049166-1-david@tethera.net> Date: Thu, 27 Jan 2022 07:59:29 -0400 Message-ID: <87ilu59you.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: X3XLCKALV53D7M4QYZND55UXXL72TMVK X-Message-ID-Hash: X3XLCKALV53D7M4QYZND55UXXL72TMVK X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643284779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=iSAATbR3mkbUWX95zs+JacBmrl3sHO5xLbxzrf44HaQ=; b=sTRf1PgalCnFVuT18wjXg15LmNOxT4OHmh2uI6qNmPeC8iqhNyOvph+FfehwGQLuqVxOaM Xhx6PD8oKr7R+m9WmmpN51TnkFs8FqgWoU/iab6cQIsToBxJ95iJr+yYUfvrpS0ridhZY2 tHN0be8nho50wuyhCtUism32G696NJkUiXVlJ4wyQ/q+Gal3DYM/uyxZtGQqzChPhqJBLo f+j/hh4qw+srB8wp6SkrU+q/ij2Do8VpbyK9cJeMuVh/EKjpe4JgAjXqSEkZwwYfa2AWKE ZgskIuQbMQi38L+O+R0zEFkuTAXJtWbpzKyuuX7oC4hY5scJOmmp7lc519d8SA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643284779; a=rsa-sha256; cv=none; b=nn5P2dwZDtb6dX+tXGsSgsr1TenfJTeHHgRPSj5dthx38a7CjBjTH2St6A1+Ux3xYPE1dm ccVgOkDUx4+matCGr79EyRNZXP2dE5HxgRVqbDncRyqrDtaEDx/EwD7ZXX5Azc2N6LAkk9 N7u/5gAaVTlXb8DmXdKeE9vzmQoySHydE5YT/oH55Zt5zMCNzYpqjFJpijn6Slt6PjROuy ftpW6BWptreJS24oqwWYKVgidRngG2Pu9ynJC+Bulf/Cr1Nn8b7RN3ZJWNlAidP+pBgAcc 72Yse5ng5n/k2aDGRmf+h85e55kLU3U7JiH/AxC5uC5BxLEQTBMjv9yJx/Ep6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.84 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 6CA162D67F X-Spam-Score: -2.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: tqzFG97+c3Wv David Bremner writes: > It would not be that much more work to strip any number of '/' > (instead of just 1) for infix queries, but this change already covers >>99% of the issues with path completion. I have applied this series to master.