Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Use of zerr() vs. zwarn()
- X-seq: zsh-workers 12876
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Use of zerr() vs. zwarn()
- Date: Wed, 4 Oct 2000 09:47:34 +0000
- In-reply-to: <200010040930.LAA09399@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200010040930.LAA09399@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Welcome back, Sven! Hope you had a good holiday.
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.
} 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?
I certainly would *not* advocate changing back anything *else* in 10131.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author