unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: akater <nuclearspace@gmail.com>, 72200@debbugs.gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#72200: 30.0.50; cl-flet over cl-symbol-macrolet may expand improperly
Date: Fri, 19 Jul 2024 13:16:43 -0700	[thread overview]
Message-ID: <CADwFkmkM3OWX5YCD1k5t2xZS=DTz8upqcFa6syBqJQrnBnYsvg@mail.gmail.com> (raw)
In-Reply-To: <87v8112opo.fsf@gmail.com>

akater <nuclearspace@gmail.com> writes:

> The issue is with recent Emacs built from vcs.
>
> emacs -Q --batch --eval "(progn (require 'cl-macs) (cl-flet ((f () (print \"f is called\"))) (cl-symbol-macrolet ((x (f))) (setf x 'x1))))"
>
> attempts to call (setf funcall) which is not defined.  It should call
> (setf f) instead.
>
> Tested at 014aab9847a0d3d898cb8cbc7224143f2d741abb
>
> This used to work fine some years (months?) ago.  Apparently, some
> recent changes to cl-symbol-macrolet have been causing this.  Might be
> 2a78f06ef4d303b383749be3dabd0f9a68547e5e but I'm not certain.

I'm copying in Stefan Monnier.





  reply	other threads:[~2024-07-19 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-19 18:58 bug#72200: 30.0.50; cl-flet over cl-symbol-macrolet may expand improperly akater
2024-07-19 20:16 ` Stefan Kangas [this message]
2024-07-21 22:09 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkmkM3OWX5YCD1k5t2xZS=DTz8upqcFa6syBqJQrnBnYsvg@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=72200@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=nuclearspace@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).