From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1110 invoked by alias); 28 Feb 2013 09:01:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31082 Received: (qmail 13956 invoked from network); 28 Feb 2013 09:01:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_05,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at yahoo.co.uk does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1362042060; bh=UvAll3CuSi55if8pPqZ8huiCFYFkVAIliApeyejm2Nw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:cc:In-reply-to:From:References:To:Subject:MIME-Version:Content-Type:Content-ID:Date:Message-ID; b=wSeb3GQdSR0eljFVZLyHMH+fiVTxZiYBk1EBUUOtdtY8K+ascCnYdgfdMHKRgSxEQZSx1z2A+IZUQSwUwEH7L7U0kztvXdaHUXgL4XQm/9WYzxSiJNmeIhSklQv9h+yL9SCMndQWH0dvkSa+yaI95ci2g0z+Nrq36o+KYzuOA0E= X-Yahoo-Newman-Id: 258498.53364.bm@smtp175.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: mWm2.PwVM1k9bJbcftf.VswIGaCNBD1DQ7b1fqxpAIMiIf. qxpYFFemPzd.DIRxl7nG7LjBtLudbk1NPdn55OYMjiTX_gZm73DjTHLUYcsi 2.Pt4N1NPIzrlUdcN7m.emur53buoDhEgXm.rMmza9BVot923g8w5BklA8Em u1WDCA3yP_aiPNzdPUxtdfwGnQt8pUmr85Yxgngvmet1xZPkgTfthbLeUDRT GBKUqasnSDMekkV69liBZB49LYlU7.MqwlOFqb9ayJk6.qORAe47fxQI.Ieh 29yYzWlJ812iAyziRf8JSaX3iwvYOf.Zo4CGBEQhDCcROl3Qu5w9A.uWyFIc Rremo1xjMstNK8SwsIs86L4KcFL5YERwaSZcYryfaoZ2dfTlsmGaVcwalJc6 g9UIGe2u0n8dhWYEcZ.cY6YvLsiU_tjHseh7wuHsetkaiTg-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- cc: zsh-workers@zsh.org In-reply-to: From: Oliver Kiddle References: To: joe M Subject: Re: zsh completer _approximate completer MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27792.1362042054.1@thecus.kiddle.eu> Date: Thu, 28 Feb 2013 10:00:59 +0100 Message-ID: <27800.1362042059@thecus.kiddle.eu> joe M wrote: > For some reason, changing the group-order of this zstyle put the > original before the corrections in the _appropriate completer. > > zstyle ':completion:*' group-order original 'named-directories' > 'directory-stack' 'local-directories' 'path-directories' > > > zstyle ':completion:*:approximate:*' group-order original corrections > Shouldn't this be the better or more accurate method of specifying > group-order for the _approximate completer instead? It is a more specific style pattern so would take precedence over the general one but for the fact that the pattern doesn't actually match. For _approximate, the number of corrections is included in the style when it is looked up so for 1 error, it has :approximate-1:. Try adding an extra * in: zstyle ':completion:*:approximate*:*' group-order original corrections Oliver