Zsh Mailing List Archive
Messages sorted by:
Re: Why does _main_complete not try the next completer when $_comp_mesg is non-zero?
- X-seq: zsh-workers 48349
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Marlon Richert <marlon.richert@xxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Why does _main_complete not try the next completer when $_comp_mesg is non-zero?
- Date: Wed, 31 Mar 2021 11:25:33 +0200
- Archived-at: <https://zsh.org/workers/48349>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-03/52817-1617182733.169625%408lsJ.YVQX.sx5d>
- In-reply-to: <CAHLkEDsrQz7t2bn473aBk=G+gRokEfH5GWq=QFDi1ZEm=91Kyg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDt+5xiu62fLb2Gp9gQOh9Q_o8+-He64fooMMxPceon4vA@mail.gmail.com> <74277-1616967738.353098@Tsys.Nn18.rMz7> <CAHLkEDsrQz7t2bn473aBk=G+gRokEfH5GWq=QFDi1ZEm=91Kyg@mail.gmail.com>
Marlon Richert wrote:
> I've been using some variation of the code below in my
> [zsh-autocomplete plugin]
> (https://github.com/marlonrichert/zsh-autocomplete) since last July
> (so, for about 9 months now) and I have yet to experience any issues
> from it, nor have any of my end users reported any issues from it.
> That’s why I’m asking whether the behavior upstream is actually
Perhaps I wasn't clear in my reply but yes I do regard it as necessary.
Maybe that code doesn't cause "issues" but it does change behaviour and
stop completion from working in the way I've come to expect it.
There are some related aspects of the current behaviour I'm not
especially keen on like _guard not taking a tag and situations where you
get both the description and the message constructed from the format
style with the warnings tag. Those should be two distinct cases and to
cover your use-case there might be a way to control whether completion
What does your completer style look like out-of-interest? Do you set
zstyle ':completion:*:warnings' format ?
Messages sorted by: