From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22004 invoked from network); 22 Feb 1999 10:37:37 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Feb 1999 10:37:37 -0000 Received: (qmail 3322 invoked by alias); 22 Feb 1999 10:37:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5466 Received: (qmail 3310 invoked from network); 22 Feb 1999 10:37:22 -0000 Date: Mon, 22 Feb 1999 11:36:40 +0100 (MET) Message-Id: <199902221036.LAA21149@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Sun, 21 Feb 1999 16:15:42 -0800 Subject: Re: Let's finish this new completion stuff 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