From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6303 invoked from network); 6 Jun 2000 16:45:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jun 2000 16:45:04 -0000 Received: (qmail 6797 invoked by alias); 6 Jun 2000 16:44:56 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11783 Received: (qmail 6790 invoked from network); 6 Jun 2000 16:44:53 -0000 From: "Bart Schaefer" Message-Id: <1000606164423.ZM701@candle.brasslantern.com> Date: Tue, 6 Jun 2000 16:44:23 +0000 In-Reply-To: <1000606155725.ZM594@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: PATCH: Re: blah*[TAB] (difference between 3.1.6 and 3.1.9)" (Jun 6, 3:57pm) References: <200006061258.OAA09450@beta.informatik.hu-berlin.de> <1000606155725.ZM594@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: blah*[TAB] (difference between 3.1.6 and 3.1.9) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 6, 3:57pm, Bart Schaefer wrote: } Subject: Re: PATCH: Re: blah*[TAB] (difference between 3.1.6 and 3.1.9) } } On Jun 6, 2:58pm, Sven Wischnowsky wrote: } } Subject: PATCH: Re: blah*[TAB] (difference between 3.1.6 and 3.1.9) } } } } And to get nearer to the expand-or-complete behaviour, you should also } } use: } } } } zstyle ':completion:*:expand:*' tag-order all-expansions } } Eh? I just tried (again) my sequence in `zsh-3.1.9 -f' and I don't get } offered a menu. I just get the expansion inserted. I get exactly the } same behavior with your tag-order style as without. I'm sorry; I was trying zsh-3.1.7 -f ... it behaves as Sven says in 3.1.9, though I don't understand why they differ. And this part still puzzles me: } And if your tag-order were going to matter, shouldn't it need to be: } } zstyle ':completion:*:expand:*' tag-order - all-expansions } } because } If any string in the value consists of only a hyphen, then } *only* the tags specified by the other strings in the value } are generated. Normally all tags not explicitly selected are } tried last if the specified tags fail to generate any } matches. Is that doc excerpt wrong now? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net