From 115dabb6346383c88525586c2ec75d60df6f25d3 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Thu, 24 Feb 2022 21:10:30 +0100 Subject: 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 Reviewed-by: Koni Marti Tested-by: akspecs --- doc/aerc.1.scd | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 648bde69..27384ade 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 -- cgit