* add 'flag:unread' as a synonym for 'flag:new OR NOT flag:seen'

- update documentation
  - update test cases
  - some cleanups in the C++-code
  - bump the database version, to trigger the --rebuild warning
This commit is contained in:
Dirk-Jan C. Binnema
2011-03-31 23:08:26 +03:00
parent 9a4ba103d2
commit b27a9f47c4
10 changed files with 56 additions and 33 deletions

View File

@ -1,4 +1,4 @@
.TH MU-EASY 1 "November 2010" "User Manuals"
.TH MU-EASY 1 "March 2010" "User Manuals"
.SH NAME
@ -42,7 +42,8 @@ When \fBmu\fR sees such a file, it will excluded this directory and its
sub-directories.
.SH SEARCHING YOUR E-MAIL
After you have indexed your mail, you can search it. Normally, the search
After you have indexed your mail,you can search it. Normally, the search
results are to standard output, but the output can also be in the form of
Maildir with symbolic links to the found messages. This enables integration
with e-mail clients; see the \fBmu-find\fR man page for details, the syntax of
@ -138,11 +139,11 @@ Get all messages from Jim without an attachment:
Get all unread messages where the subject mentions Ångström:
.nf
\fB$ mu find flag:new subject:Ångström\fR
\fB$ mu find flag:unread subject:Ångström\fR
.fi
which is equivalent to:
.nf
\fB$ mu find flag:new subject:angstrom\fR
\fB$ mu find flag:unread subject:angstrom\fR
.fi
because does mu is case-insensitive and accent-insensitive.

View File

@ -1,4 +1,4 @@
.TH MU FIND 1 "January 2011" "User Manuals"
.TH MU FIND 1 "March 2011" "User Manuals"
.SH NAME
@ -124,6 +124,7 @@ listed in the following table:
p,passed Passed ('Handled')
r,replied Replied
s,seen Seen
u,unread Unread (shorthand for 'new or not seen')
t,thrashed Marked for deletion
a,attach Has attachment
z,signed Signed message
@ -400,13 +401,14 @@ Find all messages in the 'Archive' folder from Fred:
$ mu find from:fred maildir:/Archive
.fi
Find all messages with attachments:
Find all unread messages with attachments:
.nf
$ mu find flag:attach
$ mu find flag:unread flag:attach
.fi
.SS Integrating mu find with mail clients
.TP