From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6808 invoked from network); 16 Jun 1999 16:11:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 Jun 1999 16:11:29 -0000 Received: (qmail 7842 invoked by alias); 16 Jun 1999 16:11:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6678 Received: (qmail 7835 invoked from network); 16 Jun 1999 16:11:22 -0000 Message-Id: <9906161542.AA12356@ibmth.df.unipi.it> To: "Peter Stephenson" , "Zsh hackers list" Subject: Re: New completion - redefine widgets instead of rebinding keys RE: pws-22 In-Reply-To: ""Andrej Borsenkow""'s message of "Tue, 15 Jun 1999 19:23:26 DFT." <001001beb743$037e6720$21c9ca95@mow.siemens.ru> Date: Wed, 16 Jun 1999 17:42:42 +0200 From: Peter Stephenson "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 Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy