From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16095 invoked from network); 26 Mar 2002 18:05:14 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Mar 2002 18:05:14 -0000 Received: (qmail 14272 invoked by alias); 26 Mar 2002 18:05:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16908 Received: (qmail 14215 invoked from network); 26 Mar 2002 18:05:04 -0000 X-VirusChecked: Checked Date: Tue, 26 Mar 2002 18:04:36 +0000 From: Oliver Kiddle To: zsh-workers@sunsite.dk Subject: PATCH: alter _all_matches example in docs Message-ID: <20020326180436.GA24365@logica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: Oliver Kiddle This is a very small change to an example usage of _generic in the documentation. It makes the context for setting the completer more specific. The trouble was that I used ':completion:*::::' for my main completer style's context so it took precedence and it all didn't work. This just makes it less likely that someone else makes the same mistake. I also just finally worked out that using * for the second (function) part of the context for my ignored-patterns and ignore-line styles was the cause of my _match based widget not working half the time. Oliver Index: Doc/Zsh/compsys.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v retrieving revision 1.150 diff -u -r1.150 compsys.yo --- Doc/Zsh/compsys.yo 17 Mar 2002 17:14:09 -0000 1.150 +++ Doc/Zsh/compsys.yo 26 Mar 2002 17:33:23 -0000 @@ -2398,7 +2398,7 @@ example(zle -C all-matches complete-word _generic bindkey '^Xa' all-matches zstyle ':completion:all-matches:*' old-matches only -zstyle ':completion:all-matches:*' completer _all_matches) +zstyle ':completion:all-matches::::' completer _all_matches) ) findex(_approximate) item(tt(_approximate))( -- This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.