Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] TYPESET_TO_UNSET + misc.
- X-seq: zsh-workers 48650
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] TYPESET_TO_UNSET + misc.
- Date: Wed, 21 Apr 2021 15:07:17 -0700
- Archived-at: <https://zsh.org/workers/48650>
- In-reply-to: <20210421213652.GF21343@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7bYonV8pW3Z2aNrRSdcXr6v7appYZdnb-A+Xwq4OkZGXA@mail.gmail.com> <CAH+w=7bzkWLj9C-v0Q+A+ZzCLJ8wjLEJPHPbkRSQ=wt=xSkROA@mail.gmail.com> <20210420220121.GE1035@tarpaulin.shahaf.local2> <CAH+w=7aN4ZvT2pyPdoUN1GgTsSwsathLBVVq0N8fB9bb=d9Lng@mail.gmail.com> <20210421213652.GF21343@tarpaulin.shahaf.local2>
On Wed, Apr 21, 2021 at 2:37 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> Bart Schaefer wrote on Tue, Apr 20, 2021 at 17:06:10 -0700:
> > Is it worth attempting to explain [...]
>
> I suppose this is somewhat implied by the fact that there's no «typeset»
> syntax to create an unset variable when no_typesettounset is in effect?
Even if there were such syntax, it'd be questionable whether "typeset
-p" should employ it, because that would increase the bash/ksh
dissonance and could not be used with "readonly" or "export" in the
case where POSIX_BUILTINS is set.
Come to think of it, separating this from POSIX_BUILTINS as I did, may
have already reduced (or rather, failed to improve) POSIX
compatibility for those two commands.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author