From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1616 invoked from network); 31 May 1999 07:04:02 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 May 1999 07:04:02 -0000 Received: (qmail 29842 invoked by alias); 31 May 1999 07:03:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6374 Received: (qmail 29828 invoked from network); 31 May 1999 07:03:42 -0000 Date: Mon, 31 May 1999 09:03:40 +0200 (MET DST) Message-Id: <199905310703.JAA16079@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Sat, 29 May 1999 08:15:12 +0000 Subject: Re: compadd -f with IPREFIX. Bart Schaefer wrote: > Didn't you say the documentation explicitly says this won't happen? So > shouldn't there be some kind of documentation patch to go with the change? Ahem. Thanks. Bye Sven diff -u od/Zsh/compwid.yo Doc/Zsh/compwid.yo --- od/Zsh/compwid.yo Thu May 20 08:32:30 1999 +++ Doc/Zsh/compwid.yo Mon May 31 09:02:10 1999 @@ -424,7 +424,8 @@ ) item(tt(-r) var(remove-chars))( This is a more versatile form of the tt(-q) option. -The suffix given with tt(-S) will be automatically removed if +The suffix given with tt(-S) or the slash automatically added after +completing directories will be automatically removed if the next character typed inserts one of the characters given in the var(remove-chars). This string is parsed as a characters class and understands the backslash sequences used by the tt(print) command. For @@ -436,8 +437,8 @@ as `tt(-S "=" -r "= \t\n\-")'. ) item(tt(-R) var(remove-func))( -This is another form of the tt(-r) option. When a suffix given with the -tt(-S) option has been inserted and the completion accepted, the function +This is another form of the tt(-r) option. When a suffix +has been inserted and the completion accepted, the function var(remove-func) will be called after the next character typed. It is passed the length of the suffix as an argument and can use the special parameters available in ordinary (non-completion) zle widgets (see -- Sven Wischnowsky wischnow@informatik.hu-berlin.de