From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4064 invoked from network); 25 Sep 2001 16:09:14 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Sep 2001 16:09:14 -0000 Received: (qmail 17290 invoked by alias); 25 Sep 2001 16:09:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15870 Received: (qmail 17276 invoked from network); 25 Sep 2001 16:09:04 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Minor expansion problem In-reply-to: "Bart Schaefer"'s message of "Tue, 25 Sep 2001 15:30:42 -0000." <1010925153042.ZM5438@candle.brasslantern.com> Date: Tue, 25 Sep 2001 17:08:28 +0100 Message-ID: <8328.1001434108@csr.com> From: Peter Stephenson 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 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. **********************************************************************