From: dana <dana@dana.is>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] Fix zstyle option completion
Date: Mon, 14 Dec 2020 03:55:25 -0600 [thread overview]
Message-ID: <2D922DB3-2D14-4F78-B99E-7F0D7C5D6F63@dana.is> (raw)
In-Reply-To: <20201213173119.GA6254@tarpaulin.shahaf.local2>
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
dana
next prev parent reply other threads:[~2020-12-14 9:55 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 [this message]
2021-03-27 20:08 ` Lawrence Velázquez
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=2D922DB3-2D14-4F78-B99E-7F0D7C5D6F63@dana.is \
--to=dana@dana.is \
--cc=d.s@daniel.shahaf.name \
--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).