summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/defaults/alot.rc.spec4
-rw-r--r--docs/source/configuration/alotrc_table11
2 files changed, 15 insertions, 0 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec
index 5962dda1..8d0359ea 100644
--- a/alot/defaults/alot.rc.spec
+++ b/alot/defaults/alot.rc.spec
@@ -13,6 +13,10 @@ attachment_prefix = string(default='~')
# timeout in (floating point) seconds until partial input is cleared
input_timeout = float(default=1.0)
+# A list of tags that will be excluded from search results by default. Using an excluded tag in a query will override that exclusion.
+# .. note:: this config setting is equivalent to, but independent of, the 'search.exclude_tags' in the notmuch config.
+exclude_tags = force_list(default=list())
+
# confirm exit
bug_on_exit = boolean(default=False)
diff --git a/docs/source/configuration/alotrc_table b/docs/source/configuration/alotrc_table
index b15ec412..d019647a 100644
--- a/docs/source/configuration/alotrc_table
+++ b/docs/source/configuration/alotrc_table
@@ -234,6 +234,17 @@
:default: [{buffer_no}: envelope], {input_queue} total messages: {total_messages}
+.. _exclude-tags:
+
+.. describe:: exclude_tags
+
+ A list of tags that will be excluded from search results by default. Using an excluded tag in a query will override that exclusion.
+ .. note:: this config setting is equivalent to, but independent of, the 'search.exclude_tags' in the notmuch config.
+
+ :type: string list
+ :default: ,
+
+
.. _flush-retry-timeout:
.. describe:: flush_retry_timeout