Adds a new optional parameter INTERACTIVE to `mu4e-update-mail' which
is passed as a process property (`process-put') to the filter
function.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
The process filter is now `mu4e~process-filter' instead of a lambda
function and the regexp is now a variable
`mu4e~get-mail-password-regexp'.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Offlineimap (or other mail fetchers) may query the user for a
password. This patch adds a process filter to the `mu4e-update-mail'
process and checks if the process asks for a password (Currently only
matches "^Remote: Enter password: $"). It then reads the password from
the user.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>