Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: About menu selection (again)
- X-seq: zsh-workers 17561
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: DervishD <raul@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: About menu selection (again)
- Date: Sun, 18 Aug 2002 23:07:02 +0000
- In-reply-to: <3D5FCB68.mailW511LWZ0@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <3D56CD6E.mailMX1LBVZ3@xxxxxxxxxxxx> <1020812060148.ZM28748@xxxxxxxxxxxxxxxxxxxxxxx> <3D5906BF.mail17S21TJ8M@xxxxxxxxxxxx> <1020813150050.ZM30758@xxxxxxxxxxxxxxxxxxxxxxx> <3D5954F7.mail1L21A9GN@xxxxxxxxxxxx> <3D595620.mail3I11T8QF@xxxxxxxxxxxx> <1020814022702.ZM31935@xxxxxxxxxxxxxxxxxxxxxxx> <3D5CEB3E.mailV211HY5E@xxxxxxxxxxxx> <15708.60068.71382.607117@xxxxxxxxxxxxxxxxxx> <3D5FCB68.mailW511LWZ0@xxxxxxxxxxxx>
On Aug 18, 6:29pm, DervishD wrote:
}
} I mean: complist needs some form of completion to get menu selection to
} work, so if 'compctl' is not loaded, which other can I load?.
You can run `compinit' to load the "new" shell-function-based completion
system. (We need to come up with a name for that; I suppose we can just
call it "compsys" as that's the name of the manual section.)
Currently the question "is a completion system loaded?" is tested as "is
the zsh/complete module loaded?" The assumption being that no one would
load zsh/complete unless they were going to make use of it. zsh/compctl
gets loaded iff zsh/complete has not been.
The problem is that zsh/complist has a dependency on zsh/complete -- which
is a C-code dependency rather than a functional dependency, so it can't be
dropped -- and that confuses the test by loading the module without any
"form of completion" included.
One possibility might be to split the zsh/complete module still further,
to separate the part that implements the internals of compsys from the
part that complist depends on. (Maybe move that latter into compcore.c?)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author