Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: _values does not quote inserted matches
- X-seq: zsh-workers 16987
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "'Zsh hackers list'" <zsh-workers@xxxxxxxxxx>
- Subject: RE: _values does not quote inserted matches
- Date: Tue, 16 Apr 2002 10:11:26 +0400
- Importance: Normal
- In-reply-to: <1020413232614.ZM7461@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> On Apr 14, 12:38am, Borsenkow Andrej wrote:
> } Subject: _values does not quote inserted matches
> }
> } note, that match inserted into command line is not quoted that makes
it
> } impossible to complete more than one value.
>
> The problem is this stuff at lines 54-58 of _values:
>
> if [[ ${#noargs}+${#args}+${#opts} -ne 1 ]] && compvalues -s
sep; then
> sep=( "-qQS" "$sep" )
> else
> sep=()
> fi
>
> I don't know why the Q is included on line 55? It seems to all work
OK if
> I take it out.
>
I'd like to here Sven's comment on it. Sven, are we expected to pass
fully quoted strings to _values (in this case, where is it documented?)
or is _value expected to behave just like most other completion
functions, quoting inserted strings automatically?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author