From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27307 invoked from network); 23 Jun 2004 19:09:14 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 23 Jun 2004 19:09:14 -0000 Received: (qmail 25892 invoked from network); 23 Jun 2004 19:08:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jun 2004 19:08:35 -0000 Received: (qmail 11252 invoked by alias); 23 Jun 2004 19:08:11 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7599 Received: (qmail 11242 invoked from network); 23 Jun 2004 19:08:11 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 23 Jun 2004 19:08:08 -0000 Received: (qmail 25020 invoked from network); 23 Jun 2004 19:08:07 -0000 Received: from unknown (HELO moonbase.zanshin.com) (root@167.160.213.139) by a.mx.sunsite.dk with SMTP; 23 Jun 2004 19:08:05 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i5NJ84am025793 for ; Wed, 23 Jun 2004 12:08:04 -0700 Date: Wed, 23 Jun 2004 12:08:04 -0700 (PDT) From: Bart Schaefer Sender: schaefer@toltec.zanshin.com Reply-To: zsh-users@sunsite.dk To: zsh-users@sunsite.dk Subject: Re: zsh completion of just latex files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 On Wed, 23 Jun 2004, zzapper wrote: > Pardon my ignorance, do I have 2 choose between the two methods of > completion compsys and compctl, can I mix them, do I have to activate > one or the other? You have to activate compsys (by calling "compinit" from your ~/.zshrc) in order to use it; the default is compctl. Once activated, compsys can be told to fall back on compctl for anything that it's not able to handle, but there is no way to have compctl tried first and then fall back on compsys. (I believe the compsys fallback to compctl happens without any need for special intervention, that is, you have to set a style to turn it _off_. The style name is "use-compctl".) On Wed, 23 Jun 2004, zzapper wrote: > On Wed, 23 Jun 2004 08:59:30 +0100, wrote: > > >>zstyle ':completion:*:*:vtex:*' file-patterns \ > >> '*.tex:tex-files' '*.toc:toc-files *.dvi:dvi-files' '%p:all-files' > >> > to be more specifc the above method didn't work for while the "old" > method from Sartoo worked just fine I suspect that means you've not called "compinit". autoload -U compinit compinit