From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 100DC431FC7 for ; Mon, 9 Mar 2015 15:07:37 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.438 X-Spam-Level: ** X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 1TuwhfAC3GWD for ; Mon, 9 Mar 2015 15:07:33 -0700 (PDT) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id BBBB6431FBD for ; Mon, 9 Mar 2015 15:07:33 -0700 (PDT) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1YV5oz-0006Ys-BG; Mon, 09 Mar 2015 22:06:45 +0000 Received: (nullmailer pid 1066 invoked by uid 1000); Mon, 09 Mar 2015 22:06:31 -0000 From: David Bremner To: Jean-Marc Liotier , notmuch@notmuchmail.org Subject: Re: Alternative to no longer supported folder:foo* wildcard matching ? In-Reply-To: <54FDFAAB.9080504@liotier.org> References: <54FDFAAB.9080504@liotier.org> User-Agent: Notmuch/0.19+67~gdbe9924 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Mon, 09 Mar 2015 23:06:31 +0100 Message-ID: <877fupzuzc.fsf@maritornes.cs.unb.ca> 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: Mon, 09 Mar 2015 22:07:37 -0000 Jean-Marc Liotier writes: > > So nowadays, is there any other way to express "this folder and all its > subfolders" ? The path: keyword does not seem useful for that with a > maildir with a flat structure of dot.delimited.directories - or is there > something like a dot.delimited.* wildcard ? > One option is to create symlink farm. Since it's only directories being symlinked, it isn't that bad. I don't know how well this scales, but it seems to work for about 200k messages in 184 mailing lists. Roughly speaking: % mkdir list % cd list % ln -s ../.list.* . % mmv .list.* * # zsh specific, optional % notmuch new Notmuch new took about 10 minutes, but now I can search 'path:list/**' to add a second level % mkdir debian % cd debian % ln -s ../debian-* . % notmuch new Of course this could be scripted.