Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Reorder the documentation of typeset flags
- X-seq: zsh-workers 55143
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] Reorder the documentation of typeset flags
- Date: Wed, 9 Sep 2026 18:26:49 -0700
- 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-20260327; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8EDI+yeMq93jfAMZKjTypa0zczczXbaKcBPeYpha/+E=; fh=BgAYDYpL6Ne/A5nWEMVJiHiBtrz8Imz3uf26RDwgQX4=; b=ZrnV9a/xEtQ0y91tvAoFKA3LS5sQ+InQsJ9Xd+zH1Rj919PPLsBawkoueeZOtXgLi3 0VhJV6pCf4oZgH3k2k06aYHkGxGcXIls7snnV0KIaJw2i9hlbsZjsUCF2M8FvIt646id 0N2A6ifROfIEjaOiT5iAtyIkaYArcXjwuoUeQIq2tM2JV+JMCyavA0fCxPbJczFp3L3w rIq7jqotdG81NEjA28+VBgJKEyRRNPd5TdYHt1phrG85Z9jogAtvr2tYGWiIriG5HcSa gsBN++04Xel99pFvkNMqDH3kHwlQhv4iSopL0lyNlDImt6OZ6WswvJRbpz25LXDaIlrF /G+Q==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1789003620; cv=none; d=google.com; s=arc-20260327; b=QQ/MJ/L1RGaGBOZdtllNVrSHrcSbPVeU/cVYBD0QHwos0kWVaz/0XPFJ3i+UHwXmYO bvAtet1+1n241SaCHFsRHmWBRSbyiP7W6FNM39eObMwIyh/8ZWD8evDPiF2G+tQLMGZF ylv3d+ncpjw2wa7VuBc5rTnT0A3WutwW8dTwQeCPUHb7ux+cxsWgRxfKZtXekn606i5n 77NNZilePv12bi/jCP3d7XAl38swqYNBx8R+9OFT0vGGvZrjq1Q7vdtnnA7WNt97YJTO 2nvXi07Vca+z16a2y7/WOR5NmHtjWEr9GWB331D2HMbIw3grVPTBTSYy9VdMSBZPl2AV PC7w==
- Archived-at: <https://zsh.org/workers/55143>
- In-reply-to: <CAGdYchv5zvsN5czjP8K4VQuq3vcB8N_rYzquE6h6Ywdnn3x_9Q@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAGdYchtE8vmWse3Uet28dtePTsMN5KojohFOeJi1GpgYw8YKFQ@mail.gmail.com> <CAGdYchv5zvsN5czjP8K4VQuq3vcB8N_rYzquE6h6Ywdnn3x_9Q@mail.gmail.com>
Sorry for the delay answering this, I have been traveling.
I reverted this to plain text mode because something about the HTML
format was preventing certain bits from being deleted. (It's been
usual practice on zsh-workers to use plain text.)
On Tue, Aug 25, 2026 at 2:59 PM Philippe Altherr
<philippe.altherr@xxxxxxxxx> wrote:
>
> Below is an updated version, see the second commit on GitHib to view the additional changes.
>
> Any reason why we don't allow -t for named references? I don't see any incompatibility.
There's no incompatibility now. It used to conflict with the use of
tags for loop detection.
On the other hand tagging itself is a strange and little-used feature.
> I have added a sentence at the beginning to explain that -n, -T, and -f change the set of valid additional flags and their meaning.
Great. A couple of nits:
1) When writing a code example (i.e. more than a single word) inside
tt(), the convention is to also place scare quotes around the outside,
e.g., `tt(typeset -f)'
2) Use of two clauses beginning with "but" in this sentence is awkward:
+The var(name) so created may not be an array element nor use
+a subscript, but the var(value) assigned may be any valid parameter
+name, but not a subscripted array (or associative array) element nor
+an array slice.
Perhaps
a subscript, but the var(value) assigned may be any valid parameter
name with the exception of subscripted array (or associative array)
elements and array slices.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author