aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2023-05-26 10:22:47 +0200
committerRobin Jarry <robin@jarry.cc>2023-06-01 22:19:19 +0200
commit5f5514d8742c803e5c0b701e3d6c053624687f70 (patch)
tree06ae86f50cb4f571c964de1b7b2695ca7192a97e /doc
parent11ccc471bb91e19334fa266f9837f9bb09a1e34d (diff)
downloadaerc-5f5514d8742c803e5c0b701e3d6c053624687f70.tar.gz
compose: quit composing when editor returns error
When the editor crashes, or the user forces it to exit with an error code, it is safe to assume that they can't (if the command failed) or don't want to (if :cq'd) continue composing a meaningful message. Suggested-by: tristan957 Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc.1.scd3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index cf6f7caa..0c89460b 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -522,6 +522,9 @@ message list, the message in the message viewer, etc).
*:abort*
Close the composer without sending, discarding the message in progress.
+ If the text editor exits with an error (e.g. *:cq* in *vim*(1)), the
+ message is immediately discarded.
+
*:attach* _<path>_++
*:attach* *-m* [_<arg>_]
Attaches the file at the given path to the email. The path can contain