zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: DervishD <raul@pleyades.net>, zsh-workers@sunsite.dk
Subject: Re: About menu selection (again)
Date: Sun, 18 Aug 2002 23:07:02 +0000	[thread overview]
Message-ID: <1020818230703.ZM15676@candle.brasslantern.com> (raw)
In-Reply-To: <3D5FCB68.mailW511LWZ0@viadomus.com>

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   


      reply	other threads:[~2002-08-18 23:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-11 20:47 DervishD
2002-08-12  6:01 ` Bart Schaefer
2002-08-13 13:16   ` DervishD
2002-08-13 15:00     ` Bart Schaefer
2002-08-13 18:50       ` DervishD
2002-08-13 18:55         ` More information on why compctl is not loaded DervishD
2002-08-14  2:27           ` About menu selection (again) Bart Schaefer
2002-08-16 12:08             ` DervishD
2002-08-16 12:05               ` Sven Wischnowsky
2002-08-17 17:26                 ` Bart Schaefer
2002-08-19  7:40                   ` Sven Wischnowsky
2002-08-20 11:58                   ` Sven Wischnowsky
2002-08-20 15:07                     ` Bart Schaefer
2002-08-20 15:21                       ` Sven Wischnowsky
2002-08-18 16:29                 ` DervishD
2002-08-18 23:07                   ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1020818230703.ZM15676@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=raul@pleyades.net \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).