zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@math.gatech.edu
Subject: Re: comments in completion
Date: Mon, 17 Nov 1997 07:45:22 -0800	[thread overview]
Message-ID: <971117074522.ZM24165@candle.brasslantern.com> (raw)
In-Reply-To: <199711171354.IAA01254@math.gatech.edu>

On Nov 17,  1:54pm, Bruce Stephens wrote:
} Subject: Re: comments in completion
}
} A better way to do it might be to extend the programmable completion a bit,
} so the function could set both the list of possibilities and a list of 
} descriptions of them.

It wouldn't have to be a list of descriptions; one string would be sufficient.
(That's the best you get now with -X anyway.)

My point was that you can't *just* extend the -K function.  You might have
perfectly good completion that doesn't use -K but that needs to compute an
explanation string.

It'd probably be sufficient to make a variant of -X that applies expansions
in the manner of -s.

BTW, compctl -s is mentioned in the summary but never explained in the text
of the zsh.texi that came with 3.0.5.

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


  reply	other threads:[~1997-11-17 16:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-16 15:44 Stefan Monnier
1997-11-16 17:26 ` Bart Schaefer
1997-11-17 13:54   ` Bruce Stephens
1997-11-17 15:45     ` Bart Schaefer [this message]
1997-11-17 16:26       ` Bruce Stephens
1997-11-17 17:13         ` Bart Schaefer

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=971117074522.ZM24165@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).