GNU bug report logs - #74870
cl-labels and cl-flet don't create named blocks

Previous Next

Package: emacs;

Reported by: Jan Jouleodov <jouleodov <at> protonmail.com>

Date: Sat, 14 Dec 2024 16:28:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jan Jouleodov <jouleodov <at> protonmail.com>
Subject: bug#74870: closed (Re: bug#74870: cl-labels and cl-flet don't
 create named blocks)
Date: Thu, 02 Jan 2025 01:33:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#74870: cl-labels and cl-flet don't create named blocks

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 74870 <at> debbugs.gnu.org.

-- 
74870: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74870
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 74870-done <at> debbugs.gnu.org,
 Jan Jouleodov <jouleodov <at> protonmail.com>
Subject: Re: bug#74870: cl-labels and cl-flet don't create named blocks
Date: Wed, 1 Jan 2025 19:32:46 -0600
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>> Is there any reason why one would not want to *always* emulate the CL
>>> behavior in cl-lib? I could only think of a backward compatibility
>>> problem before CL was standardized, but I am not familiar with the time
>>> frame of cl-lib to know if that's really the case.
>> Could you try the patch below?
>
> Never mind, it here's a better one I just pushed to `master`.

I'm therefore closing this bug report.

[Message part 3 (message/rfc822, inline)]
From: Jan Jouleodov <jouleodov <at> protonmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: cl-labels and cl-flet don't create named blocks
Date: Fri, 13 Dec 2024 23:30:41 +0000
[Message part 4 (text/plain, inline)]
In ANSI CL, these should create a named CL:BLOCK, allowing one to do a local return via CL:RETURN-FROM. In Emacs, this is not the case, resulting in an uncaught exception.
[Message part 5 (text/html, inline)]

This bug report was last modified 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.