mu4e-utils contains a number of utility functions; we list a few here. See their docstrings for details:
mu4e-read-option
: read one option from a list. For example:
(mu4e-read-option "Choose an animal: " '(("Monkey" . monkey) ("Gnu" . gnu) ("xMoose" . moose)))
The user is presented with:
Choose an animal: [M]onkey, [G]nu, [x]Moose
mu4e-ask-maildir
: ask for a maildir; try one of the
shortcuts (mu4e-maildir-shortcuts
), or the full set of available
maildirs.
mu4e-running-p
: return t
if the mu4e
process is
running, nil
otherwise.
(mu4e-user-mail-address-p addr)
: return t
if addr is
one of the user’s e-mail addresses (as per (mu4e-personal-addresses)
).
mu4e-log
logs to the mu4e
debugging log if it is enabled;
see mu4e-toggle-logging
.
mu4e-message
, mu4e-warning
, mu4e-error
are the
mu4e
equivalents of the normal elisp message
,
user-error
and error
functions.