On Tue, Feb 22, 2022 at 08:02:03AM +0000, Piet wrote:
macro index,pager <f5> '<sync-mailbox><enter-command>source ~/.config/mutt/conf/imap1<enter><change-folder>!<enter>' macro index,pager <f6> '<sync-mailbox><enter-command>source ~/.config/mutt/conf/imap2<enter><change-folder>!<enter>'
But if I sync manually with key "$" before shifting to the other account, Mutt asks me to delete the message in the actual folder.
The $delete quadoption prompt is happening after <sync-mailbox>. The prompt tries to read from input: in this case the contents of your macro. Try unsetting $delete, either in your muttrc or at the start of the macro.
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature