aerc/commands/msg
Koni Marti e4d418eed1 viewer: option to not mark message as seen
Add option to open a message in the message viewer without setting the
seen flag. Enables the message viewer to be used as a preview pane
without changing the message flags unintentionally. Before, the message
viewer would set the seen flag by default. The IMAP backend will now
always fetch the message body with the peek option enabled (same as we
fetch the headers).

An "auto-mark-read" option is added to the ui config which is set to
true by default. If set the false, the seen flag is not set by the
message viewer.

Co-authored-by: "James Cook" <falsifian@falsifian.org>
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-10-04 09:43:58 +02:00
..
archive.go viewer: option to not mark message as seen 2022-10-04 09:43:58 +02:00
copy.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
delete.go viewer: option to not mark message as seen 2022-10-04 09:43:58 +02:00
forward.go logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
invite.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
mark.go mark: fix (un)mark -a when no message is selected 2022-09-29 17:18:20 +02:00
modify-labels.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
move.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
msg.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
pipe.go logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
read.go command/read: run in main thread 2022-09-29 21:21:00 +02:00
recall.go viewer: option to not mark message as seen 2022-10-04 09:43:58 +02:00
reply.go pgp: enable quoted replies of encrypted messages 2022-08-31 10:10:03 +02:00
toggle-threads.go msgstore: implement a uid-based architecture 2022-07-26 11:34:19 +02:00
unsubscribe.go open: simplify code 2022-10-01 15:46:49 +02:00
unsubscribe_test.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
utils.go util: fetch message headers for nil messages 2022-08-22 09:30:37 +02:00