Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: The `zle' command and traps
- X-seq: zsh-workers 10122
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: The `zle' command and traps
- Date: Mon, 13 Mar 2000 17:08:46 +0000
- In-reply-to: <200003131649.RAA00105@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200003131649.RAA00105@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Mar 13, 5:49pm, Sven Wischnowsky wrote:
} Subject: Re: PATCH: Re: The `zle' command and traps
}
} After a bit of checking... I think in many places where we call
} zerrnam() we should really be calling zwarnnam() in functions
} implementing builtins. Otherwise a error reported by the builtin will
} exits loops and sublists and whatnot.
I think this is done because it's so difficult (still) to stop/kill a
loop that contains nothing but builtins. If you've got a builtin going
wrong and that prevents the loop from ever reaching the end ...
We really need to figure out how to handle interrupts during builtins
before we start fooling with clearing errflag in additional cases.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author