aerc/worker
ARaspiK fe1cabb077 Add support for :rmdir
The `:rmdir` command removes the current directory (`-f` is required if
the directory is not empty).

This is not supported on the notmuch backend.

An issue with the maildir backend is that some sync programs (e.g.
offlineimap) may recover the directory after it is deleted.  They need
to specifically be configured to accept deletions, or special commands
need to be executed (e.g. `offlineimap --delete-folder`) to properly
delete folders.

A danger of using this on the IMAP backend is that it is possible for a
new message to be added to the directory and for aerc to not show it
immediately (due to a slow connection) - using `:rmdir` at this moment
(with `-f` if the directory already contains messages) would delete the
directory and the new message that just arrived (and all other
contents).  This is documented in aerc(1) so that users are aware of
possible risks.
2020-08-19 11:38:57 +02:00
..
handlers Register worker in init. 2019-07-19 15:37:55 -04:00
imap Add support for :rmdir 2020-08-19 11:38:57 +02:00
lib improve date parsing for notmuch/maildir 2020-08-10 08:00:52 +02:00
maildir Add support for :rmdir 2020-08-19 11:38:57 +02:00
notmuch Add support for :rmdir 2020-08-19 11:38:57 +02:00
types Add support for :rmdir 2020-08-19 11:38:57 +02:00
handler_notmuch.go Add notmuch backend 2019-08-08 10:10:34 +09:00
worker.go Register worker in init. 2019-07-19 15:37:55 -04:00
worker_enabled.go Register worker in init. 2019-07-19 15:37:55 -04:00