about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-12-18 06:34:07 +0100
committerDrew DeVault <sir@cmpwn.com>2019-12-21 09:27:53 -0500
commitb9d2938f9fd13c290f187901c2fd43c957a24dd7 (patch)
tree5dd35d07dd56f851752fb6e16dc187ccd51d9f33 /config
parenta744df724f8b7acb0ac231a615192d33c414012e (diff)
downloadaerc-b9d2938f9fd13c290f187901c2fd43c957a24dd7.tar.gz
msglist: highlight marked messages
Note that, until we get color configuration, this means that the user *must*
have the %Z verb in the index format else it'll be horribly confusing
as no visual indication is provided
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf.in2
-rw-r--r--config/triggers.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in
index 5feeac0..39548cd 100644
--- a/config/aerc.conf.in
+++ b/config/aerc.conf.in
@@ -7,7 +7,7 @@
 # with mutt's printf-like syntax.
 #
 # Default:
-index-format=%D %-17.17n %s
+index-format=%D %-17.17n %Z %s
 
 #
 # See time.Time#Format at https://godoc.org/time#Time.Format
diff --git a/config/triggers.go b/config/triggers.go
index f68cb58..3187cf7 100644
--- a/config/triggers.go
+++ b/config/triggers.go
@@ -39,7 +39,7 @@ func (trig *TriggersConfig) ExecNewEmail(account *AccountConfig,
 			formatstr, args, err := format.ParseMessageFormat(
 				account.From,
 				part,
-				conf.Ui.TimestampFormat, account.Name, 0, msg)
+				conf.Ui.TimestampFormat, account.Name, 0, msg, false)
 			if err != nil {
 				return "", err
 			}