Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion lockup
- X-seq: zsh-workers 24543
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: Completion lockup
- Date: Sat, 9 Feb 2008 19:04:04 +0100
- 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=
- In-reply-to: <200802091721.m19HLoca004761@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <mikachu@xxxxxxxxx> <237967ef0802060702s35df5863g91844ab9dde5cfd6@xxxxxxxxxxxxxx> <200802091721.m19HLoca004761@xxxxxxxxxxxxxxxxxxx>
On 09/02/2008, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> "Mikael Magnusson" wrote:
> > zsh -f
> > setopt rcquotes
> > a'''<tab>
> > 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''''<tab> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author