* mu: add 'contact:' as an alias for to:/from:/cc:/bcc:

This commit is contained in:
djcb
2012-10-17 18:35:23 +03:00
parent 8ad01e4aa8
commit 48467099b5
7 changed files with 103 additions and 67 deletions

View File

@ -1,4 +1,4 @@
.TH MU-EASY 1 "July 2012" "User Manuals"
.TH MU-EASY 1 "October 2012" "User Manuals"
.SH NAME
@ -144,6 +144,13 @@ Get all messages from Jim without an attachment:
\fB$ mu find from:jim AND NOT flag:attach\fR
.fi
Get all messages where Jack is in one of the contact fields:
.nf
\fB$ mu find contact:jack\fR
.fi
This uses the special contact: pseudo-field which matches (\fBfrom\fR,
\fBto\fR, \fBcc\fR and \fBbcc\fR).
Get all messages in the Sent Items folder about yoghurt:
.nf
\fB$mu find maildir:'/Sent Items' yoghurt\fR

View File

@ -1,4 +1,4 @@
.TH MU FIND 1 "August 2012" "User Manuals"
.TH MU FIND 1 "October 2012" "User Manuals"
.SH NAME
@ -105,8 +105,8 @@ search fields and their abbreviations:
cc,c Cc (carbon-copy) recipient(s)
bcc,h Bcc (blind-carbon-copy) recipient(s)
from,f Message sender
subject,s Message subject
to,t To: recipient(s)
subject,s Message subject
maildir,m Maildir
msgid,i Message-ID
prio,p Message priority ('low', 'normal' or 'high')
@ -119,9 +119,10 @@ search fields and their abbreviations:
tag,x Tags for the message (\fIX-Label\fR and/or \fIX-Keywords\fR)
.fi
For clarity, this man-page uses the longer versions.
There is also the special field \fBcontact\fR, which matches all
contact-fields (\fBfrom\fR, \fBto\fR, \fBcc\fR and \fBbcc\fR).
`The meaning of most of these fields should be clear, but some require some
The meaning of most of these fields should be clear, but some require some
extra discusion.
First, the message flags field describes certain properties of the message, as