diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-20 10:41:47 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-20 11:39:27 +0100 |
commit | 3b78137e97565f90a48aad92dc471c47e63747eb (patch) | |
tree | ca0780c013888b126e0a315279f02377e58e0b16 /alot/defaults/alot.rc.spec | |
parent | 720e92a4a54b80a0ab8432e8e2defcdfe6b0c49f (diff) |
widgets/thread: option for smarter subject in message summary
In the smart mode, display subject only if it's different from parent
(modulo leading re:'s). Since the subject should not change most of the
time, this reduces visual clutter.
Diffstat (limited to 'alot/defaults/alot.rc.spec')
-rw-r--r-- | alot/defaults/alot.rc.spec | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec index d2b7866c..00e527b5 100644 --- a/alot/defaults/alot.rc.spec +++ b/alot/defaults/alot.rc.spec @@ -74,6 +74,16 @@ thread_authors_me = string(default='Me') # the thread subject thread_subject = option('oldest', 'notmuch', default='notmuch') +# Whether/how to display the subject in the message summary line in thread +# view. Valid values are: +# +# * 'yes' always display the subject +# * 'no' never display the subject +# * 'smart' use heuristics to decide whether the subject should be shown. +# Currently that means the subject is displayed if it is different +# from parent message's, or if the message in question has no parent. +thread_message_summary_subject = option('yes', 'no', 'smart', default = 'smart') + # When constructing the unique list of thread authors, order by date of # author's first or latest message in thread thread_authors_order_by = option('first_message', 'latest_message', default='first_message') |