From: David Bremner <david@tethera.net>
To: Jean-Marc Liotier <jm@liotier.org>, notmuch@notmuchmail.org
Subject: Re: Alternative to no longer supported folder:foo* wildcard matching ?
Date: Mon, 09 Mar 2015 23:06:31 +0100 [thread overview]
Message-ID: <877fupzuzc.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <54FDFAAB.9080504@liotier.org>
Jean-Marc Liotier <jm@liotier.org> 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.
next prev parent reply other threads:[~2015-03-09 22:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-09 19:55 Alternative to no longer supported folder:foo* wildcard matching ? Jean-Marc Liotier
2015-03-09 22:06 ` David Bremner [this message]
2015-03-10 0:16 ` Jean-Marc Liotier
2015-03-10 7:10 ` David Bremner
2015-03-10 12:21 ` Jean-Marc Liotier
2015-03-10 13:25 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fupzuzc.fsf@maritornes.cs.unb.ca \
--to=david@tethera.net \
--cc=jm@liotier.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).