From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18204 invoked from network); 26 Sep 2007 15:21:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Sep 2007 15:21:44 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 16469 invoked from network); 26 Sep 2007 15:21:38 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Sep 2007 15:21:38 -0000 Received: (qmail 12282 invoked by alias); 26 Sep 2007 15:21:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23837 Received: (qmail 12265 invoked from network); 26 Sep 2007 15:21:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Sep 2007 15:21:35 -0000 Received: (qmail 16235 invoked from network); 26 Sep 2007 15:21:35 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 26 Sep 2007 15:21:28 -0000 Received: from rly29d.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly29d.srv.mailcontrol.com (MailControl) with ESMTP id l8QFLPV3007485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Sep 2007 16:21:26 +0100 Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly29d.srv.mailcontrol.com (MailControl) id l8QFKdO3003558 for zsh-workers@sunsite.dk; Wed, 26 Sep 2007 16:20:39 +0100 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly29d-eth0.srv.mailcontrol.com (envelope-sender Peter.Stephenson@csr.com) (MIMEDefang) with ESMTP id l8QFJvcW031564; Wed, 26 Sep 2007 16:20:39 +0100 (BST) Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Wed, 26 Sep 2007 16:20:29 +0100 Date: Wed, 26 Sep 2007 16:20:28 +0100 From: Peter Stephenson To: Peter Hosey , "Zsh Hackers' List" Subject: Re: Completion bug in 4.3.4 Message-ID: <20070926162028.40cac8d5@news01> In-Reply-To: References: Organization: CSR X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 26 Sep 2007 15:20:29.0012 (UTC) FILETIME=[C5737140:01C80050] X-Scanned-By: MailControl A-07-08-10 (www.mailcontrol.com) on 10.68.1.139 On Tue, 11 Sep 2007 16:25:33 -0700 Peter Hosey wrote: > I'm not subscribed, so please address replies directly to me. >=20 > echo $ZSH_VERSION %/Volumes/RAM =20 > Disk/test(0) > 4.3.4 > ___ > ls %/Volumes/RAM =20 > Disk/test(0) > wordpress-tagline-field-nq8.png wordpress-tagline-field.png > ___ > du -b tagline %/Volumes/RAM =20 > Disk/test(0) > [I hit tab after =E2=80=9Ctagline=E2=80=9D] > du -b -wordpresstagline-field %/Volumes/RAM =20 > Disk/test(0) >=20 > Notice the appearance of the first hyphen in the wrong position. I can reproduce this, with the styles you sent, and I can vaguely see that the struct cline list passed to cline_str in compresult.c is out of order so that the function is inserting a "-" first, then the "worpress" chunk, e= tc. However, that's already taken well over an hour and I currently haven't a clue how it's got that way. --=20 Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070