From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11520 invoked from network); 2 May 2000 11:19:19 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 May 2000 11:19:19 -0000 Received: (qmail 2076 invoked by alias); 2 May 2000 11:18:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11060 Received: (qmail 2067 invoked from network); 2 May 2000 11:18:42 -0000 Date: Tue, 2 May 2000 13:18:41 +0200 (MET DST) Message-Id: <200005021118.NAA02586@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Tanaka Akira's message of 02 May 2000 18:17:58 +0900 Subject: Re: PATCH: completion docs Tanaka Akira wrote: > In article <200005020811.KAA29433@beta.informatik.hu-berlin.de>, > Sven Wischnowsky writes: > > > @@ -1705,12 +1710,12 @@ > > > > For example: > > > > -example(zstyle ':completion:*:complete:gunzip:*' tag-order \ > > - arguments options) > > +example(zstyle ':completion:*:complete:-command-:*' tag-order \ > > + 'commands functions') > > > > -specifies that completion after tt(gunzip) should offer completions for > > -both arguments and options immediately, instead of offering first > > -arguments and then option as usual. > > +specifies that completion in command position after tt(gunzip) should > > +offer only completions for external commands and shell functions > > +immediately. > > > > In addition to tag names, each string in the value may take one of the > > following forms: > > gunzip? The example doesn't mention gunzip. Argh. Forgot to delete some words. > Also note that, I think auto-descrive style mentioned in line 2911 is > obsolete. It's named auto-description, right. Thanks. Bye Sven Index: Doc/Zsh/compsys.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v retrieving revision 1.29 diff -u -r1.29 compsys.yo --- Doc/Zsh/compsys.yo 2000/05/02 08:14:29 1.29 +++ Doc/Zsh/compsys.yo 2000/05/02 11:17:25 @@ -1713,9 +1713,8 @@ example(zstyle ':completion:*:complete:-command-:*' tag-order \ 'commands functions') -specifies that completion in command position after tt(gunzip) should -offer only completions for external commands and shell functions -immediately. +specifies that completion in command position should offer only +completions for external commands and shell functions immediately. In addition to tag names, each string in the value may take one of the following forms: @@ -2908,7 +2907,7 @@ given in brackets at the end, as in `tt(-q[query operation])'. The tt(verbose) style is used to decide if these explanation strings should be printed when options are listed. If no -explanation string is given but the tt(auto-describe) style is +explanation string is given but the tt(auto-description) style is set and only one argument is described for this var(opt-spec), the option will be described by the value of the style with any appearance of the sequence `tt(%d)' in it replaced by the description for the -- Sven Wischnowsky wischnow@informatik.hu-berlin.de