zsh-workers
 help / color / mirror / code / Atom feed
From: Frank v Waveren <fvw@var.cx>
To: zsh-workers@sunsite.dk
Subject: zcompsys space character problem
Date: Tue, 5 Nov 2002 04:27:19 +0100	[thread overview]
Message-ID: <1036465301GKC.fvw@jareth.var.cx> (raw)

I've noticed a bug (at least I think it is, with zsh it often turns
out to be a feature so complex you don't recognise it) in zcompsys.

To reproduce:
autoload -U compinit
compinit
mkdir "a a"
mkdir "a aa"
touch "a a/foo"
touch "a aa/foo"

now typing 'ls a\ a/f' and hitting tab (bound to expand-or-complete)
will not complete 'foo' but will jump to the cursor to the /. Repeated
application of tab will try to complete the 'a a' in some options
defined way. However, if the directories are called 'aa' and 'aaa'
(without spaces) zsh behaves as expected and completes to foo if tab
is hit.

This has been tested using zsh 4.1.0-dev-5, using no startup files.

Please CC me, I'm not on the list.

-- 
Frank v Waveren                                      Fingerprint: 21A7 C7F3
fvw@[var.cx|stack.nl|dse.nl|chello.nl] ICQ#10074100     1FF3 47FF 545C CB53
Public key: hkp://wwwkeys.pgp.net/fvw@var.cx            7BD9 09C0 3AC1 6DF2


             reply	other threads:[~2002-11-05  3:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05  3:27 Frank v Waveren [this message]
2002-11-05  5:10 ` Bart Schaefer
2002-11-05 12:36   ` Sven Wischnowsky
2002-11-06  8:03   ` Sven Wischnowsky

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=1036465301GKC.fvw@jareth.var.cx \
    --to=fvw@var.cx \
    --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).