From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26737 invoked from network); 22 Feb 2009 20:53:49 -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.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Feb 2009 20:53:49 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 58232 invoked from network); 22 Feb 2009 20:53:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Feb 2009 20:53:43 -0000 Received: (qmail 13920 invoked by alias); 22 Feb 2009 20:53:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26594 Received: (qmail 13906 invoked from network); 22 Feb 2009 20:53:36 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Feb 2009 20:53:36 -0000 Received: from uucp.gnuu.de (uucp.gnuu.de [83.246.114.63]) by bifrost.dotsrc.org (Postfix) with ESMTP id BF5B780293E7 for ; Sun, 22 Feb 2009 21:53:29 +0100 (CET) Received: by uucp.gnuu.de (Postfix, from userid 10) id 8598D488040; Sun, 22 Feb 2009 21:53:27 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.5.2 uucp.gnuu.de 8598D488040 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1235336008; i=@alea.gnuu.de; bh=Nwxh9WiU4vMuvajvZgrdJsRbcnNspafvG BnEC6KINlI=; h=To:From:Subject:Date:Message-ID:References: Mime-Version:Content-Type:Content-Transfer-Encoding:Sender; b=TigE QBNq+s1c6Jt0nhs8RDANC29JdCGLjac8Hn49elOO3raBJkZFBRwbpNynlHPQ0J2NELN ElL8gM1/Vey4ajQ6hXnXbhUqn8j8iuu4r6mv+ZTyA/gIRA5k0xtVMBJnEHrjtGCeNpN 6pcpoDd7aSG/eUnV5uRUBWgKVnhBKIuWk= Received: from news by alea.gnuu.de with local (Exim 4.69) (envelope-from ) id 1LbL4K-0002Rn-UJ for zsh-workers@sunsite.dk; Sun, 22 Feb 2009 21:36:57 +0100 To: zsh-workers@sunsite.dk Path: not-for-mail From: =?UTF-8?Q?J=C3=B6rg?= Sommer Newsgroups: local.mailinglist.zsh Subject: Re: globcomplete desctroys file completion Date: Sun, 22 Feb 2009 20:36:56 +0000 (UTC) Message-ID: References: <090221111624.ZM12907@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: alea.gnuu.de 1235335016 9409 192.168.0.5 (22 Feb 2009 20:36:56 GMT) X-Complaints-To: usenet@alea.gnuu.de User-Agent: slrn/pre1.0.0-2 (Linux) Sender: news X-Virus-Scanned: ClamAV 0.92.1/9023/Sun Feb 22 21:11:47 2009 on bifrost X-Virus-Status: Clean Hallo Bart, Bart Schaefer wrote: > On Feb 21, 2:18pm, Jorg wrote: >} >} when I set the option globcomplete, file completion doesn't work in all >} cases. > > Based just on the _complete_debug output you sent, I'd say that the > correct thing is happening WITH globcomplete, and without it you're > somehow getting disambiguation that you shouldn't. > > For example, T*/t*/t* should among other files match Tmp/texlive/tlpkg > and Tmp/texlive2008/tlpkg, but when you complete without globcomplete > you're offered Tmp/texlive/te as a unique prefix. How can that be > correct? Because the cursor is placed after texlive and I can select between texlive and texlive2008 before continuing. >} % zsh -f >} ibook% autoload -Uz compinit >} ibook% compinit > > You might try using "compinit -D" here when testing, to avoid reading > an existing zcompdump file. Probably doesn't matter here. Thanks for the hint. >} ibook% print -l T/t/t --> Tmp/texlive/te >} ibook% setopt globcomplete >} ibook% print -l T/t/t --> nothing, failure >} % zsh --version >} zsh 4.3.9 (powerpc-unknown-linux-gnu) >} >} A log for this is available at >} http://alioth.debian.org/~jo-guest/zsh5117print1 > > What is helpful in these cases is TWO logs, e.g. one with globcomplete > set and the other with globcomplete NOT set, for comparison. I've put these two logs at http://alioth.debian.org/~jo-guest/zsh-with-globcomplete http://alioth.debian.org/~jo-guest/zsh-without-globcomplete Can I somehow else help you? Bye, Jörg. -- Wer A sagt, muß nicht B sagen. Er kann auch erkennen, daß A falsch war. (Erich Kästner)