From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31801 invoked from network); 10 Apr 2021 21:58:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2021 21:58:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:Date:Content-ID: Content-Type:MIME-Version:Subject:To:References:From:In-reply-to:Reply-To:Cc: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Yz7InrhSxA5MX6wD1xrh2tZDl3OTFvDAoOvoxbhsHRc=; b=Lj1G97n95toRBTuADn3Yz0NolK wpOrKJeGR56GqeBRQTBLhx6TF/6442ADBQjIEsrS44IMQFaik2ZWKWun4GbGxVxnREzBMalX2xBqB UkX8TBOrUEl8izRqc+8zDa9YkweiRa953XYp1ychK15t7WoPeaU6xuq9XgtPsjxaAL6+B4CbNnZ3W 7MFdxrPGTjoVheoDo9Jgzhu0mXDgEQNF869u4FAIJCRQXcs26311dY6uU+ah2XhAmAVVhGHeCumnO olGbNBvr5XhxrNZzC2z7w6OsKveqFimY1mRccIhvc3ZoieOWG0K4Y1kzh/Is+y3qOxqmkvaidO5Ob 5i6JPTrQ==; Received: from authenticated user by zero.zsh.org with local id 1lVLcO-000F40-P5; Sat, 10 Apr 2021 21:58:16 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lVLcA-000Emm-Cu; Sat, 10 Apr 2021 21:58:03 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.93.0.4) (envelope-from ) id 1lVLc9-000Gdh-6U for zsh-workers@zsh.org; Sat, 10 Apr 2021 23:58:01 +0200 In-reply-to: From: Oliver Kiddle References: <20201228221342.136199-1-felipe.contreras@gmail.com> <20210104061718.GB14783@tarpaulin.shahaf.local2> <4e9d7283-94fa-4862-ab04-8c3294f3876c@www.fastmail.com> <83994-1616978678.232193@jPMH.zQZs.0I47> To: Zsh hackers list Subject: Re: [PATCH] declarednull: rename DECLARED to NULL MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <63963.1618091881.1@hydra> Date: Sat, 10 Apr 2021 23:58:01 +0200 Message-ID: <63964-1618091881.198315@P0pm.eEwl.WXLl> X-Seq: 48486 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Bart Schaefer wrote: > On Sun, Mar 28, 2021 at 5:44 PM Oliver Kiddle 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