From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25400 invoked from network); 15 Oct 2008 01:35:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 15 Oct 2008 01:35:32 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 68996 invoked from network); 15 Oct 2008 01:35:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 Oct 2008 01:35:13 -0000 Received: (qmail 10986 invoked by alias); 15 Oct 2008 01:34:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25899 Received: (qmail 10962 invoked from network); 15 Oct 2008 01:34:52 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 15 Oct 2008 01:34:52 -0000 Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.245]) by bifrost.dotsrc.org (Postfix) with ESMTP id B565C80524C0 for ; Wed, 15 Oct 2008 03:34:37 +0200 (CEST) Received: by hs-out-0708.google.com with SMTP id 23so1185108hsn.13 for ; Tue, 14 Oct 2008 18:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=9mwrVmxNRdiG15xlhgnle21HT9LBg+7KnFDjTbAbzic=; b=Wemr1ZaX0f9B4h+lkYkkzq5OLD6TfmOmCEYSLjpuEXbZebcsWy1Xr/3vSiK+Q6BB0s 1G9YhDlhsx84VmRwAxWgDynJyh7fYhPDKFVZi31fh9xHcuiE/g3TjJIRnIjvYTWpDSu7 /3lbr3dF7RxtTvoyV5y8Xwf1yfvxrr+r5+khU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=QKCvPxBJo8qLInDoeYv+nQ6FkloWy5i+5gM016HY4HQaX2kGh+hv22kIzJM1K1/3Y3 8UD8SXWyPkWRaPHkiYJnmyKpYcJRI4j0Gm3MqIQotRZsaTa8O8fDE5DNFuLP4CrF5Z14 R21uEjeKRYETVhvsKoRaHmxi6fk6ZaCSe/vOo= Received: by 10.65.240.16 with SMTP id s16mr588429qbr.13.1224034476051; Tue, 14 Oct 2008 18:34:36 -0700 (PDT) Received: by 10.65.110.15 with HTTP; Tue, 14 Oct 2008 18:34:35 -0700 (PDT) Message-ID: <20a807210810141834m18bf89b3o3d83846bd0b0bb9a@mail.gmail.com> Date: Tue, 14 Oct 2008 21:34:35 -0400 From: "Vin Shelton" Sender: ethersoft@gmail.com To: "Peter Stephenson" Subject: Re: PATCH (?) Re: Regression in braces completion Cc: "Zsh Hackers' List" In-Reply-To: <200810140845.m9E8jCDN025543@news01.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20a807210810111932r1b32b746l3cca788a383e84ed@mail.gmail.com> <081011213249.ZM29979@torch.brasslantern.com> <081012001051.ZM30706@torch.brasslantern.com> <20081012204236.6669a668@pws-pc> <081012154721.ZM22722@torch.brasslantern.com> <20081013100417.36870ba5@news01> <081013084328.ZM28630@torch.brasslantern.com> <200810131627.m9DGRoED017498@news01.csr.com> <081013213720.ZM30875@torch.brasslantern.com> <200810140845.m9E8jCDN025543@news01.csr.com> X-Google-Sender-Auth: 31fceabb92f10bf1 X-Virus-Scanned: ClamAV 0.92.1/8426/Wed Oct 15 02:11:44 2008 on bifrost X-Virus-Status: Clean On Tue, Oct 14, 2008 at 4:45 AM, Peter Stephenson wrote: > Bart Schaefer wrote: >> Somebody tell me what's wrong with this. Doesn't seem to break spelling >> correction in the path prefix when braces are present, and doesn't seem >> to break braces when spelling correction isn't present, and doesn't add >> any new calls to compadd; just changes whether the ones that are there >> get -U passed in. >> >> What am I missing? > > Presumably we won't know for months until somebody tries the completion > in question, but if this seems to fix all the obvious problems feel free > to commit it, since I wasn't going to have much time to look at > compresult.c anyway. (It might, for example, break spelling correction > where the prefix itself is in braces, but I don't feel particularly > moved to experiment.) > Bart - +1 Your patch worked for my case, but you probably already guessed that. - Vin