From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11571 invoked by alias); 30 Dec 2013 09:30:12 -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: 32199 Received: (qmail 14601 invoked from network); 30 Dec 2013 09:30:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Carlo Subject: Re: PATCH =?utf-8?b?X2NkOg==?= completion fails for Date: Mon, 30 Dec 2013 09:23:36 +0000 (UTC) Message-ID: References: <8DAABB32CF84427596279B599BB929DB@fueledbylemons.com> <8C206EB3503E4B9FAF437799DFF051CD@fueledbylemons.com> <131228000041.ZM25439@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 84.227.25.252 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36) Bart Schaefer brasslantern.com> writes: > After looking at this for a while I think you are close, but not quite > right. There are two uses of $tmpWpath, but I believe only one of them > needs additional quoting. > > This also needs to be careful to quote each element of the array before > the elements are joined, because the reference is inside double-quotes. Hello Bart I am afraid, your patch doesn't work for me. Fetched zsh 5.0.4, built it on MacOS X 10.9.1. When I hit the tab, the shell immediately exits. It happens when it type cd /usr/lo as well as ls /tmp/g Applying your patch - using _cd from a fresh git checkout - hasn't fixed it. The problem is not a space in a path, but in the handling of tab characters. I have been using the same zsh key-bindings for years on various OS without incurring this problem. Reverted back to 5.0.2, where the tab character works as expected. Regards, -- Carlo