zsh-workers
 help / color / mirror / code / Atom feed
From: greg@klanderman.net (Greg Klanderman)
To: zsh-workers@sunsite.auc.dk (Zsh list)
Subject: extended compctl bug in 3.1.5
Date: Tue, 22 Jun 1999 09:21:47 -0400 (EDT)	[thread overview]
Message-ID: <14191.36331.302444.11911@pdx.itasoftware.com> (raw)


Hi,

I hope this example will illustrate two bugs in using the "R" pattern
in extended completion:

compctl -k '(foo bar)' -x 'R[bar,foo]' -k '(a b c)' \
             - 'R[foo,;]' -k '(1 2 3)' -- foobar

First, type "foobar foo", with no space after "foo" and hit TAB.  You
get a beep and no completions, because the 'R[foo,;]' clause is
matching even though you are not after but ON the word with prefix
'foo'.  I would expect it to complete "foo" by appending the suffix
space.

Second, type "foobar foo bar ", with a space after "bar".  Hit TAB and
you get the completions "a", "b", and "c", which you should not, as
you are not before "foo".

Please include me in any reply as I am not on the list.

thanks,
Greg


             reply	other threads:[~1999-06-22 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-22 13:21 Greg Klanderman [this message]
1999-06-22 13:31 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=14191.36331.302444.11911@pdx.itasoftware.com \
    --to=greg@klanderman.net \
    --cc=zsh-workers@sunsite.auc.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).