Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Line number monstrosity
- X-seq: zsh-workers 12214
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Line number monstrosity
- Date: Tue, 11 Jul 2000 15:54:25 +0200 (MET DST)
- In-reply-to: Clint Adams's message of Tue, 11 Jul 2000 09:40:19 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Clint Adams wrote:
> > The only problem is the `flubba:104:' at the start of the error message.
> > It's not in the function yet, so shouldn't print that. I haven't looked,
> > but the problem must be that autoload makes it think it is in the function,
> > since that's often useful contextwise. It isn't here, since you get the
> > wrong line number (that's the interactive $LINENO at this point).
>
> In a vaguely similar vein, the 14 in
> cat:14: no such file or directory: nonexistent
> isn't particularly useful.
Hm. But then we need user-configurable error-message-strings (some
prompt-like thingy wit %-escapes). Or at least a line_numbers_not_useful
option.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author