GNU bug report logs - #72200
30.0.50; cl-flet over cl-symbol-macrolet may expand improperly

Previous Next

Package: emacs;

Reported by: akater <nuclearspace <at> gmail.com>

Date: Fri, 19 Jul 2024 19:00:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #8 received at 72200 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: akater <nuclearspace <at> gmail.com>, 72200 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#72200: 30.0.50;
 cl-flet over cl-symbol-macrolet may expand improperly
Date: Fri, 19 Jul 2024 13:16:43 -0700
akater <nuclearspace <at> 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.




This bug report was last modified 330 days ago.

Previous Next


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