From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1098 invoked from network); 1 Feb 2000 14:49:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Feb 2000 14:49:35 -0000 Received: (qmail 22440 invoked by alias); 1 Feb 2000 14:49:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9507 Received: (qmail 22431 invoked from network); 1 Feb 2000 14:49:08 -0000 Date: Tue, 1 Feb 2000 15:48:41 +0100 (MET) Message-Id: <200002011448.PAA07953@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Alexandre Duret-Lutz's message of 01 Feb 2000 15:29:32 +0100 Subject: Re: zsh/complist and compinit Alexandre Duret-Lutz wrote: > A small question about menu completion: > > This will work: > > phobos% zmodload zsh/complist > phobos% autoload -U compinit > phobos% compinit > phobos% bindkey m menu-select > phobos% echo / > > while this won't: > > phobos% autoload -U compinit > phobos% compinit > phobos% zmodload zsh/complist > phobos% bindkey m menu-select > phobos% echo / > > Does the order of compinit and complist really matters? Yes. compinit can override the definition for the menu-select widget only if the complist module is already loaded. We can't do that in advance. Of course you can add the `zle -C menu-select .menu-select _main_complete' by hand, but maybe we should document that somewhere. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de