7.1 Queries

mu4e queries are the same as the ones that mu find understands12. You can consult the mu-query man-page for the details. In addition, mu4e provides a command mu4e-analyze-last-query, which shows how the mu server has interpreted the query, similar to what the --analyze option does for mu find.

Additionally, mu4e supports TAB-completion for queries. There is completion for all search keywords such as and, from:, or date: and also for certain values, i.e., the possible values for flag:, prio:, mime:, and maildir:.

Let’s look at some examples here.


Footnotes

(12)

with the caveat that command-line queries are subject to the shell’s interpretation before mu sees them