aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-config.5.scd2
-rw-r--r--doc/aerc-templates.7.scd17
2 files changed, 17 insertions, 2 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index 06f7c0b0..573ae557 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -116,7 +116,7 @@ These options are configured in the *[ui]* section of _aerc.conf_.
column-date = {{.DateAutoFormat .Date.Local}}
column-name = {{index (.From | names) 0}}
column-flags = {{.Flags | join ""}}
- column-subject = {{.Subject}}
+ column-subject = {{.ThreadPrefix}}{{if .ThreadFolded}}{{printf "{%d}" .ThreadCount}}{{end}}{{.Subject}}
```
See *aerc-templates*(7) for all available symbols and functions.
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index ce0b9a7c..19a7bd36 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -80,7 +80,7 @@ available always.
is enabled).
```
- {{.ThreadPrefix}}{{.Subject}}
+ {{.ThreadPrefix}}{{if .ThreadFolded}}{{printf "{%d}" .ThreadCount}}{{end}}{{.Subject}}
```
The subject of the email stripped of any _Re:_ and _Fwd:_ prefixes.
@@ -88,6 +88,21 @@ available always.
```
{{.SubjectBase}}
```
+*Threading*
+ When threading is enabled, these attributes are available in the message
+ list:
+
+ _ThreadPrefix_
+ If the message is part of a thread, this will contain arrows
+ that represent the message tree based on _In-Reply-To_ and
+ _References_ headers.
+
+ _ThreadFolded_
+ Will be _true_ if the message has thread children which are
+ hidden by *:fold*.
+
+ _ThreadCount_
+ The number of thread children.
*Flags*
List of message flags, not available when composing, replying nor