zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _prompt: two useless ':*:'
Date: Wed, 1 Dec 1999 13:07:03 +0100 (MET)	[thread overview]
Message-ID: <199912011207.NAA14863@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Wed, 1 Dec 1999 13:02:04 +0100 (MET)


I wrote:

> Alexandre Duret-Lutz wrote:
> 
> > ~ % prompt -<TAB>
> > ~ % prompt -_arguments: bad pattern: adam1):*: [253]
> > 
> > parse_cadef/parse_caarg won't split the action at colons once the
> > first `:*pattern:' is encountered in a description, or for description
> > of normal/rest arguments (starting with `n:', `*:' or `:').
> > 
> > Should this be said en zshcompsys.1 ?  I guess this means we can
> > write `:foo:((a\:bar b\:baz))' without needing to escape colons in
> > such cases (I didn't try).
> 
> Since things may change (i.e. meaning may be given to things which are 
> now not meaningful), I thought it better to not document this. In the
> pure shell code version this wasn't possible, btw.

... I was about to add something about `until I re-read the docs' --
and then hit C-cC-c too early. Sorry.

So...

Bye
 Sven

diff -u olddoc/Zsh/compsys.yo Doc/Zsh/compsys.yo
--- olddoc/Zsh/compsys.yo	Mon Nov 29 10:10:40 1999
+++ Doc/Zsh/compsys.yo	Wed Dec  1 13:06:21 1999
@@ -1899,7 +1899,9 @@
 two colons the tt(words) special array and the tt(CURRENT) special
 parameter are modified to refer only to the words after the option
 (with two colons) or to the words covered by this description (with
-three colons) during the execution or evaluation of the var(action).
+three colons) during the execution or evaluation of the
+var(action). Note that only one such `tt(:*)'-specification is useful
+and no other argument specification may be given after it.
 
 In the simplest form the var(opt-spec) is just the option name
 beginning with a minus or a plus sign, such as `tt(-foo)'. In this

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-12-01 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-01 12:07 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-01 12:15 Alexandre Duret-Lutz
1999-12-01 12:02 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=199912011207.NAA14863@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).