Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compsys and KSH_AUTOLOAD
- X-seq: zsh-workers 19766
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Compsys and KSH_AUTOLOAD
- Date: Tue, 13 Apr 2004 05:38:26 +0000
- In-reply-to: <3571.1081806187@athlon>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1040410174430.ZM10891@xxxxxxxxxxxxxxxxxxxxxxx> <1170.1081778412@athlon> <040412085942.ZM19035@xxxxxxxxxxxxxxxxxxxxxxx> <3571.1081806187@athlon>
On Apr 12, 11:43pm, Oliver Kiddle wrote:
}
} Bart wrote:
}
} > The autoload method used isn't stored anywhere in the function structure.
}
} Presumably it also stores whether the function was autoloaded with the
} -U option. Looks like there is a PM_UNALIASED flag. Maybe we can just
} add PM_ZSHSTORED and PM_KSHSTORED flags.
Yes, that would probably work.
Here's a possibly-silly idea: Those flags could be made to apply to
arrays as well as functions, so one could have both zero-based and one-
based indexing independent of the ksharrays option. (-k and -z are not
currently used by typeset except in its autoload incarnation.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author