diff options
author | Robin Jarry <robin@jarry.cc> | 2023-02-03 13:14:35 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-02-20 14:48:42 +0100 |
commit | 6cfbc87d8ab0be8d264d81b0b1f26e7b96719dfc (patch) | |
tree | c09b6b671bd90504ce0e90512b39b31f650f37fb /config/templates.go | |
parent | d74400ac07a9f149e89fdf2b7232ffc6871f8553 (diff) | |
download | aerc-6cfbc87d8ab0be8d264d81b0b1f26e7b96719dfc.tar.gz |
dirlist: use templates instead of % mini language
Replace dirlist-format with two settings: dirlist-left & dirlist-right.
These two settings take aerc-templates(7) and may be left empty.
Add automatic translation of dirlist-format to these new settings.
Display a warning on startup if dirlist-format has been converted.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'config/templates.go')
-rw-r--r-- | config/templates.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/templates.go b/config/templates.go index 0f3870c5..bc05be66 100644 --- a/config/templates.go +++ b/config/templates.go @@ -104,6 +104,7 @@ func (d *dummyData) OriginalHeader(string) string { return "" } func (d *dummyData) Recent(...string) int { return 1 } func (d *dummyData) Unread(...string) int { return 3 } func (d *dummyData) Exists(...string) int { return 14 } +func (d *dummyData) RUE(...string) string { return "1/3/14" } func (d *dummyData) Connected() bool { return false } func (d *dummyData) ConnectionInfo() string { return "" } func (d *dummyData) ContentInfo() string { return "" } |