On Sat, Jul 25, 2009 at 12:04:12PM +1000, Cameron Simpson wrote: > Get rid of the semicolon and retry. Mutt aborts macros when something > goes wrong, which was probably the semicolon. Remember, the macro is as > if you have _typed_ it all. There's no semicolon needed before the next thing > you type:-)
Ah, that makes sense. It's basically working now, but it still displays the currently selected message. It seems to do that after the first <enter>. If I try without the second <enter>, it still displays the message and leaves the second part of the macro in the command line so that I have to press enter myself. What might be causing that? Do I need to escape the '*' in "unmailboxes *"? It would be logical that I should ... Hm, it works when the '*' is escaped, but still displays the current message. macro index .a "<enter-command>unmailboxes *<enter> \ <enter-command>mailboxes \`mutt-mb -line 4 ~/Mail\`<enter>"