unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Is there a prefix that performs from: and to: simultaneously?
@ 2017-09-22  1:54 Attic Hermit
  2017-09-22  2:10 ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Attic Hermit @ 2017-09-22  1:54 UTC (permalink / raw)
  To: notmuch

Batch file of my initial tagging script includes queries like below:

+john +friend -- tag:new AND from:john@example.tld
+john +friend -- tag:new AND to:john@example.tld

But I want to compress the above in one line like:

+john +friend -- tag:new AND from_or_to:john@example.tld

I know that I can achieve it approximately by querying without prefix,
but it'll also include the mails that include the string
"john@example.tld".

I look through the manual, man:notmuch-search-terms, but I couldn't find
the prefix I want.

-- 
Attic Hermit

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

end of thread, other threads:[~2017-09-23  7:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-22  1:54 Is there a prefix that performs from: and to: simultaneously? Attic Hermit
2017-09-22  2:10 ` David Bremner
2017-09-22  2:18   ` Attic Hermit
2017-09-22 11:54     ` David Bremner
2017-09-22 12:07       ` David Bremner
2017-09-23  7:47       ` Attic Hermit

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