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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23573 invoked from network); 15 Feb 2023 10:36:57 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Feb 2023 10:36:57 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1676457417; b=KclNO4OVE6E0vTrgx6S0WKPRATFrDLCvf4i0Gl1KqjJFETslPPh3kp3iByZh1MyHtTqHbXdN3o DG+28SPg7NNz112EuJSh5uyVvW3IjIf5fEuH0n7BxOTWjb7JEZuztmCMAX/R5PK0RtQnM+AaTN 7c6fqy5Ms/xhcaHHq3UuVRgnfM0R4brZ/ZpE+97Rx0DZ7dz34/kyyGP/NRFE8IIlqpuNFmNYc1 l0eMfvGVhalbV730m+545An1W6HakHH/VPEwi/o93VXLw5pHrHg0p7v0bIm4juLYgfMq8Gnt1b e+h+L0n3KyPwgIlvvfFi0yCyq2BtK7s/LfGQULE0iciK5g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1676457417; bh=g1ZJI5l2ts7V6SCGgmmpjFnSGVUv8Gji51y6i5Tntuw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=S98Wx5+VoWsIeXy+M6rzMlPreSPAOnFDDlj7cBEh9GT91vnq3Wo4I5LvwS5q7gwhZrMRpyW2bC zlQ7bfW6I1VRNOS3BDC7qlFDwWJMcuuLtGn9oyLicY/fqgoiFkVIwRYTme5rJqw+zpnQxBFAr6 8DfDKkJA8DG7NY7EChs0dqavmY2hfpNSIr8FEc88g7aii9iFYdM77vnFv+IsgSzhLdMG5honui KvzLshzJgoXxuNsI4nfXpfE/Fx5O5JwYriSUdIsHcpKfCSaTso8dApZ9wSf2V4okEUofrIF441 fwUWnORVCdEC8jlx5bEZm6BoxP1/dKs/lBRNZFbD/yE1fA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=sFJeepHh5a+TPohNDPt993IzX+t5W+feSDClomqtxdc=; b=VbCfpLp6cjHki1LPH6Sgkqved3 vAymoexS5+onambTlods67G66uAcRfEx+HKEB5fpZSDu748PvCVuSM2m1yQogv0CwLXtZ4k7O+/r9 7iBEjuWZ/FCyJvYeWxKRXe5OVGxBMkaDZNj+WCO3nxXQqO4XjGkpukYyeblPuGQRPPZ/zmsR02bN4 rb6iFDUI2emyWQg9lVVqkJz1rTZt5cJALpK9uywVFQpMmz1t+tSl1L4t+qTx4S1KLm1yqoLZNFeV+ l8QwlXxRveygkB+KciOCwMqf4FeBO0wuxze+xObZVBJtQdbzlvWkpTjnbNcA0It4zkOjivrzn+BO6 uLkvb5EQ==; Received: by zero.zsh.org with local id 1pSF9l-000HD5-0W; Wed, 15 Feb 2023 10:36:57 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:55214) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1pSF9X-000Gt7-CE; Wed, 15 Feb 2023 10:36:44 +0000 Received: from [212.54.57.82] (helo=smtp3.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1pSF9X-0006WW-1W for zsh-workers@zsh.org; Wed, 15 Feb 2023 11:36:43 +0100 Received: from oxbe24.tb.ukmail.iss.as9143.net ([172.25.160.155]) by smtp3.tb.ukmail.iss.as9143.net with ESMTP id SF9WpEw0NYBhJSF9XpL3Iy; Wed, 15 Feb 2023 11:36:43 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.155 X-CNFS-Analysis: v=2.4 cv=Vd8xfnl9 c=1 sm=1 tr=0 ts=63ecb5bb cx=a_exe a=7eg3RIOFpSGgz8rG3xBEDw==:117 a=oZ-QmNu9X3IA:10 a=IkcTkHD0fZMA:10 a=wELjgGd5xrIA:10 a=NLZqzBF-AAAA:8 a=q2GGsy2AAAAA:8 a=KjXEuaR2tLqa4CsgQjIA:9 a=QEXdDO2ut3YA:10 a=z9dJwno5l634igLiVhy-:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1676457403; bh=g1ZJI5l2ts7V6SCGgmmpjFnSGVUv8Gji51y6i5Tntuw=; h=Date:From:To:In-Reply-To:References:Subject; b=xlacuuHgj4qUl94XQOZS6Q0yHhnKCQdb2eFMXYdZgmPoFKNaSSmvk6eCXHQceGFLn X+/oedvdds029D809EfN5dc5dGhigZPnTe2kzKwvUEc1nwAZbrOXZVel06lwtuWCzU TleeozUkJBsww/ywIvQ6zYXztncTcCOiVr0lrsfCR6N+TkE1UQ0xQviG9HLU9bxd7x TiuTxbSYhPgTfl4Ctcs6msr4sDyodeGd2WC1b/G9T880enBttsYAeb7CsDLitnGiJc 2kunX1xAi0LVmOY5j4KOofQ++RMDOoVYbKChO4Fe/Aa7Sk+wr1LpH/GUt+F+SjrgCJ 7Lupq9IytKHzw== Date: Wed, 15 Feb 2023 10:36:42 +0000 (GMT) From: Peter Stephenson To: Zsh hackers list Message-ID: <257116129.2947501.1676457402764@mail.virginmedia.com> In-Reply-To: <559923381.2944482.1676455949483@mail.virginmedia.com> References: <1249162537.4244630.1676386019653@mail.virginmedia.com> <1911575874.92635.1676392609186@mail.virginmedia.com> <559923381.2944482.1676455949483@mail.virginmedia.com> Subject: Re: [PATCH] Named reference typos & misc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer X-Originating-IP: 165.225.17.172 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfL449aO1vRxfy7UJd8WNGoN81OuVCrB5m+yfq2G118jqJktjyuwpOBoW1DFuPUKlZiPHYMtBW3Fc44pyoEQl5Qf8iszmWVbn6ou/x9EMP9OWeouwI0k/ i/sM/qV8HX2oEs/Zfv5pkx6cY+E0vu2Hb+rpf46jNq2elj1Nvid/cNeOuSGzbniNnL+B+lYVU9rTULYIDtTsMzDwRaPM6xSgL0uDS50ANV+9qC86HlkMEpTP X-Seq: 51440 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: > On 15/02/2023 10:12 Peter Stephenson wrote: > > > On 14/02/2023 20:00 Bart Schaefer wrote: > > Unrelated: > > > I kept the loop in the function to avoid a (correct) additional warning > > > message setting the global variable ref in the loop. I don't know if > > > setting ref in a for loop should actually elide that message, which > > > is a completely separate issue. > > > > You mean an assignment within the loop, while "ref" already points out > > of it? I would think that'd be expected to trigger warn_create_global > > instead, > > Yes, and it usually does with normal references, so I guess there's a > different case here with namerefs. "... with normal VARIABLES", sorry, that's confusing the issue. pws