From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17364 invoked from network); 9 Feb 2008 18:04:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) 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.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Feb 2008 18:04:19 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 37499 invoked from network); 9 Feb 2008 18:04:14 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Feb 2008 18:04:14 -0000 Received: (qmail 7634 invoked by alias); 9 Feb 2008 18:04:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24543 Received: (qmail 7614 invoked from network); 9 Feb 2008 18:04:09 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 9 Feb 2008 18:04:09 -0000 Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by bifrost.dotsrc.org (Postfix) with ESMTP id 4AE6180482A1 for ; Sat, 9 Feb 2008 19:04:05 +0100 (CET) Received: by rv-out-0910.google.com with SMTP id b22so2563286rvf.21 for ; Sat, 09 Feb 2008 10:04:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Z1KFC3oYkVSIFmtfI/EFIfpdz82n1BoKVzG3xd3XQtw=; b=pP20D2J9U2NmURiEozEud+1sc+h0KhLZJQcYZfvnWxFjyBDsDBZXmVTEm+GK0Kn8Ow1gyIO0MeKt68lqnzR6wgTXLIs+bY/2YQqWYtHzo5NtuW5Q8QvqZfpvSLwhncGRKRUdBOVfouNUCAK5ufnB2DuD0a9YipZjJXCxrvH7uNI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KQpzIolLfAp5lbl5XTZIZtmtlEgeIbdPtGOnr3/5L/zGt3mPyFr6Jx1+JyEAvCuZxKFmfAYJ1zp8QD2y4zDg9S4zefExS9+t0R4uWQ/n34Xz1PtCmwpiRRPog92h8dG5uQhmrQGupZbf4MFQsCccSnAZIv3wIlYEnkBy2IPV5Oo= Received: by 10.141.151.20 with SMTP id d20mr9426441rvo.108.1202580244056; Sat, 09 Feb 2008 10:04:04 -0800 (PST) Received: by 10.141.202.18 with HTTP; Sat, 9 Feb 2008 10:04:04 -0800 (PST) Message-ID: <237967ef0802091004r5ad42cecof46abb401b0f98cb@mail.gmail.com> Date: Sat, 9 Feb 2008 19:04:04 +0100 From: "Mikael Magnusson" To: zsh-workers Subject: Re: Completion lockup In-Reply-To: <200802091721.m19HLoca004761@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <237967ef0802060702s35df5863g91844ab9dde5cfd6@mail.gmail.com> <200802091721.m19HLoca004761@pws-pc.ntlworld.com> X-Virus-Scanned: ClamAV 0.91.2/5760/Sat Feb 9 17:38:42 2008 on bifrost X-Virus-Status: Clean On 09/02/2008, Peter Stephenson wrote: > "Mikael Magnusson" wrote: > > zsh -f > > setopt rcquotes > > a''' > > Tried on two machines with 4.3.4-dev-7, both started spinning 100% cpu > > longer than i felt like waiting. > > get_comp_string() is the second most horrible function ever written. > The following not only stopped the crash it apparently worked, i.e. > it complete a file a\'foobar I created in the path! I didn't like > to look any further. I'm sure you'll let me know if anything funny > is going on. This seems to have done the trick, it's always nice when fixing something makes it work too. The only funny thing I've noticed in the past 5 minutes is that if i type a'''' i get the file as a\'foobar, but if i leave out the a and just tab the four quotes, i get it in the command line as 'a''foobar' which seems weird, but maybe the _correct (i think?) completer does things differently. This is not something that bothers me in the least, just thought i should mention it. -- Mikael Magnusson