mailboxes browser: strips full path from current account in 1.8.x and 1.9.x (not in 1.7.x)
After an upgrade from 1.7.2 to 1.9.4 the mailbox browser (after pressing y) appears to have an issue:
As you can see, mailbox 1, 2 and 7 do not list the mailboxes with the full path:
-- Mutt: Mailboxes [0]
1 =archive
2 =delete-me
3 imaps://me@my-mailhost1.net@localhost/INBOX
4 imaps://me@another-account.net@localhost/Archive
5 imaps://me@another-account.net@localhost/INBOX
6 imaps://me@another-account.net@localhost/Sent
7 =INBOX
When changing into another account's mailboxes (e.g. me@another-account.net) then the list strips the paths from that account and restores the ones missing above in lines 1, 2, 7.
I suspect my muttrc I've left untouched for years may have flaws?
The essentials are:
account-hook . 'unset ...'
account-hook 'imaps://me@my-mailhost1.net@localhost' "set imap_user=..., ..."
account-hook ... (similar for all accounts)
unset folder
set folder="imaps://me@my-mailhost1.net@localhost"
mailboxes =INBOX
folder-hook 'imaps://me@my-mailhost1.net@localhost' "set folder=... record=..."
set folder="imaps://me@another-account.net@localhost"
mailboxes =INBOX =Archive =Sent
folder-hook 'imaps://me@another-account.net@localhost' "set folder=... record=..."
...
Thanks