zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: zsh-workers@sunsite.dk
Subject: Re: Doc for compdef and #compdef is out of date
Date: Tue, 25 Feb 2003 10:37:06 +0100	[thread overview]
Message-ID: <1453.1046165826@finches.logica.co.uk> (raw)
In-Reply-To: <1030223014259.ZM11349@candle.brasslantern.com>

On 23 Feb, Bart wrote:
> There's no mention of `#compdef -T ...' or of what that translates into
> in the actual `compdef' command; there's also no mention of using a comma-
> separated list of context names [as is described under the entry for the
> `_complete' function].

#compdef -T does not exist. See the first paragraph of 16795. And, I'm
not sure what you mean by a comma-separated list of context names unless
you just mean the -redirect-,op,command and -value-,name,command forms.

Looking over the documentation for _complete and compdef/#compdef, it
all looks complete and up-to-date to me. Much of _complete's
documentation covering contexts should perhaps be moved to where compdef
is documented so that _complete's documentation can focus on how it fits
in relative to _expand, _approximate and other completers while
documenting the contexts near compdef makes it more obvious that the
names used with compdef can be contexts as well as command names.

Only thing which does seem to be missing is the -N option from the
compdef synopsis. Other than that, I can't see what I could add to it.

And just something I noticed in _complete's documentation, does anyone
know what the point of the $compcontext additions in 12449 and 12483
were. Where might you set compcontext to an array? I can sort-of
understand the use in _nslookup but that is the only use.

Oliver

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


  reply	other threads:[~2003-02-25  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-23  1:42 Bart Schaefer
2003-02-25  9:37 ` Oliver Kiddle [this message]
2003-02-25 10:11   ` Bart Schaefer
2003-02-25 15:00     ` Oliver Kiddle
2003-02-25 16:22       ` Bart Schaefer

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=1453.1046165826@finches.logica.co.uk \
    --to=okiddle@yahoo.co.uk \
    --cc=zsh-workers@sunsite.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).