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=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RDNS_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: from authenticated user by zero.zsh.org with local id 1kiQxo-000E2K-2t; Thu, 26 Nov 2020 23:46:12 +0000 Authentication-Results: zsh.org; iprev=pass (mail-wr1-f45.google.com) smtp.remote-ip=209.85.221.45; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-wr1-f45.google.com ([209.85.221.45]:34049) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kiQxP-000Dnf-MB; Thu, 26 Nov 2020 23:45:49 +0000 Received: by mail-wr1-f45.google.com with SMTP id k14so3852557wrn.1 for ; Thu, 26 Nov 2020 15:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B/w7Khu9hwdyvUtZPG9gd8uUMv6WTZh5aiS6/WXVXxY=; b=PywqjAQRtmCIazU9Skfo5ruJxcoOndDouBOno9uWp3EFBdzC3YcaoNLPTgoz+Pi32B yX58E4UXhvue3/DE9yO2fhIyFrVzYCa/VtfhkQPDemb8zxk5jB04qJNEMORrf9VJ2xda NXKXP5aW/l3He2i7eEAT33vkyDnz+OgMvV7Y7ygMZvEfHN+8wJJ8aL14aoY+JNre7ryZ y5nTNgXyF9TV9yYB62nnEi2mft3OF0KKsDNhGNWqpLrwFicYQi8DNMfRPYjBWtSRa7Bs W57apSMCPRI+Mjw6nibK0RsrIdE6bZ2oVWwNJUrcApLtuaiKGFc9f2o6XoF1odCBZAcv jpTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B/w7Khu9hwdyvUtZPG9gd8uUMv6WTZh5aiS6/WXVXxY=; b=myVBVaONklt4BDR51XJsAFrdVAufK+LMXfng8j9vdTwvagqrp5YbIqQCQjw/peAq0s TkmIEfTdBvFBkyQYlJxJlKEO1ZFk/8DoBTBnoQX82ihRvrdiChBxaNdscYQpAKxallhh E+nXSp7IF39UD29Oas1bBECO4qZMPEbdj2N7nOaWXV+B8xct5A8vj6pepDCyWprbjBmr Xk4ZnFzJDXzPUPgD5o3tTJmDEFSaNiI1OmT7AbzFwWuNUiCCGDxxKvQcxfrcft/E2rsg A8CeJGwt1mlK8y8WXCpUgvQxNt16bKHzBbPtVqmHxd872a0FOllp+EXGEfOaaoB3UQGM IjCg== X-Gm-Message-State: AOAM531hjvFxmIPWX59xfDFOeQ7fEZDGubiEGhrV8IX59P2G2iM75Aek tAh1/dFdAwHBb1K3tDuM6vlr57pskkjVT1PbDud7yjoOFoA= X-Google-Smtp-Source: ABdhPJyuH3hPwIMjeNaDYywXtdeCk5Lh8XoOQPgycs5fwBAeeuGhMFS790yFJa4T1+B/6jJopBCB2CIvXPxvX41TU3U= X-Received: by 2002:adf:e788:: with SMTP id n8mr6814871wrm.84.1606434347194; Thu, 26 Nov 2020 15:45:47 -0800 (PST) MIME-Version: 1.0 References: <20201125131921.vay7h3xk5qn4odgg@chazelas.org> In-Reply-To: From: Felipe Contreras Date: Thu, 26 Nov 2020 17:45:36 -0600 Message-ID: Subject: Re: More rabbit-holes with unset variables To: Bart Schaefer Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 47653 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: Archived-At: On Thu, Nov 26, 2020 at 4:41 PM Bart Schaefer wrote: > > On Thu, Nov 26, 2020 at 1:21 PM Felipe Contreras > wrote: > > > > I asked who objected to the specific behavior I quoted. > > I'm not going to dig through the austin-group archives to try to > distinguish which of the two parts of the quoted behavior (inherit, or > otherwise not set) was the source of anyone's objection. I concede > that the explanatory paragraph in the rationale did not call out > either of those behaviors. The question was not addressed to you, but to the person that brought up the bug report. A quick look at the bug report doesn't show anyone objecting to that. > > On Thu, Nov 26, 2020 at 2:42 PM Bart Schaefer wrote: > > > > > so a the only useful "declared but not set" variable is a simple > > > scalar. > > > > And by scalar I suppose you mean string. > > I mean the simplest form of what zsh refers to as "scalar" internally. > Yes, that's ordinarily representable in C by "char[]", but in the > abstract that doesn't matter. Strings in C are typically declared as "char *", not "char []". -- Felipe Contreras