Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature Patch: Use completion to view parameter values
- X-seq: zsh-workers 48330
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Marlon Richert <marlon.richert@xxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Feature Patch: Use completion to view parameter values
- Date: Mon, 29 Mar 2021 17:11:20 +0000
- Archived-at: <https://zsh.org/workers/48330>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-03/20210329171120.GA6044%40tarpaulin.shahaf.local2>
- In-reply-to: <CAHLkEDuHjvRhXhcX4iqZ0mJuAabcpSnRikunLeK9Y2Ucjhf0oQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDtf6JqSn86duXjEuQFXGKJn8COcxnEypoOUV=V63SsdPQ@mail.gmail.com> <20210329073913.GP18178@tarpaulin.shahaf.local2> <CAHLkEDuHjvRhXhcX4iqZ0mJuAabcpSnRikunLeK9Y2Ucjhf0oQ@mail.gmail.com>
Marlon Richert wrote on Mon, Mar 29, 2021 at 14:55:17 +0300:
> On Mon, Mar 29, 2021 at 10:39 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> > What about parameters implemented by modules? The getters of those may
> > run arbitrary code, and may have side effects: e.g., imagine an
> > $AUTOINCREMENT parameter that returns an incremented-by-one value every
> > time it's evaluated:
>
> Is there a way to identify these somehow, so I could filter them out?
> How about if I never auto-evaluate "special" parameters? So, like
> this:
I think that's right. -workers@: Is it possible for a non-PM_SPECIAL
parameter have a custom getfn?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author