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

Re: Line number monstrosity



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