Re: sexp and strings

Subject: Re: sexp and strings

Date: Fri, 01 Jul 2022 08:41:03 -0300

To: erik colson,


From: David Bremner

David Bremner <> writes:

> Although you have one too many sets of (), there is still a bug here.
>          $ notmuch config set squery.D '(macro (dossier) (tag (regex ,dossier))'
> also doesn't work.  Apparently both for regex and wildcard expansion I
> did not do macro parameter expansion. In the regex case the regex
> matching for tags actually happens at query construction time, so that's
> why it ends up as an empty query (presumably none of your tags starts
> with ,dossier).
> Anyway, I think I know how to fix this, it will mean that in the corner
> case of a regex starting with a comma, we'll have to use (regex ",foo").

This bug should be fixed in master as of


notmuch mailing list --
To unsubscribe send an email to