From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22490 invoked from network); 15 Jun 2000 15:33:21 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jun 2000 15:33:21 -0000 Received: (qmail 25842 invoked by alias); 15 Jun 2000 15:33:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11933 Received: (qmail 25827 invoked from network); 15 Jun 2000 15:33:08 -0000 From: "Bart Schaefer" Message-Id: <1000615153241.ZM5590@candle.brasslantern.com> Date: Thu, 15 Jun 2000 15:32:41 +0000 In-Reply-To: <200006151515.RAA11404@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: PATCH: Re: expansion" (Jun 15, 5:15pm) References: <200006151515.RAA11404@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: expansion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 15, 5:15pm, Sven Wischnowsky wrote: } Subject: Re: PATCH: Re: expansion } } > a( and you will get '_expand:78: bad pattern: a(' because of the } > lack of a closing bracket. } } It doesn't anymore, (e) is silent nowadays. By using eval we could get } that, though (that's why I said `careful'). Something like this: eval exp\=\( ${${(q)exp}:gs/\\{/{/:gs/\\}/}/} \) I haven't figured out where the right place to put that is, though. I tried a couple of different spots in _expand and they both caused brace *completion* to stop working, even though the word on the line didn't change. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net