From: David Bremner <david@tethera.net>
To: Attic Hermit <fjdksl@cock.li>, notmuch@notmuchmail.org
Subject: Re: Is there a prefix that performs from: and to: simultaneously?
Date: Fri, 22 Sep 2017 09:07:42 -0300 [thread overview]
Message-ID: <87lgl76inl.fsf@tethera.net> (raw)
In-Reply-To: <87o9q36j8v.fsf@tethera.net>
David Bremner <david@tethera.net> writes:
> Attic Hermit <fjdksl@cock.li> writes:
>
>>> +john +friend -- tag:new AND (to:john@example.tld OR
>>> from:john@example.tld)
>>
>> First did I tried that form, but I felt that wasn't up to snuff because
>> I still have to write the same address two times.
>
> Currently I think that's the best you can do. You may be interested in
> defining a predefined query
>
> notmuch config query.fromtojohn "to:john@example.tld OR from:john@example.tld"
>
> then you can use
>
> +john +friend -- tag:new AND (to:john@example.tld OR from:john@example.tld) query:fromtojohn
that should be
+john +friend -- tag:new AND query:fromtojohn
next prev parent reply other threads:[~2017-09-22 12:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-09-23 7:47 ` Attic Hermit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgl76inl.fsf@tethera.net \
--to=david@tethera.net \
--cc=fjdksl@cock.li \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).