3 cmds="$(dirname "$(realpath -- "$0")")"
6 set mail_check_stats_interval=5
7 set sort_browser_mailboxes=reverse-unread
8 set folder_format="%3C %t %N [%3n|%3m] %D %f"
9 macro browser q "<exit><quit>"
12 folder-hook . "set sort = reverse-date"
14 bind index q browse-mailboxes
15 macro index A <tag-pattern>~U<enter><tag-prefix><clear-flag>N
16 set date_format="%Y-%m-%d %H:%M"
17 folder-hook . "set index_format = \"%4C %Z [%D] %s (%?l?%4l&%c?)\""
20 macro pager o "|$cmds/x-urlview.sh\n"
22 macro index <F8> "<shell-escape>mu find --muhome mu --clearlinks --format=links --linksdir=search " "mu find"
23 macro index <F9> "<change-folder-readonly>search<enter>" "mu find results"
24 folder-hook search "set index_format = \"%4C [%D] %s (%F)\""
26 unignore X-Author X-URL X-Enclosure X-Categories
28 alternative_order text/plain text/html
39 echo unreadable $f/title >&2
43 [ -n "$title" ] && label="-label \"$title\"" || :
44 echo mailboxes $label $f