On Wed, Jan 26, 2000 at 16:30:45 +0200, Mikko Hänninen wrote:
> Byrial Jensen <[EMAIL PROTECTED]> wrote on Wed, 26 Jan 2000:
> > You could make a macro to:
> > 
> > 1) copy the current message to some other mailbox,
> > 2) move the cursor to the next message
> > 3) call itself
> > 
> > and start it at the first message in the sorted mailbox
> 
> What would cause this macro to stop?  I forget, do macros stop executing
> if there's an error (ie. can't move further down)?

I thought so when I made the suggestion. But I just tested it
and inspected the source, and it seems that recursive macros
can't be stopped in Mutt 1.0 -- which of course makes them
useless.

I'm sure that macro executing once were stopped by errors, but I
didn't find any notice about this in the changelog. Does anybody
know why that was changed?

It would be very simple to change back.

> There should always
> be some exit condition in recursive functions...  Difficult to do with
> Mutt's macros since there's no conditional execution.

Yes, I miss a more powerfull macro language for Mutt.

-- 
Byrial

Reply via email to