aerc/commands
Koni Marti cdec23323c recover: recover emails from tempdir after a crash
implements a recover command that searches the local temp dir for aerc
emails. If a file is found and selected, a new composer tab will open
with the file contents as the message body. No header data is stored in
the temp file and thus this information cannot be recovered.

Recover will not remove the temporary file unless the force flag (-f) is
explicitly used.

This recovery method only works when the editor buffer is saved to
disk and the Close() function of the composer has not been called yet.

Sending, postponing or quitting will call the Close() function which
removes the temporary file completely. After Close() is called, no
recovery is possible anymore.

Signed-off-by: Koni Marti <koni.marti@gmail.com>
2022-01-29 22:01:25 +01:00
..
account recover: recover emails from tempdir after a crash 2022-01-29 22:01:25 +01:00
compose pgp: PGP/MIME encryption for outgoing emails 2022-01-07 13:45:34 +01:00
msg reply: use new-message template for non-quoted replies 2022-01-27 09:16:54 +01:00
msgview go.mod: change base git url 2021-11-05 10:21:45 +01:00
terminal go.mod: change base git url 2021-11-05 10:21:45 +01:00
cd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
choose.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
commands.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
ct.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
exec.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
global.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
help.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
move-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
new-account.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pin-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
prompt.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pwd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
quit.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
set.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
term.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
util.go msgstore: fetch missing headers in visual mode 2022-01-22 17:07:50 +01:00