From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21532 invoked from network); 25 Jun 2000 02:22:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Jun 2000 02:22:20 -0000 Received: (qmail 24988 invoked by alias); 25 Jun 2000 02:22:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12060 Received: (qmail 24981 invoked from network); 25 Jun 2000 02:22:06 -0000 From: "Bart Schaefer" Message-Id: <1000625022152.ZM16855@candle.brasslantern.com> Date: Sun, 25 Jun 2000 02:21:52 +0000 In-Reply-To: <1000624230022.ZM16742@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: A couple completion glitches" (Jun 24, 11:00pm) References: <1000624230022.ZM16742@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Wayne Davison , Zsh Workers Subject: Re: A couple completion glitches MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 24, 11:00pm, I wrote: } } } In my mind, I would like it to always order the full expansion and the } } original string into the same places, regardless of ASCII order (to } } make it more consistent). Perhaps always put the multi-item expansion } } first and the original string last? } } This could be accomplished by having _expand put the original string in } its own compadd group. That means a bit of restructuring of _expand to } store the original string separately until it is known whether there are } any other expansions possible. On further investigation, I find I'm wrong about this, too; I misread the last part of _expand where the compadd commands are performed. The original completion already IS being added in a separate completion group; the only thing you need to do to have it always listed last is zstyle ':completion:*' group-name '' If you don't like that behavior for regular completion, limit it: zstyle ':completion:*:expand:*' group-name '' -- 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