Macros sending unwanted keypresses

Francesco Ariis fa-ml at ariis.it
Wed Feb 22 20:53:47 UTC 2023


Hello mutt users,
    I have this macro I use inside mutt to download new messages from
various mailboxes.

    macro generic \e0 '<shell-escape>bash -ic "k echo Checking...; agm; agmnu; agmsoc; agmpec; echo over"<enter><check-new>'

When I call it in `browser` menu, everything is fine.

But when I call it in the `index` something strange happens; once the
bash command has finished running I find myself in vim (my $EDITOR) as if
I had pressed ‘e’ (“edit the raw message).

Why is that? And how can I stop this?
Thanks
—F


More information about the Mutt-users mailing list