GNU bug report logs - #64294
30.0.50; setf strange when lexical-binding is nil

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaokac <at> detroit.hostforweb.net>

Date: Mon, 26 Jun 2023 07:16:02 UTC

Severity: normal

Found in version 30.0.50

Done: Katsumi Yamaoka <yamaoka <at> jpl.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64294 in the body.
You can then email your comments to 64294 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#64294; Package emacs. (Mon, 26 Jun 2023 07:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Katsumi Yamaoka <yamaokac <at> detroit.hostforweb.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 26 Jun 2023 07:16:02 GMT) Full text and rfc822 format available.

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

From: Katsumi Yamaoka <yamaokac <at> detroit.hostforweb.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; setf strange when lexical-binding is nil
Date: Mon, 26 Jun 2023 09:40:58 +0900
Hi,

In the *scratch* buffer:

(setq lexical-binding nil)
(require 'nnheader)
(macroexpand '(setf (mail-header-date header) date))
 => (let* ((v #'(lambda (cl-x) (progn (progn (aref cl-x 3)))))
           (v header))
      (\(setf\ funcall\) date v v))

This looks broken, though it gets normal if lexical-binding is t.
Because of this, an old ELisp module doesn't work.  In addition,
the funny portion is replased with
\(setf\ internal--with-suppressed-warnings\)...
if the code is byte-compiled.

Thanks.

In GNU Emacs 30.0.50 (build 1, x86_64-pc-cygwin, GTK+ Version
 3.22.28, cairo version 1.17.4) of 2023-06-26 built on localhost




Reply sent to Katsumi Yamaoka <yamaoka <at> jpl.org>:
You have taken responsibility. (Mon, 26 Jun 2023 07:42:01 GMT) Full text and rfc822 format available.

Notification sent to Katsumi Yamaoka <yamaokac <at> detroit.hostforweb.net>:
bug acknowledged by developer. (Mon, 26 Jun 2023 07:42:01 GMT) Full text and rfc822 format available.

Message #10 received at 64294-done <at> debbugs.gnu.org (full text, mbox):

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: 64294-done <at> debbugs.gnu.org
Subject: Re: bug#64294: 30.0.50; setf strange when lexical-binding is nil
Date: Mon, 26 Jun 2023 16:41:25 +0900
Duplicate.  Sorry for the noise.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Jul 2023 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 20 days ago.

Previous Next


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