* update documentation

This commit is contained in:
djcb 2011-12-01 21:30:02 +02:00
parent b4680817d8
commit c93700a568
3 changed files with 12 additions and 12 deletions

5
NEWS
View File

@ -4,9 +4,8 @@
- '--descending' has been renamed into '--reverse'
- search for attachment MIME-type using 'mime:' or 'y:'
- search for text in text-attachments using 'attach:' or 'a:'
- searching for attachment file names now uses 'file:' (it was 'attach:',
but has a different meaning now, see above)
- search for text in text-attachments using 'embed:' or 'e:'
- searching for attachment file names now uses 'file:' (was: 'attach:')
- experimental emacs-based mail client
** Release 0.9.7 <>

View File

@ -1,4 +1,4 @@
.TH MU-EASY 1 "November 2011" "User Manuals"
.TH MU-EASY 1 "December 2011" "User Manuals"
.SH NAME
@ -178,25 +178,26 @@ You can also search for messages with a certain attachment using their
filename, for example:
.nf
\fB$ mu find 'pic*'\fR
\fB$ mu find 'file:pic*'\fR
.fi
will get you all message with an attachment starting with 'pic'.
will get you all messages with an attachment starting with 'pic'.
If you want to find attachments with a certain MIME-type, you can use the
following:
Get all messages with PDF attachments:
.nf
\fB$ mu find attmime:application/pdf\fR
\fB$ mu find mime:application/pdf\fR
.fi
or even:
Get all messages with image attachments:
.nf
\fB$ mu find 'attmime:image/*'\fR
\fB$ mu find 'mime:image/*'\fR
.fi
Note that (1) the '*' wildcard can only be used as the rightmost thing in a
search query, and (2) that you need to quote the search term, because
otherwise your shell will interpret the '*' (expanding it to all files in the

View File

@ -1,4 +1,4 @@
.TH MU FIND 1 "November 2011" "User Manuals"
.TH MU FIND 1 "December 2011" "User Manuals"
.SH NAME
@ -122,7 +122,7 @@ search fields and their abbreviations:
flag,g Message Flags
date,d Date-Range
size,z Message size
attach,a Attached message
embed,e Search inside embedded text parts (messages, attachments)
file,j Attachment filename
mime,y MIME-type of one or more message parts
tag,x Tag for the message (contents of the \fIX-Label\fR field)
@ -479,13 +479,13 @@ Find all unread messages with attachments:
Find all messages with PDF-attachments:
.nf
$ mu find attmime:application/pdf
$ mu find mime:application/pdf
.fi
Find all messages with attached images:
.nf
$ mu find 'attmime:image/*'
$ mu find 'mime:image/*'
.fi
Note[1]: the argument needs to be quoted, or the shell will interpret the '*'