Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compctl -g not working
- X-seq: zsh-workers 15975
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: compctl -g not working
- Date: Mon, 8 Oct 2001 14:31:30 +0200
- In-reply-to: <1011005161336.ZM32521@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20011002225307.A13954@xxxxxxxxxxxxxxxxxx> <87adz976ru.fsf@xxxxxxxxxxxxxxxx> <20011002231841.B14325@xxxxxxxxxxxxxxxxxx> <1011003040449.ZM25370@xxxxxxxxxxxxxxxxxxxxxxx> <20011003001256.B14675@xxxxxxxxxxxxxxxxxx> <1011003060441.ZM25764@xxxxxxxxxxxxxxxxxxxxxxx> <20011003021524.A15356@xxxxxxxxxxxxxxxxxx> <1011003162422.ZM29481@xxxxxxxxxxxxxxxxxxxxxxx> <20011003142330.A16765@xxxxxxxxxxxxxxxxxx> <1011004042305.ZM30162@xxxxxxxxxxxxxxxxxxxxxxx> <20011004004307.C18930@xxxxxxxxxxxxxxxxxx> <1011005161336.ZM32521@xxxxxxxxxxxxxxxxxxxxxxx>
[ moved to -workers ]
Bart Schaefer wrote:
> ...
>
> The reason that "some other places" does not include `compctl -s' is
> because -s actually *does* pass the string through the lexer again,
> whereas -g passes it only through the tokenizer.
>
> So the questions (hey, zsh-workers) are:
>
> Should we fix `compctl -g' so that it behaves like "ordinary" globbing?
> (I have a suggested implementation that I won't go into here.)
Would be fine with me. (I really don't care about compctl anymore ;-)
> Should we make BARE_GLOB_QUAL a bit smarter so that it knows about
> KSH_GLOB and looks back one more character to see if what precedes the
> open-paren token is one of the ksh-glob-chars? (It already treats a
> `|' inside the parens as indicative of a glob alternation rather than
> a list of qualifiers.)
I'm with Zefram here.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author