From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25772 invoked from network); 12 Oct 2008 04:33:34 -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=-1.2 required=5.0 tests=AWL autolearn=unavailable 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; 12 Oct 2008 04:33:34 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 95386 invoked from network); 12 Oct 2008 04:33:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Oct 2008 04:33:11 -0000 Received: (qmail 28224 invoked by alias); 12 Oct 2008 04:33:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25852 Received: (qmail 28202 invoked from network); 12 Oct 2008 04:33:00 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 12 Oct 2008 04:33:00 -0000 Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by bifrost.dotsrc.org (Postfix) with ESMTP id 36E9980524C0 for ; Sun, 12 Oct 2008 06:32:57 +0200 (CEST) Received: from torch.brasslantern.com ([96.238.220.215]) by vms173001.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K8L00H04ZAR63V4@vms173001.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 11 Oct 2008 23:32:52 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m9C4Wo8G029981 for ; Sat, 11 Oct 2008 21:32:50 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m9C4WnDq029980 for zsh-workers@sunsite.dk; Sat, 11 Oct 2008 21:32:49 -0700 Date: Sat, 11 Oct 2008 21:32:49 -0700 From: Bart Schaefer Subject: Re: Regression in braces completion In-reply-to: <20a807210810111932r1b32b746l3cca788a383e84ed@mail.gmail.com> To: "Zsh Hackers' List" Message-id: <081011213249.ZM29979@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20a807210810111932r1b32b746l3cca788a383e84ed@mail.gmail.com> Comments: In reply to "Vin Shelton" "Regression in braces completion" (Oct 11, 10:32pm) X-Virus-Scanned: ClamAV 0.92.1/8414/Sun Oct 12 05:30:50 2008 on bifrost X-Virus-Status: Clean On Oct 11, 10:32pm, Vin Shelton wrote: } } $ ls abc{d ==> } $ ls abcdef{ } } which is not correct. Hmm. Looking at _complete_debug output, "abc{d" has already become "abcdef" before the first completer is even called. In fact, it has become that before _setup is even called. Here we are, barely into _main_complete: : _main_complete:49:if; [[ automenu-unambiguous == tab* ]] : _main_complete:59:if; [[ -z '' ]] : _main_complete:60:then if; [[ -o equals ]] : _main_complete:60:then if cmdand; compset -P 1 '=' : _main_complete:62:then elif; [[ abcdef != */* && a == \~ ]] : _main_complete:70; _setup default That's $PREFIX on line 62 and the curly brace is already missing.