From 716f2a9489f0586f8f13c94a3c3149668800b95d Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Sat, 3 Mar 2018 21:39:11 +0100 Subject: implement replied and passed tags maildir knows R and P flags which denote messages that have been replied to resp. passed on (fowarded, bounced). They correspond to IMAP flags \Replied and $Forwarded which are used by many clients and by synchronisation software. E.g., mbsync syncs \Replied to R, a patch for P is pending. Implement replied_tags and passed_tags for alot which work similar to sent_tags: sent_tags tags the sent message; replied_tags (resp. passed_tags) tags the message being replied to (resp. being fowarded). Basically, setting the replied_tags config to `replied` and replying to a message has the same effect as doing `tag replied; reply`, but the latter would tag even sending the reply is aborted or fails. The implementation in this patch makes sure that the tagging is done only if and when the reply resp. forward has been sent successfully. --- docs/source/configuration/accounts_table | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs') diff --git a/docs/source/configuration/accounts_table b/docs/source/configuration/accounts_table index d2c81399..2215df51 100644 --- a/docs/source/configuration/accounts_table +++ b/docs/source/configuration/accounts_table @@ -100,6 +100,26 @@ :default: draft +.. _replied-tags: + +.. describe:: replied_tags + + list of tags to automatically add to replied messages + + :type: string list + :default: replied + + +.. _passed-tags: + +.. describe:: passed_tags + + list of tags to automatically add to passed messages + + :type: string list + :default: passed + + .. _signature: .. describe:: signature -- cgit v1.2.3