From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8057 invoked from network); 15 Apr 2002 15:46:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Apr 2002 15:46:16 -0000 Received: (qmail 23068 invoked by alias); 15 Apr 2002 15:46:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16986 Received: (qmail 23042 invoked from network); 15 Apr 2002 15:46:02 -0000 From: "Bart Schaefer" Message-Id: <1020415154511.ZM9166@candle.brasslantern.com> Date: Mon, 15 Apr 2002 15:45:10 +0000 In-Reply-To: <20020415082504.GA29414@meliorist.co.uk> Comments: In reply to Adam McNeeney "Directory Name ?Bug" (Apr 15, 9:25am) References: <20020415082504.GA29414@meliorist.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: Adam McNeeney , zsh-workers@sunsite.dk Subject: Re: Directory Name ?Bug MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 15, 9:25am, Adam McNeeney wrote: } Subject: Directory Name ?Bug } } When I tab complete/type in with appropriate backslashes a directory } name containing a single ' charocter and a space gets the complaint } that there is an unmatched ' and brings you back to the prompt. First question, are you using the "new" completion system (loaded from your startup files with `compinit') or are you using default completion (based on the `compctl' command)? If you're using `compinit', then instead of TAB, type ctrl-X and then a question mark. This will dump a debugging trace of the completion attempt to a file in /tmp. (There's no such facility with default completion.) Does the "unmatched" error affect every command after which you attempt to complete this directory, or only for `cd' commands, or ...? } The only way that I have found to do anything with this directory is } to escape appropriate characters _and_ put it in double quotes. Define "do anything." Does something go wrong in a case other than tab completion? *Exactly* what are you trying to complete -- the directory name itself, or files inside that directory (where the whole directory name is already on the command line)? } e.g.: } File name: don't stop } How I tried to refer to it: don\'t\ stop } How I had to refer to it: "don\'t\ stop" This is not enough information. We need to see the entire and exact string that is present at the zsh prompt right before you press TAB. } If it's useful, I'm using zsh 4.0.4. The zsh version number is always essential. I can't reproduce the behavior you describe, but I really don't know if I'm trying the same things you are. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net