summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-02-24 21:10:30 +0100
committerRobin Jarry <robin@jarry.cc>2022-02-25 13:56:53 +0100
commit115dabb6346383c88525586c2ec75d60df6f25d3 (patch)
tree9a1aca40ef3ce61ff3c9173ff92ef6cca45938d0 /doc
parentc26d08103b327bd3f2470e542aa55ab354483347 (diff)
downloadaerc-115dabb6346383c88525586c2ec75d60df6f25d3.zip
pipe: allow piping multiple marked messages
When messages are marked, pipe their contents into the specified command. The messages are ordered according to their respective Message-Id headers. This allows applying complete patch series with a single command. When piping more than one message, make sure to write them in the mbox format as git am expects them to be. Link: https://en.wikipedia.org/wiki/Mbox Link: https://github.com/git/git/blob/v2.35.1/builtin/mailsplit.c#L15-L44 Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Koni Marti <koni.marti@gmail.com> Tested-by: akspecs <akspecs@gmail.com>
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 648bde6..27384ad 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -146,6 +146,9 @@ message list, the message in the message viewer, etc).
message part is used in the message viewer and the full message is used in
the message list.
+ Operates on multiple messages when they are marked. When piping multiple
+ messages, aerc will write them with mbox format separators.
+
*-b*: Run the command in the background instead of opening a terminal tab
*-m*: Pipe the full message