From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10901 invoked from network); 14 Jul 2003 17:31:33 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Jul 2003 17:31:33 -0000 Received: (qmail 2114 invoked by alias); 14 Jul 2003 17:31:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18850 Received: (qmail 2105 invoked from network); 14 Jul 2003 17:31:25 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 14 Jul 2003 17:31:25 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 14 Jul 2003 17:31:24 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.cambridgesiliconradio.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Sun, 13 Jul 2003 18:30:47 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 14 Jul 2003 18:30:15 +0100 To: zsh-workers@sunsite.dk Subject: Re: Preventing sorting in completers In-reply-to: "Bart Schaefer"'s message of "Mon, 14 Jul 2003 17:11:39 -0000." <1030714171139.ZM6396@candle.brasslantern.com> Date: Mon, 14 Jul 2003 18:31:18 +0100 Message-ID: <18991.1058203878@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 14 Jul 2003 17:30:15.0009 (UTC) FILETIME=[962E0D10:01C34A2D] Bart Schaefer wrote: > I think what you've done will change the behavior of _expand in those > cases where the internal sort done by the completion system does not > agree with the sort performed by ${(o)exp}. Depending on the context > used to set the style, of course. I assumed that (o) was equivalent to what the completion system did. > I'm not sure what the other ramifications of the zstyle context may be; > _expand uses > > zstyle -s ":completion:${curcontext}:" sort sort > > whereas with the patch _description uses > > zstyle -s ":completion:${curcontext}:$1" sort sort Well, the only ways I can see of completely removing problems like this are to pass down an additional argument into _description and _wanted to stop it using the style, or use a different style. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************