Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Use of zerr() vs. zwarn()
- X-seq: zsh-workers 12882
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Use of zerr() vs. zwarn()
- Date: Wed, 4 Oct 2000 13:53:04 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Wed, 4 Oct 2000 09:47:34 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> Welcome back, Sven! Hope you had a good holiday.
Yes, thanks.
> On Oct 4, 11:30am, Sven Wischnowsky wrote:
> }
> } Bart Schaefer wrote:
> }
> } > On Sep 29, 4:58pm, Bart Schaefer wrote:
> } > }
> } > } init.c:1122: zwarnnam(name, "option valid only in functions called from completion",
> } > } Should these use zerrnam(), as do completion-only conditions within
> } > } [[ ... ]] ?
> } >
> } > Judging from the indentation on the line following the call to zwarnnam(),
> } > I suspect that this originally *was* a call to zerrnam() and was changed
> }
> } Yes, please. I changed that in 10131.
>
> ...?? Not Src/init.c, you didn't.
Sorry, I was confused by the `... from completion'.
> } The discussion leading up to it is in 10120, 10122 and before. We had
> } problems with builtins stopping loops (or not) because of errflag.
>
> Yes, exactly; that's the same sort of thing I was trying to address with
> the other zerr --> zwarn changes.
>
> However, "... only in functions called from completion ..." is not an
> error that can possibly occur in any case where a loop *ought* to
> continue, is it?
Right.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author