From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 20933 invoked from network); 12 Apr 2020 01:33:21 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 12 Apr 2020 01:33:21 -0000 Received: (qmail 2097 invoked by alias); 12 Apr 2020 01:33:15 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45678 Received: (qmail 24946 invoked by uid 1010); 12 Apr 2020 01:33:15 -0000 X-Qmail-Scanner-Diagnostics: from wout5-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25772. spamassassin: 3.4.4. Clear:RC:0(64.147.123.21):SA:0(-2.6/5.0):. Processed in 0.69492 secs); 12 Apr 2020 01:33:15 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvdehgdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfgjfhfogggtgfesthejtd dtredtvdenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcuoegurdhssegurghnihgv lhdrshhhrghhrghfrdhnrghmvgeqnecukfhppeejledrudejjedruddugedrudegleenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvg X-ME-Proxy: Date: Sun, 12 Apr 2020 01:32:37 +0000 From: Daniel Shahaf To: dg1727 Cc: "zsh-workers@zsh.org" Subject: Re: Patch: Doc: clarify effect of KSH_ARRAYS on subscript (I) Message-ID: <20200412013237.46fd081a@tarpaulin.shahaf.local2> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit dg1727 wrote on Tue, 07 Apr 2020 23:20 +0000: > Hello, > > Following is a Git diff of a proposed update to the documentation. > > In future, if I have a small item like this to suggest, I intend to try to combine it with other small items so as not to make too much mailing-list traffic. (I make no promises about this.) > > This first minor update is just to try out the process. > > > Doc: clarify effect of KSH_ARRAYS on subscript (I) > > diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo > index 8daf33d5e..8682ec448 100644 > --- a/Doc/Zsh/params.yo > +++ b/Doc/Zsh/params.yo > @@ -397,7 +397,9 @@ associative array. > item(tt(I))( > Like `tt(i)', but gives the index of the last match, or all possible > matching keys in an associative array. On failure substitutes 0, or > -the empty string for an associative array. This flag is best when > +the empty string for an associative array. If option tt(KSH_ARRAYS) is in > +effect and no match is found, the result is indistinguishable from the case > +when the first element of the array matches. This flag is best when > testing for values or keys that do not exist. > ) > item(tt(k))( > > > Many thanks. Thanks for the patch! I've applied it with minor changes. (I've been AFK all week or I'd have done so sooner) Cheers, Daniel