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, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7195 invoked from network); 12 Aug 2022 20:43:53 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Aug 2022 20:43:53 -0000 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:Subject:Cc:To:From:Date: References:In-Reply-To:Message-Id: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=pAymShiylDmUWaQQvBW+jtAI919ATym6hY5oyLivGQ4=; b=iabi2zoonRSSIVHdelpLDQSstk AzZidVbp+a9Z1aKYfFwrZV6AGq04uWKhn+BB1NsiqZMfVsvaHti3CArssmAmUB3M5soCStiegfgrY xQVNxKgtI1ZL8o+Mvdcs+XC7ZOjV9jS1co/UfoT+/f4qxrFW4POv6IntdPoAlNhXUD4myOEMjBRAo OeFA6PzY5ieQkXlEe7D+RXAsOtdbDY3tNflTyayfAn7ubHQWJg4j9dHEo+Tagh4WgJJxc/nl1hxdO vtmkZ44gC9hs7MrPx4bN7M9mm4cxestBg/blvBhkuPHRJ3gSuIANNuQLZN7IvrHsYdcZCwy+RggjC VKuLqIGg==; Received: from authenticated user by zero.zsh.org with local id 1oMbVZ-000Nsg-SL; Fri, 12 Aug 2022 20:43:53 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oMbOa-000N0z-TF; Fri, 12 Aug 2022 20:36:41 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id F221227C0054; Fri, 12 Aug 2022 16:36:38 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Fri, 12 Aug 2022 16:36:38 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdegiedgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreerjeenucfhrhhomhepnfgr fihrvghntggvpgggvghljoiiqhhuvgiiuceolhgrrhhrhihvseiishhhrdhorhhgqeenuc ggtffrrghtthgvrhhnpeehfffhueejheeugffgfeeuudffledvleegffeuhedvveekueeg iedugfelueefteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehlrghrrhihvhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddu hedukeejjedtgedqudduledvjeefkeehqdhlrghrrhihvheppeiishhhrdhorhhgsehfrg hsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B0D9A31A0062; Fri, 12 Aug 2022 16:36:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: <74e7aa4a-fbb0-4f90-abeb-ec5ae4adbb13@www.fastmail.com> In-Reply-To: References: <64b57144-d4af-4708-983b-0bd202557bbd@www.fastmail.com> <4369c556-7ccb-4866-8e69-9d829afc81c3@www.fastmail.com> Date: Fri, 12 Aug 2022 16:35:44 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Zach Riggle" Cc: "Stephane Chazelas" , "Daniel Shahaf" , =?UTF-8?Q?=C4=90o=C3=A0n_Tr=E1=BA=A7n_C=C3=B4ng_Danh?= , zsh-users@zsh.org Subject: Re: Overriding "builtin" Content-Type: text/plain X-Seq: 27950 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: On Fri, Aug 12, 2022, at 3:33 PM, Zach Riggle wrote: > Wouldn't the above also break for this? > > function unhash() { ... } Yes. I did not mean to imply that my suggestion was bulletproof, only to opine that seeking such a method is a fool's errand. You can take reasonable precautions, but at some point you are tilting at windmills. > It would be nice if we could add a feature such that the "builtin" > identifier cannot be overloaded. I think this is a solution in search of a problem. -- vq