mu4e: add mu4e-analyze-last-query

Add some mu4e command to show the query as analyzed by the server.
This commit is contained in:
Dirk-Jan C. Binnema
2025-01-07 22:11:53 +02:00
parent 5e2b7d52b2
commit 0f49fa055c
4 changed files with 45 additions and 13 deletions

View File

@ -1975,9 +1975,12 @@ see @ref{Sorting and threading}.
@section Queries
@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 the shell's interpretation before @t{mu} sees them}. You can
consult the @code{mu-query} man page for the details.
understands@footnote{with the caveat that command-line queries are subject to
the shell's interpretation before @t{mu} sees them}. You can consult the
@code{mu-query} man-page for the details. In addition, @t{mu4e} provides a
command @code{mu4e-analyze-last-query}, which shows how the @t{mu} server has
interpreted the query, similar to what the the @t{--analyze} option does for
@t{mu find}.
Additionally, @t{mu4e} supports @kbd{TAB}-completion for queries. There
there is completion for all search keywords such as @code{and},