zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: User-defined completion listing
Date: Fri, 21 Nov 1997 10:39:53 -0800	[thread overview]
Message-ID: <971121103953.ZM14674@candle.brasslantern.com> (raw)
In-Reply-To: <199711210926.KAA21851@sgi.ifh.de>

On Nov 21, 10:26am, Peter Stephenson wrote:
} Subject: Re: User-defined completion listing
}
} ...  It's easy to get -X to substitute a variable, too,
} when it has a $ in front, but maybe it would be preferable to have
} double-quoted expansion instead?

My suggestion had been that -X would stay as it is, but -Y would do the
double-quote expansion.  I'd pick some other letter for alteration of
the listing ... what else is not taken yet?  h, i, M, t, V, W, and y.

Good grief, that means there are 44 options to compctl right now (45 if
you count Peter's -Y), plus all the pattern-matching tags for -x.  Eek.

Anyway, I guess I'd go with -Y and one of -y or -W for what we're talking
about now.  Doesn't really matter which means which.  Or you could do all
three; use -y and -Y like -k and -K, except for modifying the listing,
and use -W as an expanding -X.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1997-11-21 18:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-19 17:00 PATCH: " Peter Stephenson
1997-11-19 19:41 ` Bart Schaefer
1997-11-20  9:22   ` Peter Stephenson
1997-11-20 13:39     ` PATCH: allow scalars as completion variables Peter Stephenson
1997-11-20 16:57     ` User-defined completion listing Bart Schaefer
1997-11-21  9:26       ` Peter Stephenson
1997-11-21 18:39         ` Bart Schaefer [this message]
1997-11-27 10:10           ` PATCH: completion lists revisted Peter Stephenson

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=971121103953.ZM14674@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).