zsh-workers
 help / color / mirror / code / Atom feed
From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: zsh-workers@sunsite.dk
Subject: Re: globcomplete desctroys file completion
Date: Sun, 22 Feb 2009 20:36:56 +0000 (UTC)	[thread overview]
Message-ID: <slrngq3dr7.2hh.joerg@alea.gnuu.de> (raw)
In-Reply-To: <090221111624.ZM12907@torch.brasslantern.com>

Hallo Bart,

Bart Schaefer <schaefer@brasslantern.com> 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<TAB>          --> Tmp/texlive/te
>} ibook% setopt globcomplete 
>} ibook% print -l T/t/t<TAB>          --> 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)


  parent reply	other threads:[~2009-02-22 20:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21 14:18 Jörg Sommer
2009-02-21 19:16 ` Bart Schaefer
2009-02-22  0:57   ` Bart Schaefer
2009-02-25 20:39     ` Peter Stephenson
2009-02-25 20:48       ` Peter Stephenson
2009-02-26  0:24         ` Jörg Sommer
2009-02-26  1:30         ` Bart Schaefer
2009-02-26  4:12           ` Bart Schaefer
2009-02-26 10:49             ` Peter Stephenson
2009-02-22 20:36   ` Jörg Sommer [this message]
2009-02-23  2:25     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrngq3dr7.2hh.joerg@alea.gnuu.de \
    --to=joerg@alea.gnuu.de \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).