zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Let's finish this new completion stuff
Date: Mon, 22 Feb 1999 11:36:40 +0100 (MET)	[thread overview]
Message-ID: <199902221036.LAA21149@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Sun, 21 Feb 1999 16:15:42 -0800


Bart Schaefer wrote:

> By the way, your doc for the new completion stuff doesn't mention any
> of the $argv-modifying etc. side-effects of the condition codes (except
> for -iprefix changing $IPREFIX), as far as I can tell.

I had it for `-string' and `-class', too, but forgot it for `-after'
and `-between'.

Bye
 Sven

--- od/Zsh/compwid.yo	Mon Feb 22 10:49:09 1999
+++ Doc/Zsh/compwid.yo	Mon Feb 22 11:10:07 1999
@@ -382,15 +382,19 @@
 var(min) and equal to or less than var(max)
 )
 item(tt(-after) var(string))(
-true if the cursor is after a word that is equal to var(string)
+true if the cursor is after a word that is equal to var(string); this
+removes all words up to and including the matched word from the
+positional parameters
 )
 item(tt(-mafter) var(pattern))(
 like tt(-after) but using pattern matching
 )
 item(tt(-between) var(string1) var(string2))(
 true if the cursor is after a word that is equal to var(string1), if
-there is also a word that is equal to va(string2), this is true only
-if the cursor is before it
+there is also a word that is equal to var(string2), this is true only
+if the cursor is before it; as a side effect, all words before
+var(string1) and after var(string2) (both inclusive) are removed from
+the positional parameters
 )
 item(tt(-mbetween) var(pattern1) var(pattern2))(
 like tt(-between) but using pattern matching

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


             reply	other threads:[~1999-02-22 10:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-22 10:36 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-02-23  9:08 Sven Wischnowsky
1999-02-22 16:01 Sven Wischnowsky
1999-02-22  9:44 Sven Wischnowsky
1999-02-23  5:28 ` Bart Schaefer
1999-02-22  8:50 Sven Wischnowsky
1999-02-21  3:59 Matt Armstrong
1999-02-22  8:59 ` Peter Stephenson
1999-02-19 15:21 Sven Wischnowsky
1999-02-20 15:01 ` Peter Stephenson
1999-02-22  0:15   ` 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=199902221036.LAA21149@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).