Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Minor expansion problem
- X-seq: zsh-workers 15870
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: Minor expansion problem
- Date: Tue, 25 Sep 2001 17:08:28 +0100
- In-reply-to: "Bart Schaefer"'s message of "Tue, 25 Sep 2001 15:30:42 -0000." <1010925153042.ZM5438@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> Expanding $(...) doesn't put
> in backslashes, but expanding `...` does. This appears to be happening
> because the ${(e)exp} at _expand line 83 returns one word for `...` but
> an array for $(...).
Yes, it's completely reproducible just with ${(e)exp}.
> } but what I expect, i.e. no backslashes, with the _expand_word widget?
>
> Hrm, I get backslashes in both cases. Are you sure you're using the
> _expand_word widget (^Xe) and not the builtin expand-word (^X*) ?
You're right, I was using expand-word, which is not rebound by the
completion system.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author