Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Misc. questions/remarks on new completion stuff
- X-seq: zsh-workers 5370
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Misc. questions/remarks on new completion stuff
- Date: Sat, 13 Feb 1999 16:50:25 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
In no particular order ...
I think "complist" could do with a better name. I've repeatedly been deluded
into thinking that it's only used when generating completion listings, when
really it adds possible matches that can be inserted on the command line.
Speaking of complist, what's the difference between
compadd -m foo bar baz boing
and
complist -k '(foo bar baz boing)'
?? How much other overlap is there between these two commands?
In Functions/Completion/*, I think "#array" is a bad name for that tag. The
"#function" tag means the function will actually generate matches, that is,
call compadd or complist. But a "#array" file doesn't generate an array of
matches -- it generates an array of arguments to complist. Why not use the
tag "#complist" or "#complist-args" so it's more obvious what's going on?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author