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,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30922 invoked from network); 10 Dec 2022 13:59:21 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Dec 2022 13:59:21 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1670680761; b=ka+OKxf2SgiVsmJMrh7PiqiCTh2ULCXAvO5w5fDJi0enso0Ffhra5HLn/UdEvNyFrBomHZaBqV IkwEZLCWl5uKO8gsl7cJh4h78NDDpEuThgjCyIh33/eDLTmVIEVkW5iSPrL32LgHrO4U4GKmsK Ro/RKloRRYYKrmTiC1B3wNmTBN1lkmgjNTkcHt0Lm0ow+IpNcwEUT4xYypZinzqx1144nvyH83 UKyHrTIOob5Rpb3vv5EhzA0I1SmWOr3yShHsut70Wg8+yPzCNwog83dzP5zFsL0hAdGR/sIy47 zXGWjwOiwt4E7cUInqiffGzgVElflyJDM9exvB/knUmOow==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-vk1-f170.google.com) smtp.remote-ip=209.85.221.170; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1670680761; bh=WKP6w28t52PSvMAS/Ohelnnx0+nq9ZjsffqG059TZ+U=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=Y9c49u8g5C28jOgIXKwiXlRQxl38v1Uyyc7WgEpczygiwtOBf7aZ151VhH4Uj7t4JCHVAgirIx Pk6K86iN+y6eRottTucc55RkwYefk4iYfEAhZ78qlPBRdyzvoZXGIcKeUNjqNg/46QQDG43XHP U1e1gclZYDcbmZsbkQllip2Kfy79kmg3WIe0ZVS8t8CAA5cDttCTLIlD3DcOqj3v460t9xZvFm J02dxZUvkebCSx+mzy7Oa95MQKQwCJ3vLkg7jvf2tq/KLG9Pp3ndF7MLK696aIy/fID3qW6MHf 86EmPKWYOZ5BM7S68I2tiqJqbbT7ZiUBVOiNnKz26NEvpg==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=WKP6w28t52PSvMAS/Ohelnnx0+nq9ZjsffqG059TZ+U=; b=PGEup6QsfKprG9keCy50joqCgr 2Qgt6FB8YlT7OPTrpcp5nFBAwk887OxtYil9BAFLxErd8Yr2Va+JyFct8iCYNCMCezz1ZzrXDpoRo tBC4PEk85NRsmcJZk7n942ITLXoQlR6KtPVA4YJExAzbppK+6IxoBsfcM62wW8ss9usF9NPZp/IBd UDuXhCbxeiM1cPAyRLgQV4gyk0Bj9BFXfxLj840o8U0bEUbxgz9Xo1arsg+xMY5J9mrm65gIbYR5c fCCZOwEFMYsH1lXGPmH/kFk155qXns3+nxDPgWvQZIVsk9a40GgPI+OeWDEBX9hsaia9cncE+IRkb 4IH6lnPg==; Received: by zero.zsh.org with local id 1p40Nr-0003wr-VY; Sat, 10 Dec 2022 13:59:20 +0000 Authentication-Results: zsh.org; iprev=pass (mail-vk1-f170.google.com) smtp.remote-ip=209.85.221.170; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-vk1-f170.google.com ([209.85.221.170]:40467) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1p40NI-0003eg-Da; Sat, 10 Dec 2022 13:58:45 +0000 Received: by mail-vk1-f170.google.com with SMTP id o5so3459440vkn.7 for ; Sat, 10 Dec 2022 05:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WKP6w28t52PSvMAS/Ohelnnx0+nq9ZjsffqG059TZ+U=; b=m+v0LxIrlxn+J1P2+ey4pXFU+KuU8PYVOxO/CjKGVUTUDqKDTTOn1TAyU6g3OOhCc+ vAoH0RobNYx9F2bjbs5gOSlXx0opFKanQ6BoUl/swwhe+ceAvcjnDx8OX+W9E/ziI1yA WAR847tISqgmK6Uiih0QF507WiBEfcteaxW1ul4mWP8/S8bsiT2CIyzhH50bhTu0YMCx 5ozR6hTYS7aEkN/lhSk5Ebhmy0bIvQXmWfJSrrbPTHt6pF39rkJlUUSLN7+R0IFH6j0N S9NVsX2RsEV4LaWB18WtvQp4gLk80thTeYES1XXAuiMiPMLA+yl/DFFchvptYdVfnwD3 TK3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WKP6w28t52PSvMAS/Ohelnnx0+nq9ZjsffqG059TZ+U=; b=T8XuqanNzSqsuRP/XWTbZowjAdpuzt6p2NgWdVEhjXi07FQAy8T6b8AP3hifkTVdYm /M0yYE0V/fxOhcTBEb+F/5q8U8vrf7YY1Uy5xSlxqf5/NWFCickRJZtZ8/hLQPcWT3TU 67yLEqDFDR7+JQnWxHvn4wM5xlOXrY3BzexAho9wl2bWU8eTfnlWBAsaMxFcQSyFnhVs NSYta2SpPUORHoNRFMQLAvIXNnaWRl1Ehoot10jF8Uv5Ti6Ytj8aSpdiO8mFYShVuFTX LOQexwltNipVeAQvbzeLxUgW+jGMt0V19ekfRLCF3ugBdlOBaoLq+eVid0F/IuSS65JU 9w6g== X-Gm-Message-State: ANoB5pkcY5mAfBb02ziRjEx2qqJayVNPFelnxKxtidb1FsvdX3dihdZV l0cvfQ2p1FSc1OU9FwGNZerbDhp07Qmv8zUhw/6/MbVqeUE= X-Google-Smtp-Source: AA0mqf7QS0oeRUW013wkcC8TvdKNKMvG5AvVR0uQ3twXUKvgS8oFVOtqZZidPKPXlCJtz8q5z9pZv/URK7j7GT8vqOs= X-Received: by 2002:a05:6102:3e1c:b0:3af:2ddf:32a1 with SMTP id j28-20020a0561023e1c00b003af2ddf32a1mr47287622vsv.81.1670680207807; Sat, 10 Dec 2022 05:50:07 -0800 (PST) MIME-Version: 1.0 References: <46fcb939-0ed9-4b51-959d-67339181e3e3@app.fastmail.com> <20221210113214.GV27622@tarpaulin.shahaf.local2> In-Reply-To: <20221210113214.GV27622@tarpaulin.shahaf.local2> From: Philippe Altherr Date: Sat, 10 Dec 2022 14:49:56 +0100 Message-ID: Subject: Re: [PATCH] NEWS item about the ERR_EXIT fixes To: Daniel Shahaf Cc: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary="00000000000051d84e05ef798c2b" X-Seq: 51174 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: --00000000000051d84e05ef798c2b Content-Type: text/plain; charset="UTF-8" Just a quick reply. I will prepare an updated patch that includes a short description in NEWS (mainly an updated version of Lawrence's proposal) and a longer one with examples in README. Once it's ready (probably only tomorrow), I will check again here whether there are still questions not yet answered by the updated patch. Afaik, Zsh intends to be compatible with the POSIX "set -e" specification . If that is indeed the case, then all the patches can be seen as bug fixes. So no Zsh doc changes are required (or at least not because of these patches). The patches also only affect corner cases, which are quite a bit more complicated than Daniel's examples. None of Daniel's examples are affected; they all keep behaving the same way. Philippe --00000000000051d84e05ef798c2b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just a quick reply. I will prepare an upd= ated patch that includes a short description in NEWS (mainly an updated ver= sion of=C2=A0Lawrence's proposal) and a longer one with examples in REA= DME. Once it's ready (probably only tomorrow), I will check again here = whether there are still questions not yet=C2=A0answered by the updated patc= h.

Afaik, Zsh intends to be compatible with the=C2=A0POSIX "set -e" specification. If that is indeed t= he case, then all the patches can be seen as bug fixes. So no Zsh doc chang= es are=C2=A0required (or at least not because of these patches). The patche= s also only affect corner cases, which are quite a bit more complicated tha= n=C2=A0Daniel's examples. None of Daniel's examples are affected; t= hey all keep behaving the same way.

Philippe
=

--00000000000051d84e05ef798c2b--