Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Add jobdirs association to parameter module
- X-seq: zsh-workers 9030
- From: Felix Rosencrantz <f_rosencrantz@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: Add jobdirs association to parameter module
- Date: Mon, 13 Dec 1999 22:39:47 -0800 (PST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> What is this chunk for? It's going to mean the parameters are permanently
> stuck in the parameter table, even if the module is unloaded, and if the
> module is reloaded the parameters won't be. Sven just fixed this a week or
> so ago.
Sigh... I'm terribly embarrassed. I made the change more than a week ago, and
wanted to try it before sending it. Then I made the patch with the latest
version of parameter.c rather than the original version.
> It's a shame we didn't have more specific names for parameters, since the
> parameter module is quiet heavily used in completion, so there is quite a
> lot of name space pollution. They stop being special if made local, but
> it's still a problem. The ksh mechanism ${.param.jobdirs} would be
> excellent for this.
I agree, there is a problem with the name space pollution. I would suggest
that zsh is included in the name, like ${.zshparam.jobdirs} or
${.zsh.param.jobdirs} (I'm not familiar with ksh). I think if we say that
parameters beginning with zsh are reserved for future expansion, then there is
room for expansion without stepping on people's toes.
-FR.
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author