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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4513 invoked from network); 7 Jul 2023 06:46:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Jul 2023 06:46:19 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1688712379; b=elEGGlJpZ6s2B44qE7HwJTqvqQJidthMwj+CtJ54R/XuW2ScDY91S17dAzQGiD2+9yueGbI8wP XD4SUiG4UdD5hlbX8OVxVImyADp/oA/gkCyDiIxy4S38iUSCjdMS0re4khXosqqA6aI6/1o6Gm F6CDS8AM+rI19eouguIletmLyANfKMRTL3QyDUUn9BTqtXBrSonLauXzRdS2ghbYd8ah630yEZ p2GBBh7Rr+OWbmIAUi1cNgdhlifQPWtJszECvEWCq1mS8UMdmW4fwKZY4v74ul/1l6RtpHwCQM 1iUSJFYXMdng1ueN+PSR1rGj7cX90uDUB53D0KWqJOpOLQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd00003-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.3; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1688712379; bh=cfw1Pdbk1BDvwhl7TH0466YqAwJ+ppQbbcbYvkIW+WE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=KvDJOXcBBioF8JF1NEG0QjGF412i9PQxoRVlyDsX0ml16b7Eu63p4uSflACes+bCQi1bG2Eiul dZh/wl1A2mUkL+7czrh10NBISt3rTSDlI1uI025gUH+7+vkIH6QztvS3P0MZKV4n5CZcG80zFv JW/n7rNfF9bKCaVE271THnVine1T/+0vnXUg23HkCfgALojTcd6G86ct6VHcTjjXWAnzjl6IcF yL2WsS9yixaXG0xTrtJ756T2f94si3IYI7oxhsr5jqmCsscVvPYWAl+BvF3BiKZHa1XK7IKJIy GQU9hzd8YJh8hiurG6vOJRgsfP3aEvrA6dnoUj2WkMz3Yw==; 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:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=cfw1Pdbk1BDvwhl7TH0466YqAwJ+ppQbbcbYvkIW+WE=; b=TtHAU2m7WZfZ6fPbfwBkEJuX2g 1pIyLWtbich3BQ12TJEBfml6V0IZqgNyJwF5rriUVsxahCbL9CTDgVvuyjIbfrH/lMeEMcFFvhrEh Y0x57RLsP/dgU0r7wBHS+H5CnBYon6Drx2ekAY9kscGpZxrG8eSpVWK6czEIkYOIJHZ1MOb4fwyyL uyuzbSHhYOHHONvCoGwtqGzpBVffILQvxh/7JdFdQ87y70VYyKfLpP+jhVjOWAxF0vZSzcy6pFS8H O9lneAsXB1gcjAii8qCQ2Jg6Ai0lPWgnmMh6cDaFjp/VO3bz/2pIYrI2lJYbe1A8nmFCvLfElwmBQ uHMpRRzw==; Received: by zero.zsh.org with local id 1qHfEP-00014a-RH; Fri, 07 Jul 2023 06:46:17 +0000 Authentication-Results: zsh.org; iprev=pass (snd00003-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.3; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd00003-bg.im.kddi.ne.jp ([27.86.113.3]:9504 helo=dfmta0005.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qHfDl-0000kC-7D; Fri, 07 Jul 2023 06:45:43 +0000 Received: from mail.biglobe.ne.jp by omta0005.biglobe.ne.jp with ESMTP id <20230707064530545.UFGU.71968.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Fri, 7 Jul 2023 15:45:30 +0900 From: Jun T Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH] Document ${(!)refname} Date: Fri, 7 Jul 2023 15:45:29 +0900 References: To: zsh-workers@zsh.org In-Reply-To: Message-Id: <1F241427-C6DE-496E-856F-8C900AA576BB@kba.biglobe.ne.jp> X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 51910 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: > 2023/06/23 6:39=E3=80=81Bart Schaefer = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB: >=20 > This documents workers/51509. (snip) > +item(tt(!))( > +When the parameter being expanded is a named reference, the reference > +string is substituted and thus the reference is em(not) resolved. % typeset -n ptr=3Dvar % echo $(\!t)ptr} nameref In this case "the reference string is substituted" seems to be not so suitable. The flag ! always indicates "the named reference itself, not its referent". Probably something like the following, "When the parameter being expanded is a named reference, do not resolve to its referent but use its own value." but not sure this is clear enough. At the end of the subsection "Named References" in zshexpn(1) (expn.yo:1614), there is a description of ${(t)ptr}. How about adding a description of $(!t)ptr} here?=