On Fri, Jan 11, 2013 at 07:10:45PM +0100, Marco wrote:
The problem is all the extra spaces you included in the macro
string.

I would never have thought of this! Still, I don't understand why it
only works with a non-empty mailbox. Either spaces are allowed and
it should work, or spaces are an error and mutt should yell at me.

<space> is bound to view-message, so when the mailbox is not empty, it views the message, but you don't see it because the next command in the macro causes you to move back to the index.

Is this behaviour documented? Is there a better way to split the
command over several lines? IMO it makes it much easier to read.

"When you press key in menu menu, Mutt will behave as if you had typed sequence."

http://www.mutt.org/doc/devel/manual.html#macro

There isn't really a good way to wrap long macros, other than breaking it up into several shorter macros and invoking them serially.

Reply via email to