aerc/commands/msg
Robin Jarry 115dabb634 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>
2022-02-25 13:56:53 +01:00
..
archive.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
copy.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
delete.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
forward.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
mark.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
modify-labels.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
move.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msg.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pipe.go pipe: allow piping multiple marked messages 2022-02-25 13:56:53 +01:00
read.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
recall.go recall: allow recalling messages from any folder 2021-12-13 14:56:39 +01:00
reply.go compose: add option to never include your own address when replying 2022-01-31 16:22:54 +01:00
toggle-threads.go threading: implement on-the-fly message threading 2022-02-24 13:00:12 +01:00
unsubscribe.go aerc: always check SelectedAccount return value 2022-02-25 13:56:53 +01:00
unsubscribe_test.go Fix linter warnings 2021-02-26 22:14:58 +01:00
utils.go go.mod: change base git url 2021-11-05 10:21:45 +01:00