neomutt: Fix index and attach display

Some macros ceased to work. I am not sure if it was because they
were deprecated and stopped working with a new version or they
never fully worked in the first place. Either way, now it is
running again.
This commit is contained in:
Marty Oehme 2024-06-06 17:40:25 +02:00
parent 663bcd8436
commit f8dfe7d856
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -73,12 +73,12 @@ color progress black cyan
# Formatting ---------------------------------------------------------------------- # Formatting ----------------------------------------------------------------------
set date_format = "%a %d %h %H:%M" set date_format = "%a %d %h %H:%M"
set index_format=" %zc %zs %zt | %-35.35L %?X?📎& ? %?M10?~(%1M) ?%-30.100s %> %?Y?%Y ? %(!%a %d %h %H:%M) " set index_format=" %zc %zs %zt | %-35.35L %?X?📎& ? %M %-30.100s %> %?Y?%Y ? %(!%a %d %h %H:%M) "
set pager_format="%n %T %s%*  %{!%d %b · %H:%M} %?X? %X?%P" set pager_format="%n %T %s%*  %{!%d %b · %H:%M} %?X? %X?%P"
set status_format = " %D %?u? %u ?%?R? %R ?%?d? %d ?%?t? %t ?%?F? %F ?%?p? %p? \n \n" set status_format = " %D %?u? %u ?%?R? %R ?%?d? %d ?%?t? %t ?%?F? %F ?%?p? %p? \n \n"
set compose_format="-- NeoMutt: Compose [Approx. msg size: %l Atts: %a]%>-" set compose_format="-- NeoMutt: Compose [Approx. msg size: %l Atts: %a]%>-"
# set vfolder_format = "%N %?n?%3n& ? %8m  · %f" # set vfolder_format = "%N %?n?%3n& ? %8m  · %f"
set attach_format = "%u%D  %T%-75.75d %?T?%& ? %5s · %m/%M" set attach_format = "%u%D  %T %-75.20d %T  %5s %m/%M"
set sidebar_format = '%D%?Z? [%Z]?%* %?S?%S?' set sidebar_format = '%D%?Z? [%Z]?%* %?S?%S?'
index-format-hook attachment_info '=B text/calendar ~X 1' ' ' index-format-hook attachment_info '=B text/calendar ~X 1' ' '
index-format-hook attachment_info '=B text/calendar' " " index-format-hook attachment_info '=B text/calendar' " "