Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] TYPESET_TO_UNSET + misc.
- X-seq: zsh-workers 48598
- From: Stephane Chazelas <stephane@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] TYPESET_TO_UNSET + misc.
- Date: Fri, 16 Apr 2021 07:53:42 +0100
- Archived-at: <https://zsh.org/workers/48598>
- In-reply-to: <20210416064441.ou6d7mw4cnf2qamn@chazelas.org>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- References: <CAH+w=7bYonV8pW3Z2aNrRSdcXr6v7appYZdnb-A+Xwq4OkZGXA@mail.gmail.com> <20210416064441.ou6d7mw4cnf2qamn@chazelas.org>
2021-04-16 07:44:41 +0100, Stephane Chazelas:
> 2021-04-13 22:52:27 -0700, Bart Schaefer:
> [...]
> > I chose TYPESET_TO_UNSET as the option to control this, to go along
> > with TYPESET_SILENT and because it works a bit better when negated as
> > NO_TYPESET_TO_UNSET.
> [...]
>
> Sorry if I'm completely beside the point as I didn't look at the
> patch, but those options sound at least related to bash's
> localvar_unset and localvar_inherit options
> (https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html)
>
> It may make sense to use the same name if they are semantically
> equivalent.
[...]
d'oh sorry, please ignore my previous message. bash's
localvar_inherit is somewhat relevant but localvar_unset is not
as that's about using unset on a local variable (where without
it unset could peel off one level of scoping under some
circumstances instead of unsetting)
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author