Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: New completion - redefine widgets instead of rebinding keys RE: pws-22
- X-seq: zsh-workers 6678
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxxxxxxxxxxxx>, "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: New completion - redefine widgets instead of rebinding keys RE: pws-22
- Date: Wed, 16 Jun 1999 17:42:42 +0200
- In-reply-to: ""Andrej Borsenkow""'s message of "Tue, 15 Jun 1999 19:23:26 DFT." <001001beb743$037e6720$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"Andrej Borsenkow" wrote:
> Since I've never seen any reply to this, I repeat it here.
>
> My suggestion was, that instead of rebinding keys (as is done currently) we
> should simply redefine corresponding widgets.
This certainly looks like a good idea. I think the reason it hasn't been
done is the same as usual: the functions were written when the system was
still for hackers rather than users. But certainly most users are going to
switch over completely, if at all, to the new system, and having the old
ones bound is unnecessary and confusing. Unless I'm missing something.
I'll try it here first: the compinit code should be simpler than before.
Maybe we should mention the .immortal widgets in the zshcompsys manual
entry.
By the way, is there a way of getting a list of all widgets (including
builtin ones), apart from the -b option to compctl/compgen? If not,
shouldn't there be? E.g. zle -L[l]b ?
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author