Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Proposal: Let compinit make standard widgets with _generic instead of _main_complete
- X-seq: zsh-workers 48802
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Proposal: Let compinit make standard widgets with _generic instead of _main_complete
- Date: Sun, 09 May 2021 16:51:15 -0400
- Archived-at: <https://zsh.org/workers/48802>
- In-reply-to: <CAH+w=7ZK_YrSCssUaUbJpMRxLL6yogZb+kg6a8Grxne-TxcRig@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDuxX39Z7-ioZTgrosL-SQW8dhZy9_v694u7w4Mtu+EHSw@mail.gmail.com> <CAH+w=7b4b-FBVbrZ4SWSiqxP4OcuLmzQWjqZ39c6Q-WZzPq60Q@mail.gmail.com> <CAH+w=7ZL+soLWYiKUb1Ej20WHbs7johzVWJ+qEvevLP5tK_Z4w@mail.gmail.com> <CAHLkEDtjqfyXFR7RqXBUVmKc5MwWR2T8zazortvO3ygEphZarA@mail.gmail.com> <CAH+w=7bhfeV0k5y0FtZLTsm_Y5uBU1wLJw7GUVubfxsKopaRDg@mail.gmail.com> <CAHLkEDuo=8MbjYWOmQM5d4uLOzo+BC6XTy=S14-BfeBPMZjysw@mail.gmail.com> <CAH+w=7YAxLGd=cTFkOqHXiUpk1iPp=7u3-qvEKmE6dTSELcoMA@mail.gmail.com> <80787-1617995485.617359@q0GB.FFaP.JPH4> <CAH+w=7ZK_YrSCssUaUbJpMRxLL6yogZb+kg6a8Grxne-TxcRig@mail.gmail.com>
On Fri, Apr 9, 2021, at 3:35 PM, Bart Schaefer wrote:
> On Fri, Apr 9, 2021 at 12:11 PM Oliver Kiddle <opk@xxxxxxx> wrote:
> >
> > The intended way to do this is to use zle -C to define a custom widget
> > based on an existing one and _generic. And if you really want the
> > existing widget, zstyle -e allows you to check $WIDGET. Or is the aim
> > here actually something else like making it easier for a plugin to base
> > changes on underlying user settings.
>
> I think use of "zstyle -e" was either overlooked or was itself
> considered too roundabout.
>
> In another thread (zsh-newuser-install) the aim is to change the
> behavior of the existing widget (to invoke menu selection) without
> having to rebind the keys that reference it.
Anything else on this?
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author