aerc/worker/notmuch
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
..
lib notmuch: manually close notmuch objects 2020-08-07 09:49:57 +02:00
eventhandlers.go Add missing notmuch build tags 2020-02-26 21:46:31 +01:00
events.go Add missing notmuch build tags 2020-02-26 21:46:31 +01:00
message.go Add additional flagging functionality 2020-07-08 09:13:03 +02:00
worker.go Add support for :rmdir 2020-08-19 11:38:57 +02:00