zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: Preventing sorting in completers
Date: Tue, 15 Jul 2003 10:42:05 +0100	[thread overview]
Message-ID: <25266.1058262125@csr.com> (raw)
In-Reply-To: "Bart Schaefer"'s message of "Mon, 14 Jul 2003 19:14:35 -0000." <1030714191435.ZM6608@candle.brasslantern.com>

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 <pws@csr.com>                  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.
**********************************************************************


  reply	other threads:[~2003-07-15  9:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87wuenkuod.fsf@ceramic.fifi.org>
2003-07-13 18:17 ` Bart Schaefer
2003-07-14 15:11   ` Peter Stephenson
2003-07-14 16:11     ` Danek Duvall
2003-07-14 16:31       ` Bart Schaefer
2003-07-14 16:41     ` Peter Stephenson
2003-07-14 17:11       ` Bart Schaefer
2003-07-14 17:31         ` Peter Stephenson
2003-07-14 19:14           ` Bart Schaefer
2003-07-15  9:42             ` Peter Stephenson [this message]
2003-07-15 16:16               ` Bart Schaefer
2003-07-15 18:35                 ` Peter Stephenson
2003-07-22 19:51                   ` Philippe Troin
2003-07-23  9:23                     ` Peter Stephenson
2003-07-23 19:12                       ` Philippe Troin
2003-07-24  9:28                         ` CVS (Re: Preventing sorting in completers) Oliver Kiddle
2003-07-14 20:13       ` Preventing sorting in completers Philippe Troin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25266.1058262125@csr.com \
    --to=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).