Re: sexp and strings

Subject:Re: sexp and strings

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

To:erik colson ,notmuch@notmuchmail.org

Cc:

From:David Bremner


David Bremner <david@tethera.net> 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

     6a9ae990990848ec99107f2e2e6b6ae12dcd33df


_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: