From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robin Tarsiger Newsgroups: gmane.emacs.devel Subject: Re: cl-block less lexical than expected Date: Thu, 30 Dec 2021 12:15:35 -0600 Message-ID: <7c8365b7-f543-d4bd-9312-16156a98f430@dasyatidae.com> References: <78900c46-4c9a-b690-95d3-a02f27be9e59@dasyatidae.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34441"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 30 19:17:13 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2zzD-0008hU-Id for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 19:17:13 +0100 Original-Received: from localhost ([::1]:39384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2zzB-00060G-K5 for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 13:17:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2zxk-0005CW-9S for emacs-devel@gnu.org; Thu, 30 Dec 2021 13:15:40 -0500 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2zxi-0003hc-Jy for emacs-devel@gnu.org; Thu, 30 Dec 2021 13:15:39 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 5511032019BD for ; Thu, 30 Dec 2021 13:15:37 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 30 Dec 2021 13:15:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dasyatidae.com; h=message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=M rKKwdTuxh16OfdYwzvXSgpwQG6afosUBd9Q9dHwmF8=; b=MEpJcpBJbC34xJD2T WZhopOFGZelu0hoBNzVzA90DAOBeg959ubVfz8zv3e7wAaCkcAqfVWhEei3hlYYT MVXLCLk2wsfbBtgs8ck2nVlVIgpSKwUo7ebpO88thIlyjG3/JOKDj6KrThOivxbv XUn3UeriPBZBfKtsWKuwy/4tgfMMFZJYxJM0SgznkWWmDikj2LqH8XcUlA+dRj7S letQfKXCyGnEBuJ+ZvQiqp5ZfgxwuIKcEtccfe+ky+mC71GFMDSfO5S7NdLjNMrb ELHYN9gACVrDXMxFq1e3+tUvwYYRlwjv51U75bBCwvx45u08EoW73BewQYmLCt69 RmlMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=fm1; bh=MrKKwdTuxh16OfdYwzvXSgpwQG6afosUBd9Q9dHwm F8=; b=YCtrBX5ecI+eh3OkklY9zuaKka2aE2ct7ZVabfF3iAkrPcNlqDMuYQdCP boZH2v5n6pFTwqCLgwKPofmV0JkoM6JIyO0FUT/j1IMmP87OGKnEYsTxcLslZGfM a8EPUNzpeMQhXJlYVYG8U/y7+8iUAGQ0LhU3em4EG10B+84pyRpJADpEydP+4JOt 5PgYi52lCCc2NvYngrPzkabGeChKEiYTCUcTkt5bT5MstQnKrgQ+ZzAimBwGHn9z PAuxDSbSr79wyLIBO/r4L8cYsoujSWh0aQHPpEDoSAaAL/RsC9zsfZCv0PDnbci/ KhNgV1TgDu0QRWDUP/A1k+wR9/CtA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvfedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesth ejredttdefjeenucfhrhhomheptfhosghinhcuvfgrrhhsihhgvghruceorhhtthesuggr shihrghtihgurggvrdgtohhmqeenucggtffrrghtthgvrhhnpeegfeegjeetteefhfduhe dvheevheehudejgeeugfeuleeuuddvkeevleegueegudenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrthhtsegurghshigrthhiuggrvgdrtg homh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 30 Dec 2021 13:15:36 -0500 (EST) Content-Language: en-US-large In-Reply-To: <78900c46-4c9a-b690-95d3-a02f27be9e59@dasyatidae.com> Received-SPF: pass client-ip=64.147.123.19; envelope-from=rtt@dasyatidae.com; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-3.024, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283674 Archived-At: Robin Tarsiger wrote: > cl-return-from could then try to evaluate the variable > to get the tag; the warnings/errors for bad tags would be awkward > to read, but at least the semantics would be correct. Slight correction---they would be correct _provided that_ lexical-binding were in use for the let. However, I gather having it on almost all the time is becoming the norm (and maybe the macros could warn if it's off). -RTT