Any thoughts on whether this should be an additional search field (Recipient: ?) or whether we should consider a minibuffer mode whereby the user can specify his own search-specific criteria? Since something Recipient isn't really a valid header field, and the minibuffer approach would be more flexible, I'm leaning towards the latter. Alternatively, we could add an additional "header field" in the MH-Search buffer such as "Additional Query Arguments:" in which the user can specify arguments to pass on to the search engine. Thoughts?
From: Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
To: mh-e-users at lists.sourceforge.net
Subject: How to do 'a:user at email.org' mairix search?
X-Mailer: MH-E 8.1; nmh 1.3; GNU Emacs 23.0.91
Date: Sat, 19 Sep 2009 13:45:14 +0100
Cc: Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
Is it possible to specify mairix searches like the following in the
$ mairix -f ~/txt/MAIL/.mairix/config -r a:stephen at gnu.org
where the 'a:' searches in 'From', 'To' and 'CC' fields for the email
If not, would it be of any use to anyone else if I wrote a function
along the lines of
which prompted for a mairix query in the minibuffer (rather than in a
search buffer) and then did the search, returning the results as a
normal mh-search would? (And how easy is to write such a thing? It
would presumably follow along the lines of mh-mairix-execute-search?)
Log in to post a comment.