Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindkey bug with zsh-3.1.6-dev-21?
- X-seq: zsh-workers 10824
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: bindkey bug with zsh-3.1.6-dev-21?
- Date: Wed, 19 Apr 2000 10:19:59 +0100
- In-reply-to: "Your message of Wed, 19 Apr 2000 10:57:35 +0200." <200004190857.KAA21162@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> Ick. The problem is that in autoload_zleread() we do:
>
> if (load_module("zsh/zle"))
> load_module("zsh/compctl");
>
> i.e., we attempt to load compctl only if loading zle succeeds. For
> people who have a call to `bindkey' in their .z*, the zle module will
> already be loaded, re-loading fails and compctl is not loaded. Bummer.
>
> Can anyone think of a solution for this? I can't (apart from trying to
> load compctl unconditionally, which I don't like).
Couldn't we also check whether ((trashzleptr == noop_function))? If it is,
zle isn't loaded, and if it isn't, zle must be loaded or something very
weird has happened. zlereadptr is even declared in both branches of the
#ifdef just above.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author