zsh-workers
 help / color / mirror / code / Atom feed
From: "Lawrence Velázquez" <vq@larryv.me>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] Fix zstyle option completion
Date: Sat, 27 Mar 2021 16:08:12 -0400	[thread overview]
Message-ID: <cf90c2f0-f39e-45de-aae7-ade1bc53b4a3@www.fastmail.com> (raw)
In-Reply-To: <2D922DB3-2D14-4F78-B99E-7F0D7C5D6F63@dana.is>

On Mon, Dec 14, 2020, at 4:55 AM, dana wrote:
> On 13 Dec 2020, at 11:31, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> > Could you clarify the precise LBUFFER/RBUFFER values that "won't
> > complete"?
> 
> For example, when i do:
> 
>   # LBUFFER='zstyle -'
>   # RBUFFER=' foo bar'
>   % zstyle -<TAB> foo bar
> 
> ... it tries (unsuccessfully) to complete argument-1 instead of showing me
> options.
> 
> On 13 Dec 2020, at 11:31, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> > As written, I think the patch will cause «zstyle -g foo bar baz <TAB>»
> > to offer completions, whereas currently it correctly completes nothing.
> 
> I don't think it should. All the options are exclusive with each other, so
> that takes care of that already, and the -A '-*' should handle cases like
> `zstyle foo bar <TAB>`. It gives me 'no more arguments' when i test your
> example with my change. But i might not fully understand what you mean

Anything further on this?

vq


  reply	other threads:[~2021-03-27 20:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13  4:15 dana
2020-12-13 17:31 ` Daniel Shahaf
2020-12-14  9:55   ` dana
2021-03-27 20:08     ` Lawrence Velázquez [this message]
2021-03-29 13:46       ` Daniel Shahaf

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=cf90c2f0-f39e-45de-aae7-ade1bc53b4a3@www.fastmail.com \
    --to=vq@larryv.me \
    --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).