Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Assorted parameter stuff
- X-seq: zsh-workers 14022
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Assorted parameter stuff
- Date: Thu, 19 Apr 2001 09:05:36 +0200 (MET DST)
- In-reply-to: <1010419035736.ZM9073@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> ...
>
> Well, it's not as straightforward as I thought -- the parse gets tangled
> up the with parsing of [[ ... ]], among other things --
I feared that...
> and I just noticed
> that you can get the equivalent effect by surrounding the whole thing with
> braces:
>
> % foo='any random string'
> % echo ${foo[(i)dom str]}
> 8
>
> So I think I'm going to leave it at 14008+14016 unless somebody comes up
> with other bugs to zap.
[Blink, hm, why didn't I know that?...]
Anyway, about 14008: I only found one problem with a complicated
subscript in _arguments, line 81, which can be seen by completing after
`./configure --<TAB>'. 14016 doesn't seem to fix it either and I didn't
look closely enough to be able to say what exactly the problem is.
There may be other complicated subscripts in the completion code that
can serve as good tests, but none of the other completion functions I
tried failed and grepping for `complicated subscripts' isn't exactly easy.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author