unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* sexp and strings
@ 2022-06-12 23:11 erik colson
  2022-06-13  9:12 ` Michael J Gruber
  2022-06-13 18:39 ` David Bremner
  0 siblings, 2 replies; 9+ messages in thread
From: erik colson @ 2022-06-12 23:11 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-07-01 11:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-12 23:11 sexp and strings erik colson
2022-06-13  9:12 ` Michael J Gruber
2022-06-13  9:31   ` erik colson
2022-06-13 10:11     ` Michael J Gruber
2022-06-13 15:10       ` erik colson
2022-06-13 18:39 ` David Bremner
2022-06-14 11:22   ` [PATCH 1/2] test/sexp: add known broken tests for macro param inside rx/wildcard David Bremner
2022-06-14 11:22     ` [PATCH 2/2] lib/sexp: add parameter expansion for regex and wildcard David Bremner
2022-07-01 11:41   ` sexp and strings David Bremner

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).