Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Use of zerr() vs. zwarn()



Bart Schaefer wrote:

> On Sep 29,  4:58pm, Bart Schaefer wrote:
> } Subject: Use of zerr() vs. zwarn()
> }
> } 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
> to zwarnnam() at some point in the past, but I can't find a zsh-workers
> article in the archive to confirm.  (Maybe it was in a uuencoded patch;
> it predates my first local import of 3.1.x, which I believe was 3.1.4.)
> 
> This makes me inclined to leave this whole sub-category alone, at least
> until there's been some feedback.

Yes, please. I changed that in 10131. The discussion leading up to it
is in 10120, 10122 and before. We had problems with builtins stopping
loops (or not) because of errflag.

No opinion or comments on the other things yet...


Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author