From: David Bremner <david@tethera.net>
To: sfischme@uwaterloo.ca, Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: Search mail from people with different addresses and incorrectly configured clients
Date: Sat, 09 Apr 2016 09:51:22 -0300 [thread overview]
Message-ID: <87y48n2bed.fsf@zancas.localnet> (raw)
In-Reply-To: <871t6fe9mq.fsf@uwaterloo.ca>
Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:
>
> Has anyone found a good way to use tags to aggregate emails from the
> same person? Will it have some disadvantages? It sounds straightforward,
> but the management of this would be quite an effort.
>
> The alternative is to create long search strings that encompass all
> email addresses of the person. This has less management effort, but I
> would need to somewhere store all email addresses associated with a person.
It sounds like some variation on named queries [1] might help. It would
still be a manual process to set up the aliases, but at least once it
was done, it would work everywhere (e.g. command line, emacs client,
python bindings). These would be prefixed with query:, so to search for
you I'd use query:seb. I was thinking a little about having aliases for
the other prefixes (in particular "to:", and "from:" since to:me and
from:me are common requests). There would be some potential
performance impact because the extra database lookup to expand the
alias, and also some potential confusion. If I make an alias for to:bob,
what if I actually want to search for the term bob? I guess we could
invent some syntax to prevent alias expansion, but I'm not sure what's
possible with current Xapian.
[1]: id:1459015043-8460-1-git-send-email-david@tethera.net
prev parent reply other threads:[~2016-04-09 12:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-09 3:36 Search mail from people with different addresses and incorrectly configured clients Sebastian Fischmeister
2016-04-09 12:51 ` David Bremner [this message]
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=87y48n2bed.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=sfischme@uwaterloo.ca \
/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).