From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Namespaces again (was: RE: PATCH: Add jobdirs association to parameter module)
Date: Wed, 15 Dec 1999 09:24:39 +0100 (MET) [thread overview]
Message-ID: <199912150824.JAA03740@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Tue, 14 Dec 1999 23:46:41 +0000
Peter Stephenson wrote:
> Sven Wischnowsky wrote:
> > - What exactly would we gain by using different tables?
>
> It's really an internal matter. If you can give the same impression easily
> without that's probably OK.
>
> > - In which way would they remain `invalid'? Especially from a user's
> > point of view -- who should still be able to say `.a.b=c'.
>
> I think Andrej was saying ${a.b} should be invalid, which I agree with
> since otherwise it complicates things mightily --- i.e, if there are any
> dots in a name, there must be one at the beginning. Just allowing
> `.' separators might be enough for testing, but it's too much of a hack for
> normal use.
Ah, I see. Yes, that sounds reasonable.
> Unfortunately, catching all the relevant entry points to the
> parameter code to test this sort of thing tends to be rather a nuisance.
Indeed.
> It would be nice to get the full module name into the namespace, but
> perhaps ${.parameter.options} is a bit long.
I've been thinking some more... maybe we should only use it for
logical grouping. E.g. the parameters from zle ($BUFFER etc.) should
be $.zle.buffer etc. and the ones from the zleparameter module should
use the same prefix ($.zle.keymaps seems to make a lot more sense to
me than $.zleparam.keymaps or even $.zleparameter.keymap). And then
the parameter module could probably use `$.zsh.' as the prefix.
I think the result would be that the names say what they give access
to instead of saying where they come from - and I hope user's will
find this much less confusing.
> I think it's still early enough days with the parameter module to make this
> change without too many people throwing themselves off millennial
> landmarks. We should decide if others need it. mapfile is perhaps the
> only candidate, but then ${.mapfile.what?}, or can we get away with
> ${.mapfile} ?
Then there is the question how far we want to go. E.g. should we
change $BUFFER and friends? The special completion parameters like
$.comp.state, $.comp.prefix and so on?
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-12-15 8:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-15 8:24 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-12-14 14:30 Sven Wischnowsky
1999-12-14 23:46 ` Peter Stephenson
1999-12-15 10:28 ` Zefram
1999-12-14 13:33 PATCH: Add jobdirs association to parameter module Sven Wischnowsky
1999-12-14 14:18 ` Namespaces again (was: RE: PATCH: Add jobdirs association to parameter module) Andrej Borsenkow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199912150824.JAA03740@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).