From: Clint Adams <schizo@debian.org>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: zsh-workers@sunsite.dk, 486785@bugs.debian.org
Subject: Re: Bug#486785: tab completion broken
Date: Fri, 27 Jun 2008 09:15:16 +0000 [thread overview]
Message-ID: <20080627091516.GA18735@scru.org> (raw)
In-Reply-To: <20080622232342.756e9d4b@pws-pc>
On Sun, Jun 22, 2008 at 11:23:42PM +0100, Peter Stephenson wrote:
> It's something to do with using the -U argument to compadd when you've
> got ambiguous completions: it works fine when there's only a single
> completion. It was triggered by adding the -U's to do approximation in
> non-final path segments (even before the compmatch change). The initial
> "." is a red herring. However, I don't know where it's going wrong
> since when I do approximation after normal completion (but lots of other
> options set, too) it works fine. This triggers a different part of
> _path_files which has compadd -U but slight differences in the other
> arguments. Internally the Cline struct that's used for generating the
> command line looks a bit spartan in the failed case. Needless to say I
> haven't the faintest clue where this is leading.
Further clues:
1) these behave the same way
zstyle ':completion:*' completer _complete _ignored _match _approximate
zstyle ':completion:*' completer _complete _correct _approximate
zstyle ':completion:*' completer _complete _approximate
2) this one behaves the same way on the second tab
zstyle ':completion:*' completer _list _expand _complete _ignored _match _correct _approximate _prefix
I have not performed an exhaustive search by any means, but I have not
yet run across a combination where the inclusion of _approximate doesn't
trigger the surprise elision.
next prev parent reply other threads:[~2008-06-27 9:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 21:15 Clint Adams
2008-06-20 0:00 ` martin f krafft
2008-06-22 22:23 ` Peter Stephenson
2008-06-27 9:15 ` Clint Adams [this message]
2008-06-30 20:35 ` Peter Stephenson
[not found] ` <20080701162625.GA3031@piper.oerlikon.madduck.net>
2008-07-03 2:56 ` Clint Adams
2008-07-06 19:51 ` Peter Stephenson
2008-07-07 1:09 ` Richard Hartmann
2008-07-07 8:15 ` Frank Terbeck
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=20080627091516.GA18735@scru.org \
--to=schizo@debian.org \
--cc=486785@bugs.debian.org \
--cc=p.w.stephenson@ntlworld.com \
--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).