From b547917e8b265e49a5521752d406f9d0d1be9fd9 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Fri, 26 Nov 2010 08:25:42 +0200 Subject: [PATCH] * mu-easy.1: add some more examples of searches --- man/mu-easy.1 | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/man/mu-easy.1 b/man/mu-easy.1 index 56817135..57c1e381 100644 --- a/man/mu-easy.1 +++ b/man/mu-easy.1 @@ -122,30 +122,46 @@ match messages in a maildir called '/archive'. .SH MORE QUERIES -Let's list some more queries that may be interesting: +Let's list a few more queries that may be interesting; please note that +searches for message flags, priority and date ranges are only available in mu +version 0.9 or later. Get all important messages which are signed: .nf -\fB$ mu find flag:signed prio:high \fR + \fB$ mu find flag:signed prio:high \fR .fi Get all messages from Jim without an attachment: .nf -\fB$ mu find from:jim AND NOT flag:attach\fR + \fB$ mu find from:jim AND NOT flag:attach\fR .fi -Get all unread messages where the subject is about some dance: +Get all unread messages where the subject is about Ångström: .nf -\fB$ mu find flag:new subject:tango\fR + \fB$ mu find flag:new subject:Ångström\fR +.fi +which is equivalent to: +.nf + \fB$ mu find flag:new subject:angstrom\fR +.fi +because does mu is case-insensitive and accent-insensitive. + +Get all unread messages between March 2002 and August 2003 about some bird (or +a Swedish rock band): +.nf + \fB$ mu find date:20020301..20030831 flag:new nightingale\fR .fi -Get all messages unread messages between March 2002 and August 2003 about -scuba-diving: +Get all message we got today: .nf -\fB$mu find date:20020301..20030831 flag:new scuba + \fB$ mu find date:today..now\fR .fi -(caveat: the dates we're matching here are based on UTC ('Greenwich time'), -which may differ a few hours with your local hours) + +Get all message we got in the last two weeks about emacs: +.nf + \fB$ mu find date:2w..now emacs\fR +.fi + .SH DISPLAYING MESSAGES