[neomutt-users] how to properly set $folder variable in account changing macro?
f.a at 31c0.net
Sat Jun 10 22:15:34 CEST 2017
On Sa, 10 Jun 17:57:34 +0200
toogley <toogley at mailbox.org> wrote:
>i have two imap accounts. its settings are in their own file, so that i can source them for changing the account.
>In the account specific files, i unset imap_user and folder before setting the new values.
>However, when i change from the first to the second account, my folder is still from the old account while imap_user is from the new account.
>How can i fix that?
I found an old note in my configuration to set $folder always *before*
any variables that use ‘+’ and ‘=’ mailbox shortcuts — just a guess
because I’m still using `getmail`.
I’ve found  where $folder is set multiple times but that looks
wrong. The arch example in  is even more plausible.
PS: Thanks for killing my commit comment with your forced-push, so all
my typos are gone. ;-)
More information about the neomutt-users