From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#69470: bug in cl-return-from Date: Thu, 29 Feb 2024 11:59:08 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29545"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69470@debbugs.gnu.org To: Robert Boyer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 29 17:59:58 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rfjlG-0007Rx-4p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Feb 2024 17:59:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfjkv-0006Cy-FV; Thu, 29 Feb 2024 11:59:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfjkt-0006Cc-FX for bug-gnu-emacs@gnu.org; Thu, 29 Feb 2024 11:59:35 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rfjkt-0007xa-7Q for bug-gnu-emacs@gnu.org; Thu, 29 Feb 2024 11:59:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfjlJ-0001mE-W7 for bug-gnu-emacs@gnu.org; Thu, 29 Feb 2024 12:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Feb 2024 17:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69470 X-GNU-PR-Package: emacs Original-Received: via spool by 69470-submit@debbugs.gnu.org id=B69470.17092259966789 (code B ref 69470); Thu, 29 Feb 2024 17:00:01 +0000 Original-Received: (at 69470) by debbugs.gnu.org; 29 Feb 2024 16:59:56 +0000 Original-Received: from localhost ([127.0.0.1]:35248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfjlD-0001lQ-SI for submit@debbugs.gnu.org; Thu, 29 Feb 2024 11:59:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfjl8-0001l9-BG for 69470@debbugs.gnu.org; Thu, 29 Feb 2024 11:59:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfjkb-0007uG-GD; Thu, 29 Feb 2024 11:59:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=g/lYricPpyyZb8c3QLm7OAFfZoT86lue1My8zS9e2Xk=; b=EneX8GeudAjsDSKDQ9JA RRbH6nqIxbdBJ/skXueb5ujWs5089TiX5jJttfvG+xNQ8ljXJeay+ON8CtSIXFdlPkEKvRNQNOQz1 EE1A20rngK13kos2K4OX96dURvXUntpP7NuhLimOkuNCyMep3RpqaiB+mnxQILtUjs/7JnJyrQLoH RW8aEQFj4YnIAo/HB66BFiPKe2MzlBXjVw057chTD1JfFPXU9fbMFSuoQZdSZ3k3YA9DMj7mdnbcm lYM4Wb39shMHj6+ejwjUxZvoQHC8bHcku9Ubiy3Pf7Bm/JCI5DyH/YeP+qP66B0cGo91iN72cYv8B m68LO59QSi1Axw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rfjkS-0002JT-FS; Thu, 29 Feb 2024 11:59:13 -0500 In-Reply-To: (Robert Boyer's message of "Thu, 29 Feb 2024 08:13:50 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280794 Archived-At: Robert Boyer writes: > It is almost certainly a bug in the definition of cl-return-from that the following > does not work. I have no idea whether it is possible to fix. Could be really hard > or undesirable to fix. I know nothing. > > Emacs is great beyond words. > > Thanks so much, > > Bob > > (defun foo () (cl-return-from foo 3)) > (foo) > > I strongly believe that in Common Lisp, every (defun foo ...) wraps > a block named foo around the ... Hi Bob, unfortunately or not, this is elisp not CL :) If you want to do that the following works: (cl-defun foo () (cl-return-from foo 3)) (foo) => 3 Best Regards Andrea