From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14887 invoked by alias); 1 Nov 2009 20:33:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27329 Received: (qmail 17654 invoked from network); 1 Nov 2009 20: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=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <091101113305.ZM15833@torch.brasslantern.com> Date: Sun, 01 Nov 2009 11:33:05 -0800 In-reply-to: <200911011831.nA1IVtMH003055@pws-pc.ntlworld.com> Comments: In reply to Peter Stephenson "Re: zsh eats 100% CPU with completion in /" (Nov 1, 6:31pm) References: <200911011831.nA1IVtMH003055@pws-pc.ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: zsh eats 100% CPU with completion in / MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Nov 1, 6:31pm, Peter Stephenson wrote: } } Thanks---I think that means somehow it's got confused in the lexical } analyser, there's not much scope for more problems in get_comp_string(). } That first word obviously ought to be "./x". Hmm. Somewhere in the completion system -- I forget now whether it's in the C code (though I believe so) -- the string on the line is modified to insert an "x" as a placeholder, which is then later deleted. I wonder if something is going wrong there -- either the pointer isn't being advanced properly when the "x" is inserted, or it's being decremented incorrectly (or too often) when the "x" is removed?