From 1bceeca953cda102923bb67dfbc8488bae5d35cc Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 24 May 2020 14:23:34 +0200 Subject: Allow designating certain tags as "property" tags. Those are tags like attachment, signed, sent, etc., which are set automatically based on message properties and are typically not changed manually. Such designated tags are not affected by the retag operation. --- alot/defaults/alot.rc.spec | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'alot/defaults') diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec index 943bfe16..46572758 100644 --- a/alot/defaults/alot.rc.spec +++ b/alot/defaults/alot.rc.spec @@ -14,6 +14,13 @@ input_timeout = float(default=1.0) # .. note:: this config setting is equivalent to, but independent of, the 'search.exclude_tags' in the notmuch config. exclude_tags = force_list(default=list()) +# A list of tags that are considered message "properties", and will not be +# normally touched. Specifically, these tags will not be removed by the retag +# operation, and will excluded from completion. +# Using a property-tag in an explicit add or remove operation will still work +# normally. +property_tags = force_list(default=list(attachment,encrypted,signed,sent,replied)) + # confirm exit bug_on_exit = boolean(default=False) -- cgit v1.2.3