mu4e: update docs
note the new query parser doc
This commit is contained in:
@ -1814,10 +1814,10 @@ see @ref{Sorting and threading}.
|
|||||||
@section Queries
|
@section Queries
|
||||||
|
|
||||||
@t{mu4e} queries are the same as the ones that @t{mu find}
|
@t{mu4e} queries are the same as the ones that @t{mu find}
|
||||||
understands@footnote{with the caveat that command-line queries are subject to
|
understands@footnote{with the caveat that command-line queries are
|
||||||
the shell's interpretation before @t{mu} sees them}. Let's look at some
|
subject to the shell's interpretation before @t{mu} sees them}. Let's
|
||||||
examples here, please refer to the @code{mu-find} and @code{mu-easy} man pages
|
look at some examples here; you can consult the @code{mu-query} man page
|
||||||
for details and more examples.
|
for the details.
|
||||||
|
|
||||||
@itemize
|
@itemize
|
||||||
|
|
||||||
@ -1828,33 +1828,33 @@ bananas
|
|||||||
|
|
||||||
@item Get all messages regarding @emph{bananas} from @emph{John} with an attachment:
|
@item Get all messages regarding @emph{bananas} from @emph{John} with an attachment:
|
||||||
@verbatim
|
@verbatim
|
||||||
from:john flag:attach bananas
|
from:john and flag:attach and bananas
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get all messages with subject @emph{wombat} in June 2009
|
@item Get all messages with subject @emph{wombat} in June 2017
|
||||||
@verbatim
|
@verbatim
|
||||||
subject:wombat date:20090601..20090630
|
subject:wombat and date:20170601..20170630
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get all messages with PDF attachments in the @t{/projects} folder
|
@item Get all messages with PDF attachments in the @t{/projects} folder
|
||||||
@verbatim
|
@verbatim
|
||||||
maildir:/projects mime:application/pdf
|
maildir:/projects and mime:application/pdf
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get all messages about @emph{Rupert} in the @t{/Sent Items} folder. Note that
|
@item Get all messages about @emph{Rupert} in the @t{/Sent Items} folder. Note that
|
||||||
maildirs with spaces must be quoted.
|
maildirs with spaces must be quoted.
|
||||||
@verbatim
|
@verbatim
|
||||||
maildir:"/Sent Items" rupert
|
"maildir:/Sent Items" and rupert
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get all important messages which are signed:
|
@item Get all important messages which are signed:
|
||||||
@verbatim
|
@verbatim
|
||||||
flag:signed prio:high
|
flag:signed and prio:high
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get all messages from @emph{Jim} without an attachment:
|
@item Get all messages from @emph{Jim} without an attachment:
|
||||||
@verbatim
|
@verbatim
|
||||||
from:jim AND NOT flag:attach
|
from:jim and not flag:attach
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get all messages with Alice in one of the contacts-fields (@t{to}, @t{from},
|
@item Get all messages with Alice in one of the contacts-fields (@t{to}, @t{from},
|
||||||
@ -1867,36 +1867,29 @@ contact:alice
|
|||||||
case-insensitive and accent-insensitive, so this matches Ångström, angstrom,
|
case-insensitive and accent-insensitive, so this matches Ångström, angstrom,
|
||||||
aNGstrøM, ...)
|
aNGstrøM, ...)
|
||||||
@verbatim
|
@verbatim
|
||||||
subject:Ångström flag:unread
|
subject:Ångström and flag:unread
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get all unread messages between Mar-2002 and Aug-2003 about some bird:
|
@item Get all unread messages between Mar-2012 and Aug-2013 about some bird:
|
||||||
@verbatim
|
@verbatim
|
||||||
date:20020301..20030831 nightingale flag:unread
|
date:20120301..20130831 and nightingale and flag:unread
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get today's messages:
|
@item Get today's messages:
|
||||||
@verbatim
|
@verbatim
|
||||||
date:today..now
|
date:today..now
|
||||||
@end verbatim
|
@end verbatim
|
||||||
or, unless you have a really old Xapian
|
|
||||||
@verbatim
|
|
||||||
date:today
|
|
||||||
@end verbatim
|
|
||||||
|
|
||||||
@item Get all messages we got in the last two weeks regarding @emph{emacs}:
|
@item Get all messages we got in the last two weeks regarding @emph{emacs}:
|
||||||
@verbatim
|
@verbatim
|
||||||
date:2w..now emacs
|
date:2w.. and emacs
|
||||||
@end verbatim
|
|
||||||
or, unless you have a really old Xapian
|
|
||||||
@verbatim
|
|
||||||
date:2w.. emacs
|
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get messages from the @emph{Mu} mailing list:
|
@item Get messages from the @emph{Mu} mailing list:
|
||||||
@verbatim
|
@verbatim
|
||||||
list:mu-discuss.googlegroups.com
|
list:mu-discuss.googlegroups.com
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
Note --- in the @ref{Headers view} you may see the `friendly name' for a
|
Note --- in the @ref{Headers view} you may see the `friendly name' for a
|
||||||
list; however, when searching you need the real name. You can see the
|
list; however, when searching you need the real name. You can see the
|
||||||
real name for a mailing list from the friendly name's tool-tip.
|
real name for a mailing list from the friendly name's tool-tip.
|
||||||
|
|||||||
Reference in New Issue
Block a user