zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: ryan@splintermail.com
Cc: zsh-workers@zsh.org
Subject: Re: Bug related to order of zsh completion options?
Date: Thu, 14 Sep 2017 17:12:01 +0200	[thread overview]
Message-ID: <2281.1505401921@thecus.kiddle.eu> (raw)
In-Reply-To: <E1dsTih-0000Vx-Fj@kiddle.eu>

ryan@splintermail.com wrote:
> # this version doesn't
> #_arguments '1:a:(( a_z\:"aaazzz" a_b_c\:"aabbcc" ))'

>     I get:  brokencompletion a_
>                              ^ but my cursor is on the "a"

> Is this a bug or is this documented somewhere, and I just missed a
> specification?

It looks like a bug to me. Seems to have been introduced sometime
between 3.1.7 and 4.0.1 so it is old but not in the original matching
control code. The mimimum to reproduce it is just
  compadd -M 'r:|_=* r:|=*' a_z a_b_c
or even:
  compctl -M 'r:|_=* r:|=*' -s 'a_z a_b_c' cmd

Oliver

.


       reply	other threads:[~2017-09-14 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1dsTih-0000Vx-Fj@kiddle.eu>
2017-09-14 15:12 ` Oliver Kiddle [this message]
2017-09-14 12:46 ryan

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=2281.1505401921@thecus.kiddle.eu \
    --to=okiddle@yahoo.co.uk \
    --cc=ryan@splintermail.com \
    --cc=zsh-workers@zsh.org \
    /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).