Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Compsys and KSH_AUTOLOAD
- X-seq: zsh-workers 19772
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: Compsys and KSH_AUTOLOAD
- Date: Tue, 13 Apr 2004 17:51:11 +0000
- In-reply-to: <18035.1081870188@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1040410174430.ZM10891@xxxxxxxxxxxxxxxxxxxxxxx> <1170.1081778412@athlon> <040412085942.ZM19035@xxxxxxxxxxxxxxxxxxxxxxx> <3571.1081806187@athlon> <1040413053826.ZM20012@xxxxxxxxxxxxxxxxxxxxxxx> <18035.1081870188@xxxxxxxxxxxxxxxxxxxxx>
On Apr 13, 5:29pm, Oliver Kiddle wrote:
}
} It's not in the patch but I've tried replacing `autoload -U' with
} `autoload -Uz' in compinit/compdump and new completion seems to then
} work with kshautoload set. Should I make that change?
I think so.
} In addition to documentation changes, I also need to make the new
} options work for functions and typeset -f. Shouldn't running just
} `functions -U' restrict the listed options to those with PM_UNALIASED
} set?
That'd be nice.
} At the moment, it isn't entirely consistent with typeset. What
} should `functions +U' do?
List only the names of the functions with PM_UNALIASED set, whereas -U
lists the entire definition (such as it is).
} > Here's a possibly-silly idea: Those flags could be made to apply to
} > arrays as well as functions
}
} It's not a bad idea, if it isn't hard to implement. Can you think of
} cases where you would want a zero-based array?
Well, if you have ksh_autoload set, then chances are you're loading some
ksh functions, which means you probably also have ksh_arrays set. So the
real question is whether there are cases where one would want one-based
arrays; the opposite is just for logical symmetry.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author