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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3709 invoked from network); 16 Dec 2022 12:48:54 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Dec 2022 12:48:54 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1671194934; b=YQVjZngEN9xjxUJ6mildPxCRhsZFLptB+UaoBW3XGhOYjywqqstavcpc+HPjjeLj5ZARy8xdfr QmQTMimt2NnWPGmpCIWEVcfaHJAAh9rQYTdN9+UKd5LmgiABf4tRPqBGWFQqQsBV/IcnIZMaWc uykt2KWsV0KPpraZP+y660moECjBGttL/5iWS3B3KN01qDfbYfxEcXspV0h9rLOgFlCQFM3D0d q5GcHtFi9UiQ6XxMPqJUjPc7m0MCZCK/4KZtvRQ1s+9/lBJHwvpX43FtxDHmwBQVSIqOqGWIjs Ibp4JW2dyCxVzh1k4rvEzXtDpPr/PatqubIy6sotShg+zQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (wout1-smtp.messagingengine.com) smtp.remote-ip=64.147.123.24; dkim=pass header.d=daniel.shahaf.name header.s=fm1 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-20210803; t=1671194934; bh=BuaBZjlEZnE5MRmoCqx6DXhXNp/h/ObmC4moIK0mieA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=evMkldFROAgb5eAEwhKT347UBIqxqTBuNpH/wxQIAkJgqFT79lFBYcx6I4oF9nEMs5dwDLOjV4 DlvAeeMOmN9uslm4fQ89cAvja9AHJ24DrToI2nvCoCwPzqRyXJHH3bTcQ/IvkNhRWMI489kMmI tlOAL3VJNVRbMPndCdHFa6/1EEyRGF3yNk+ziiIyt49/2nZYYnwzBPLqWOHXic4sN4DKp5J8EJ HVLmsmQVMxnCJi4envt4uHl+CbfabuLbe11/rkTpJIDnAm0qx+C/iS6kp/Z+CJFhvFDuk09zoH s4tVR6D8PZGnz9oLJ4MjfxOwyyJEA/V38r9yxbuxQSH//A==; 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:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID; bh=kg1q7rF8W6HE6GrhkD+4zyJX2R1jyNeIR3r2L08I/vY=; b=WolY+8YnCBmjUxLhw3uko5Xohp c8H8jGR4gEiMgjTyfByKprP3B/1Dy/Bk3EkPPuNDwCTEl/tcyvSTs04Pp2L/N0qinbwjNNX1/Ddh6 uV6oxtKgd86CR7fW4x/AD/zD19V5/9tHII8K8rdZtw9cc8eMeOt+UL1EMGU722H9+BqhHBqg74/0X nyKwDaV5ujadVT6DCiemrYGDSFGZkgKFfv7w0zuxXv4Oz4OO0p0d1iu3mxb19C8YCY8TTDTPaNiwq KLlKx8A1NcWM0snpYHNXtnsfMsjC6wL0kuq2uFjDJcOdxptoAbsh+x9bVqutK5ykF0W8FFRQ2nftZ 93UO3bbw==; Received: by zero.zsh.org with local id 1p6A8y-0001WW-UH; Fri, 16 Dec 2022 12:48:52 +0000 Authentication-Results: zsh.org; iprev=pass (wout1-smtp.messagingengine.com) smtp.remote-ip=64.147.123.24; dkim=pass header.d=daniel.shahaf.name header.s=fm1 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 wout1-smtp.messagingengine.com ([64.147.123.24]:49849) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1p6A8E-0000pP-A9; Fri, 16 Dec 2022 12:48:07 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 93F143200488; Fri, 16 Dec 2022 07:48:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 16 Dec 2022 07:48:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1671194883; x=1671281283; bh=kg1q7rF8W6 HE6GrhkD+4zyJX2R1jyNeIR3r2L08I/vY=; b=W9lyCfkxh/53tywEAm4yIufOwH U6Ld5rXt+geUOMqTfvcg63Bh2igm+bxVPzNutjCcTzb87QGSHRxFD7+vMI8O6Hlk 8NDzLvIDs1qtIwt3ZaASnEmeQOdK2xPPohBJLxF1z/UPmpnLa/+I9ZT1ql3nwY/h +X2uQuFrgMJ2nDo6ykUETqxWcYlDZjAW6XSo+UEFa7zZiep8V+ILDChoErvVmNpm aqG2GTXnG+/7Sr+egRFmjy4bpB9nPDGi66b8DeWfb1l24dXejD6ABxWxe5yHQYa3 0KATx1M8KJUqzAbEMtIq6FbIRKHnsLbTLYUyWy1QsXRKVVJhPpskrEfksECw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1671194883; x= 1671281283; bh=kg1q7rF8W6HE6GrhkD+4zyJX2R1jyNeIR3r2L08I/vY=; b=H fPXzOzXtjiz/9Luo94ZrgcnlpskUZkEwLsJzhXHfhDlYEsZLDP/Ia3HX5rsmSXOx rNo5Zy5LI811CPR/O1uKB7U8/yhRugL9tIAVHWz2D4ysxIv6LcAReObLJqhWo/Ck 0Ec44j+okfw6SkRpxfqlUJUPPu7S25+Y36G/5FiCEKCzs/GE5eEQPMyihbt9MNfA FfkvpbNDpG7Ssb3uVxX/AbFIBtfknRjFPkuhxA82GLXobkI8SjAtdTJpfITBeuIG PFb+XqRmJDxe7JpUIO0TZ0pqvmKef/d7mgqtpCSkNU2OgSrQPWJvOF7lJFmQ4gEB EcrsN9aqKeJDcUM1tmkfg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejgdegfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtugfgjggfsehtkedttddtreejnecuhfhrohhmpeffrghn ihgvlhcuufhhrghhrghfuceougdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpeehtdefudelteejueefjeelgedvtedvtdehhfffjefggfeu heetheduueekuefhheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvg X-ME-Proxy: Feedback-ID: i425e4195:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 16 Dec 2022 07:48:02 -0500 (EST) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1000) id 4NYTR339kbz4f8; Fri, 16 Dec 2022 12:47:59 +0000 (UTC) Date: Fri, 16 Dec 2022 12:47:59 +0000 From: Daniel Shahaf To: zsh-users@zsh.org Cc: Xiao Ling XL Chen Subject: Re: Are there zsh error message explanation Message-ID: <20221216124759.GD8411@tarpaulin.shahaf.local2> References: <2182a97d-fe76-9f37-7f99-1f3b3564795a@eastlink.ca> <20221215211825.GA8411@tarpaulin.shahaf.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 28555 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: Bart Schaefer wrote on Thu, Dec 15, 2022 at 19:28:15 -0800: > On Thu, Dec 15, 2022 at 1:18 PM Daniel Shahaf wrote: > > > > To answer your question, that particular error message means the > > CSH_NULL_GLOB option has fired. The message could be improved, yes. > > We've had this discussion before and decided to stay with the error > messages that all shells with similar features have in common, even if > they may be terse. Pointer to the previous discussion, please? I grepped and haven't found anything, and from your (terseā€¦) summary I don't understand why we prefer compatibility with other shells over user-friendliness, especially considering that: - "Optimize for the common case." Most people who will see an error message are not newly converted from other shells. For instance, changing zsh's error message to "bad command or file name" wouldn't make things perceptibly easier for cmd.exe convertees. - It's not an either/or case. If the current error message says "foo" then we can change it to say "foo: some elaboration about foo". The leading "foo" part would still be there. - The error message is unclear and should be improved. Compatibility doesn't mean we can't ever change the error message; it just limits what changes we will consider. Cheers, Daniel