zsh-users
 help / color / mirror / code / Atom feed
From: Phil Pennock <phil.pennock@globnix.org>
To: zsh-users@sunsite.dk
Subject: Re: Completion of dirs confused over cursor position
Date: Thu, 9 Jan 2003 14:51:33 +0000	[thread overview]
Message-ID: <20030109145133.GA22171@globnix.org> (raw)
In-Reply-To: <7407.1042108920@csr.com>

On 2003-01-09 at 10:42 +0000, Peter Stephenson wrote:
> This isn't supposed to happen and doesn't when I use your settings.
> Maybe some invisible character is screwing up the calculations.  I think
> you're stuck with trying to find the minimum set of options, styles and
> parameters which reproduces it, also whether it's specific to a
> particular version or displaying a particular arrangement of filenames.

Well, the exact same _config_ for another user on the same box did not
have that effect.  However, playing around with directories, I do see
issues.

 .
 ./bin
 ./bin/common
 ./bin/openbsd_sparc

Then "cd <TAB><TAB>" shows the issue.  I've not tracked down the exact
combination of filename layout, but it seems to be connected to the
underscore.  Commenting out the matcher-list item removes the issue:

# zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*'

I'm sorry that my diagnosis of this stuff is so poor.  I've avoided the
new completion stuff, and am having serious head-scratching moments
trying to figure out how to replicate some old compctl stuff.  Even
simple things, like:
 compctl -f -W ~/some/directory commandname

The FAQ still points to compctl usage.  This is not my week.

(aargh, I can no longer rely upon $_ as being usable. :^( )


  reply	other threads:[~2003-01-09 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08 19:46 Phil Pennock
2003-01-09 10:42 ` Peter Stephenson
2003-01-09 14:51   ` Phil Pennock [this message]
2003-01-09 15:02     ` Borzenkov Andrey
2003-01-09 16:06       ` Phil Pennock
2003-01-09 16:01         ` Borzenkov Andrey
2003-01-09 18:35     ` Bart Schaefer
2003-01-10 13:58       ` Phil Pennock

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=20030109145133.GA22171@globnix.org \
    --to=phil.pennock@globnix.org \
    --cc=zsh-users@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).