sexp and strings

Subject: sexp and strings

Date: Mon, 13 Jun 2022 01:11:29 +0200

To: notmuch@notmuchmail.org

Cc:

From: erik colson


Hi,

I would like to define a squery in my notmuch configuration which would
ease a query I often use.  The query is

  tag:/ddddd/

where ddddd are decimal numbers.
Now I would like to shorten this to

  D ddddd

wherefor I was thinking of using a macro like:

  D=(macro (dossier) ((tag (regex ,dossier))))

But this doesn't seem to do the job.
Any ideas how I can achieve this ?

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

Thread: