all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 74870@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	Jan Jouleodov <jouleodov@protonmail.com>
Subject: bug#74870: cl-labels and cl-flet don't create named blocks
Date: Thu, 19 Dec 2024 17:28:39 +0100	[thread overview]
Message-ID: <87a5crprgo.fsf@web.de> (raw)
In-Reply-To: <86bjxetdbp.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Dec 2024 18:54:34 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> I'm guessing this is a documentation bug, in that this particular
> aspect of CL is not emulated by cl-labels.

I dug a bit into the history.

`flet's implementation indeed lost its implicit `cl-block' in

  de7e2b36875 Get rid of cl-lexical-let, keeping only lexical-let for
  compatibility.
  Stefan Monnier <monnier@iro.umontreal.ca>, Thu Jun 7 2012

probably by accident.

OTOH it looks like `cl-labels' never created implicit blocks.  As the
manual describes it as especially useful for recursive local function
bindings, this case is maybe also a bit different.


Michael.





      parent reply	other threads:[~2024-12-19 16:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 23:30 bug#74870: cl-labels and cl-flet don't create named blocks Jan Jouleodov via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-14 16:54 ` Eli Zaretskii
2024-12-17  3:23   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-19  0:55     ` Jan Jouleodov via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-21 15:44       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-21 16:14         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-21 16:24           ` Jan Jouleodov via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-19 16:28   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5crprgo.fsf@web.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=74870@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jouleodov@protonmail.com \
    --cc=michael_heerdegen@web.de \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.