zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: Re: RFD: Zsh styles and OOP ...
Date: Mon, 14 Feb 2000 19:13:53 +0000	[thread overview]
Message-ID: <E12KQsz-0003hV-00.2000-02-14-19-10-18@mail1.svr.pol.co.uk> (raw)
In-Reply-To: ""Andrej Borsenkow""'s message of "Mon, 14 Feb 2000 13:50:06 +0300." <000101bf76d9$415ce110$21c9ca95@mow.siemens.ru>

"Andrej Borsenkow" wrote:
> I believe, it would be of real help to developers as well to
> 
> - clear define what sorts of objects exist
> - what properties do they have
> - use context names, that refelect actual object hierarchy without need of
> dummy placeholders or fake "match it all" entries
> 
> It would of much help to users if they had context/tags/styles descriprion
> divided into subgroups for every object type instead of current long list.
> 
> Not sure how interesting it is ...

This is certainly interesting.  Unfortunately it's going to make the whole
thing even more complicated, both for implementation and use.  Furthermore,
we really need this to be right in 3.1.7 --- I would be against rewriting
the configuration for completion yet again.  So unless we can come up with
something reasonably simple quite quickly --- such as an extension of
the notion of context in a more object-oriented way --- we're probably
stuck with what we've got.  I don't think it's so bad; I agree it's a bit
of a nuisance that you can often only use bits of the context, but if you
think of it as an array of entries --- which was the point of the change to
fixed elements --- it's more logical.  It's not any worse than X fonts.

One half-formed idea in my mind is that you specify styles with a set of
key/value pairs, which maps to a hash internally, in other words you can
specify "system => completion, completer => complete, tag => directories",
or something like that; the values are patterns as before, and anything not
specified is a wildcard.  I don't know whether or not that has legs.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


  reply	other threads:[~2000-02-14 19:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-14 10:50 Andrej Borsenkow
2000-02-14 19:13 ` Peter Stephenson [this message]
2000-02-15 10:10 Sven Wischnowsky
2000-02-15 10:39 ` Andrej Borsenkow
2000-02-15 12:08 Sven Wischnowsky

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=E12KQsz-0003hV-00.2000-02-14-19-10-18@mail1.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --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).