zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@zsh.org>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] declarednull: rename DECLARED to NULL
Date: Sat, 10 Apr 2021 23:58:01 +0200	[thread overview]
Message-ID: <63964-1618091881.198315@P0pm.eEwl.WXLl> (raw)
In-Reply-To: <CAH+w=7Z1ZRiTggr_Y=PdaEQ4H06t_Dq2R5PQ3fm7TOVxwwsUoQ@mail.gmail.com>

Bart Schaefer wrote:
> On Sun, Mar 28, 2021 at 5:44 PM Oliver Kiddle <opk@zsh.org> wrote:
> > It seems fairly self-contained and could have it's own option. typeset
> > isn't a builtin. posix compatibility options aren't really improvements
> > but someone might prefer this behaviour.
>
> (I'm reading that as "typeset isn't a POSIX builtin").  There has at

I meant it more in the sense of "typeset is a reserved word". I know
that's only true to a limited extent and a future POSIX standardisation
of local would likely only cover functionality that works as a builtin.
I don't really have a strong opinion but would like to see the work
finished off and pushed.

> I'm also somewhat concerned that choosing a descriptive name for a new
> option is going to spawn another argument.  TYPESET_DOES_NOT_SET ?

I can understand that, its never easy to name these things.

> As mentioned long ago, it could also be an emulation-mode thing,
> although that makes it a lot more difficult to access at a scripting
> level.

I'd be fine with that too if you prefer. If you think you might want to
change how it is controlled later, an internal macro would make that
easier. But I'm, not sure backward compatibility concerns would ever
allow that anyway.

Oliver


  reply	other threads:[~2021-04-10 21:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 22:13 Felipe Contreras
2021-01-03  1:18 ` Bart Schaefer
2021-01-03  2:38   ` Felipe Contreras
2021-01-03 18:26     ` Bart Schaefer
2021-01-04  6:17       ` Daniel Shahaf
2021-01-04 21:57         ` Bart Schaefer
2021-01-06 16:02           ` Daniel Shahaf
2021-01-06 17:33             ` Bart Schaefer
2021-01-07 15:48               ` Daniel Shahaf
2021-01-07 22:29                 ` Bart Schaefer
2021-03-27 19:24               ` Lawrence Velázquez
2021-03-27 20:42                 ` Bart Schaefer
2021-03-29  0:44                   ` Oliver Kiddle
2021-04-10 18:56                     ` Bart Schaefer
2021-04-10 21:58                       ` Oliver Kiddle [this message]
2021-04-10 22:35                         ` Bart Schaefer

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=63964-1618091881.198315@P0pm.eEwl.WXLl \
    --to=opk@zsh.org \
    --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).