summaryrefslogtreecommitdiff
path: root/alot/defaults
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-05-24 14:23:34 +0200
committerAnton Khirnov <anton@khirnov.net>2020-05-24 14:47:35 +0200
commit1bceeca953cda102923bb67dfbc8488bae5d35cc (patch)
tree2798579f7e97adccc4cdc302775db912a16b0bb0 /alot/defaults
parentc8f3d99eab089d337e5fdcb8ff39efd6ab1aa5e9 (diff)
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.
Diffstat (limited to 'alot/defaults')
-rw-r--r--alot/defaults/alot.rc.spec7
1 files changed, 7 insertions, 0 deletions
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)