Dear Kevin,

thank you, works!


Kind regards

Piet


Am Tue, Feb 22, 2022 at 09:36:20AM -0800 schrieb Kevin J. McCarthy:
> On Tue, Feb 22, 2022 at 09:32:50AM -0800, Kevin J. McCarthy wrote:
> > 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.
> 
> Sorry, I meant setting $delete to "yes".
> 
> -- 
> Kevin J. McCarthy
> GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


Reply via email to