aerc/worker/imap
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
..
create.go #190 Handle gmail duplicate folder 2019-07-11 19:38:40 -04:00
fetch.go imap: Remove FetchMessageBodyPart.{Encoding,Charset} 2020-05-16 20:03:42 +02:00
flags.go Add additional flagging functionality 2020-07-08 09:13:03 +02:00
imap.go worker/imap: rely on go-imap for charset handling 2020-03-03 16:48:00 -05:00
list.go extract search criteria parsing into the backends 2019-08-29 08:44:10 +09:00
movecopy.go Mark sent messages as "seen" in maildir 2020-03-03 20:08:37 +01:00
open.go worker/imap: Fix seqMap race condition 2019-11-10 17:19:23 -05:00
remove.go Add support for :rmdir 2020-08-19 11:38:57 +02:00
search.go Add flag based search options 2020-07-25 08:08:08 +02:00
worker.go Add support for :rmdir 2020-08-19 11:38:57 +02:00