Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Named reference (and other) pending work
- X-seq: zsh-workers 54456
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Philippe Altherr <philippe.altherr@xxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Named reference (and other) pending work
- Date: Sun, 3 May 2026 03:04:02 +0200
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=m8d0XLK6eho+XmGNB11Je4vvsDcWRimSTt6nQ5tfD58=; fh=3Hu2K+TbhCZzzJlpvU4ulCGZi7KuO0QPWb6J1ibzsgk=; b=gvcXpAEIt7d1UWfLFLgSoCFTiKL7lx5TE1K6A0bRpTmG3fr+RUsJKHNHGHKRxIKF93 mfL7rkxuFGT3oiviw6JVA9kOA+JpljRx0doqSOPWaWFve63unJ72OPBpHJUyv4BgPfVZ i3BS3hqCBWisMFnAcBpRFTeqoMdlK256rC8RZmdnPV94ZVE9+wt+tdXEiaUpWYxigTnY CBAtMv79cJ6eTv8e7qAgHP7dWpH5y4YneWrzmunbJXhOsNeJ+m0gW1ky58nd9yfA/4Hv LdC0NR470gCctieimLuBkrMrzA/bzobeIQDTh0HuRiufUQakU4Mk8SKYg2BSinhcite1 G5Dg==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1777770255; cv=none; d=google.com; s=arc-20240605; b=eEIebmxUB1+Ed6xXh9y9UtrBeKMZz3Tv0SWhvvESQuuv9TXQV0QSrwICpldt3rehEO MUjE/NEH3N/0bUzcPTUS8lDVOtFHUUIiS1YjboIgrOzqjljucYvhsqf2gArV1enj0gSX BU+gE2xtjS3JaTldPm9q5QD+jOpG2W11QBbe/gwV9xhW+BnrE3H+Iyuk2dEjIm4xtCtv iu/mLqlKAAn2YgaXxrJLvd8qaXUbbTCMbB9STOonvLugHDW6SzuXCN2xwP05VCRnwMCw 2UG794qNsgBisGEEpG7FyDAb6MzMg2Gz8wKsGroFB9Ag/xNPf0R2RvwTL4YAcXN6v8Bj 0lkQ==
- Archived-at: <https://zsh.org/workers/54456>
- In-reply-to: <CAH+w=7Zin9TNo6T-K90G1Y2ANFgB5TH=7Xn23gOpsmqchiO02w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAGdYchs+naf4xm2RcK_vfsMPCuiYPqf-050-Z6z-Ch095Y+hGw@mail.gmail.com> <CAH+w=7Zin9TNo6T-K90G1Y2ANFgB5TH=7Xn23gOpsmqchiO02w@mail.gmail.com>
On Sun, May 3, 2026 at 12:31 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Thanks for the summary.
>
> On Sat, May 2, 2026 at 2:13 PM Philippe Altherr
> <philippe.altherr@xxxxxxxxx> wrote:
> >
> > Review of typeset implementation
> >
> > A few months ago, I started an exhaustive review of the implementation of typeset and found many issues, which lead to many side tracks. Some of them have been resolved and a few others are among the patches listed above. However, I know for sure that there are still issues with typeset. In particular with -p and -m when applied to named references.
>
> -m is not supposed to work at all with named references.
>
> > Turn placeholder dereferencing into an error
> >
> > In ksh, any attempt to dereference a placeholder reference triggers an error. Zsh should do the same.
>
> I disagree (except in ksh emulation mode). There are other parameter
> cases where ksh has errors but zsh has traditionally yielded empty
> string.
This sounds a little bit like NO_UNSET?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author