From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25758 invoked from network); 15 Jul 2003 09:42:15 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Jul 2003 09:42:15 -0000 Received: (qmail 22020 invoked by alias); 15 Jul 2003 09:42:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18857 Received: (qmail 22007 invoked from network); 15 Jul 2003 09:42:09 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 15 Jul 2003 09:42:09 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 15 Jul 2003 9:42:9 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.cambridgesiliconradio.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Mon, 14 Jul 2003 10:41:34 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 15 Jul 2003 10:41:01 +0100 To: zsh-workers@sunsite.dk Subject: Re: Preventing sorting in completers In-reply-to: "Bart Schaefer"'s message of "Mon, 14 Jul 2003 19:14:35 -0000." <1030714191435.ZM6608@candle.brasslantern.com> Date: Tue, 15 Jul 2003 10:42:05 +0100 Message-ID: <25266.1058262125@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 15 Jul 2003 09:41:01.0444 (UTC) FILETIME=[33C2B440:01C34AB5] Bart Schaefer wrote: > } 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. > > These aren't necessarily problems to be removed, just behaviors to be > documented. There's no reason one can't have a style for sorting the > results of _expand and another more specific style for sorting a tag > context. It occurred to me we could test with the tag, then without, for compatibility; something similar is done in other places, though usually with some default tag. > OTOH, I wonder whether _description should NOT use the style when an > explicit -J or -V argument has been passed? Most of the time there is > no -J/-V argument at all to _description. That's certainly arguable, but there's still something to be said for giving people control anyway, in the same way you can override the set of matched files. I think the question is: are people likely to use a general enough context that it gives unexpected effects with sorting elsewhere? -- 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. **********************************************************************