From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19506 invoked from network); 15 Jun 2000 10:58:41 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Jun 2000 10:58:41 -0000 Received: (qmail 9137 invoked by alias); 15 Jun 2000 10:58:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11928 Received: (qmail 9129 invoked from network); 15 Jun 2000 10:58:24 -0000 Date: Thu, 15 Jun 2000 12:58:15 +0200 (MET DST) Message-Id: <200006151058.MAA06585@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Sven Wischnowsky's message of Thu, 15 Jun 2000 12:45:22 +0200 (MET DST) Subject: Re: _expand doesn't do brace expansion? I wrote: > It simply gives up. > > With `a{b,c}' the completion code would have to generate the > matches for `ab' and `ac', then built the intersection to get the > suffixes (and prefixes if there's a suffix, i.e. the middle-strings) > which are in both sets (in all n sets, actually). And that mey be > combined with arbitrarily complicated match specs. Frightening. > > Or have I missed something? Errr, sorry. With `a{{c,d},' it could work, of course. But it still gives up, hm. About the other thing, a careful `eval exp=(...)' could do the job (avoiding error messages and such). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de