aerc/commands/account
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
..
account.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
cf.go Make commands join args with spaces 2019-09-20 15:06:34 -04:00
clear.go run go fmt 2020-07-17 17:50:24 +02:00
compose.go Add recall command 2020-04-24 12:59:21 -04:00
mkdir.go Revert "Add Style configuration" 2020-05-28 10:32:42 -04:00
next-folder.go all: use fmt.Errorf for fomartting errors 2019-09-04 16:30:57 -10:00
next-result.go Rework msglist scrolling 2020-06-09 21:52:10 +02:00
next.go Rework msglist scrolling 2020-06-09 21:52:10 +02:00
rmdir.go Add support for :rmdir 2020-08-19 11:38:57 +02:00
search.go Rework msglist scrolling 2020-06-09 21:52:10 +02:00
select.go all: purge redundant underscores 2019-09-04 16:30:57 -10:00
sort.go Add sorting functionality 2019-09-20 14:56:02 -04:00
view.go Revert "Add Style configuration" 2020-05-28 10:32:42 -04:00