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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25087 invoked from network); 29 Apr 2021 14:20:24 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Apr 2021 14:20:24 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1619706024; b=aCEcvyi98OU8qVMrf4W92LU8k2Fed8axjteCG3efR7sjnF5or8VL8Gs5whgz1kj//6uiiMvbq7 9IPA62hcW4WXsyr3wGuWwZkJln2ZCR5/IXt8RDx7291x3kmiPgUxQjEqUUOKLAmrcZG8gaycLA zr6Q5Tl7zXoq7jI9byByfXSa79ts69CsXgFhv6Xa/6Hw054EGBSi8lLuJ5desNbv7nl2CGtfZk BWCTiXFXYJIElwA7lS7nJaswhEAHzSCk4X6yfcZyIaNzpov7zTc8vzL8qCItbEZFL8Uk63uMBt VaFOCpff2fE6OYR1JUiwF6AqDxkFIBZ/8R639j3SgYdTfg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out1-smtp.messagingengine.com) smtp.remote-ip=66.111.4.25; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1619706024; bh=XkDOIJc6BTpxFvM7UNSuFoiMYNTzPocZsjipTDySP9Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature:DKIM-Signature:DKIM-Signature; b=hnMj3JO3w5V5uuMtK4joXsaUSdSTHpyS2vzKk1G65UZX6nchqY6zsHA2VaDOmjJ0NqynrNd32r uThaxqK1xiig3NbDxL3vgmQQIxhWn7I/HNHXE4GumSAfqVbk2PQWLOn1BACjoAgjMVwyBnnoVh kUW68e25v0Nyu89Ey2ZNxeD19nT+/aXqg3nTIBGaHVCnwRFTxdqni+tXvAmX+7pcXwkzoEMf5X Iil8ncMemGQqi0FPhwpIJI8yJ9PkpjHuvylw74KYGvwpA1N7V1DaLFw1ynfyair5JTJfs1/8LO 4itLFjG1564v5OJ62oMZRpq5CUr9O6++ec/h22II8Qi+Cg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=NIFxCetIdq6/vkLhg93QEif/kMlnJ+bjm1hywS3iwJE=; b=Pr8tRbsf78QmhPKHWtthxE6Fwu ChPSC1NscrKNSsDVVkiXB9DcplCfykIKq0eYEwEqts+MRDMuM8f/MCG/L4ERPg9yTHXL7v1n/84Gc o9hN3Sn9N+PxrwmXUEulfVqi/FNrQk/XQ4yZM/t7VKYnfvVHJcoJKFNsI7xShCfZwz6KCWtRVKTOC T9FSuGnzXFPvIMfp5J65ZdrXw3DKJ+YrncITeR4pxZ1bt851wvIG5KwELCYCJbodfmhY4ptCc37Kz 9rcfalEWam3pi7RdQfpYQLdT73ka3ImCJleNueTQGCbXmZkTJomCpRegaZxpJ8pdqZ4L2BNEBDuRe 4DqQTzfg==; Received: from authenticated user by zero.zsh.org with local id 1lc7Wh-0008sa-Qg; Thu, 29 Apr 2021 14:20:23 +0000 Authentication-Results: zsh.org; iprev=pass (out1-smtp.messagingengine.com) smtp.remote-ip=66.111.4.25; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46797) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lc7WR-0008d6-EV; Thu, 29 Apr 2021 14:20:08 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A498E5C0131; Thu, 29 Apr 2021 10:20:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 29 Apr 2021 10:20:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=fm3; bh=NIF xCetIdq6/vkLhg93QEif/kMlnJ+bjm1hywS3iwJE=; b=J4BqaK75xG4bsN/uW+g 4/3ViP4DytGQli0HOxKZYcXquRoPfncz9LJBMLXvNXOFp0hjrSGUw+JgHfZqbtcJ h1jWiQuCRayeOw7UAJPapZ2Tm75M31PZ8NXX66ecNa+/82BobgOFikwXqeClqGEz a/Ni0aQ2BQY2erD0KKWfyKilY5DJnnLqPMEhItAgxU7Xs1BGKZkzfbrx6zKAWNM4 trOAsd67Xf/39Zny3mm22SMaQ82mzo8MdjaOdBkaZKnIlei07xCAEcxzwm82Afwe 9WG8eQu+IqYwt5vE4/mLl5MIXAipqKhqeZNSW4lc4ud4T998Yos3nd06clrHOXK/ Agg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=NIFxCe tIdq6/vkLhg93QEif/kMlnJ+bjm1hywS3iwJE=; b=QLwOYjvM/aKMc0tsbZpCRQ Ky9ILiRVMAxhy65rUIPWTDxUxUaukQIjwmF+eigT1bGh2QIyCFRK+tn8kUyGVXak xh+dg6AOQc3LHPZW67YvRlO7v8HWvxrx7vGnHpmxDjaglCFAkb3mCFsFLdMS6V/5 4/hb2pnsFtYRZF4mDfSWESjQYE6Bu6dketnuHjoWsFnW8UJxzm9a95k0/+Fosi35 CEzr44iZu/3qUopZ2N/kRnVXW2h0w/lwHogmlo+qKOrTSnV85sXpQRSoZU5CaPG0 5R6BjIfpxyEUeLJwk7Iq7vMM9H7oim684xKrm1UXz1Fky1FuneQ9NHaqI4PIDOUQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvgedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesthdttddttdervdenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepueevkeefffeufeehfefhgefffedviedthedtgeeljeelvdei hfevjeefteegvdeknecukfhppedutdelrdeiiedrieefrddvfedtnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhs hhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-109-66-63-230.red.bezeqint.net [109.66.63.230]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Apr 2021 10:20:05 -0400 (EDT) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1005) id 4FWHhL3wtgz28V; Thu, 29 Apr 2021 14:20:02 +0000 (UTC) Date: Thu, 29 Apr 2021 14:20:02 +0000 From: Daniel Shahaf To: Bart Schaefer Cc: zsh-workers@zsh.org, zeurkous@volny.cz Subject: Re: revised patch: zshmisc(1) clarify non-successful exit statuses Message-ID: <20210429142002.GI28063@tarpaulin.shahaf.local2> References: <20210411141520.4ABA89D5@volny.cz> <20210413155236.GR6819@tarpaulin.shahaf.local2> <20210413200341.D91B3837@volny.cz> <20210414110355.GA31655@tarpaulin.shahaf.local2> <20210414134033.1AB3540B@volny.cz> <20210423141844.D01FC4C9@volny.cz> <20210426182512.E2A9C11C@volny.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210426182512.E2A9C11C@volny.cz> User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 48740 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: zeurkous@volny.cz wrote on Mon, Apr 26, 2021 at 18:25:12 +0200: > Making another revision. A question (well, two) below. > > "Bart Schaefer" wrote: > > On Fri, Apr 23, 2021 at 5:19 AM wrote: > > > >> +If execution fails: an error message is printed, and one of the > >> +following values is returned. > > > > I would move this along with the sitem list to the very end, to follow > > the paragraph about the command_not_found handler. > > > > Then change "If execution fails:" to "When there is no handler and > > execution fails,". > > Presuming that most people won't bother to install such a handler: isn't > it better to put the more-used information first? > Sounds good to me: describe the common/default case first and layer on exceptions second. Bart, WDYT? > Besides, isn't the handler an additional feature like AUTO_CD, that > modifies the earlier-stated behaviour...?