zsh-workers
 help / color / mirror / code / Atom feed
* Re: zsh/complist and compinit
@ 2000-02-01 14:48 Sven Wischnowsky
  2000-02-01 16:11 ` Alexandre Duret-Lutz
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 2000-02-01 14:48 UTC (permalink / raw)
  To: zsh-workers


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 /<M-m>
> 
> while this won't:
> 
> phobos% autoload -U compinit 
> phobos% compinit
> phobos% zmodload zsh/complist
> phobos% bindkey ^[m menu-select 
> phobos% echo /<M-m>
> 
> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* zsh/complist and compinit
@ 2000-02-01 14:29 Alexandre Duret-Lutz
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Duret-Lutz @ 2000-02-01 14:29 UTC (permalink / raw)
  To: zsh-workers

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 /<M-m>

while this won't:

phobos% autoload -U compinit 
phobos% compinit
phobos% zmodload zsh/complist
phobos% bindkey ^[m menu-select 
phobos% echo /<M-m>

Does the order of compinit and complist really matters?

-- 
Alexandre Duret-Lutz


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-01 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-01 14:48 zsh/complist and compinit Sven Wischnowsky
2000-02-01 16:11 ` Alexandre Duret-Lutz
2000-02-01 16:17   ` Style interactions (Re: zsh/complist and compinit) Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2000-02-01 14:29 zsh/complist and compinit Alexandre Duret-Lutz

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).