Received: (at 79416) by debbugs.gnu.org; 1 Oct 2025 11:28:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 01 07:28:24 2025 Received: from localhost ([127.0.0.1]:34824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1v3v0S-000471-4n for submit <at> debbugs.gnu.org; Wed, 01 Oct 2025 07:28:24 -0400 Received: from smtp-76.smtpout.orange.fr ([80.12.242.76]:43221 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <da_vid@HIDDEN>) id 1v3v0L-00045Y-7t for 79416 <at> debbugs.gnu.org; Wed, 01 Oct 2025 07:28:21 -0400 Received: from [IPV6:2a01:cb15:8915:8600:87c3:d46d:c911:d504] ([IPv6:2a01:cb15:8915:8600:87c3:d46d:c911:d504]) by smtp.orange.fr with ESMTPA id 3v0HvPA3CWlTb3v0Hvv77e; Wed, 01 Oct 2025 13:28:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1759318094; bh=lFiKR8Ffpn9px0OqyS6HvHxQDJHSyO8SRSF4WP0u58k=; h=Message-ID:Date:MIME-Version:To:From:Subject; b=bf2pUhjRzLSjmFzlx0Z4K08VPFaeU/4GQJUL6M0XO3ZSQurqwnGof5jtMPt17Kt4P l7UICxivVx3ekkGxfISrBegpPxPD3eJ8BcgBcy2FBC+UyvWG8wZxFz4FW3DF05cixe yMwUHVUmK5pXK8HDiGf2VmC0uCAemYJMI28j9u1BiXIPPkNrCZGPPalQQI1cxSVYdj OjGaKAdOD/gF2sGTI4I0kBxD18hAZWI+ZbDUmZ5lu1mShOLvnieY+SdZ8oIV/aeM1x jJdjka121UaEQ1tFxQUGxuZYAd+K2hU5xEBIWPPVTH3+f+/TpD2/RR+lAts2ZRp5xr Ntkch4tm00n7w== X-ME-Helo: [IPV6:2a01:cb15:8915:8600:87c3:d46d:c911:d504] X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI= X-ME-Date: Wed, 01 Oct 2025 13:28:14 +0200 X-ME-IP: 2a01:cb15:8915:8600:87c3:d46d:c911:d504 Message-ID: <30eaa6e3-839b-422a-a1f5-92fee12334f0@HIDDEN> Date: Wed, 1 Oct 2025 13:28:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 79416 <at> debbugs.gnu.org Content-Language: fr From: David Ponce <da_vid@HIDDEN> Subject: Re: 31.0.50; current value of `macro-declarations-alist' not from definition in byte-run.el Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79416 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, I can't believe this bug report was missed ;-) Do you need more information from me? No rush, of course. Thanks! David
bug-gnu-emacs@HIDDEN:bug#79416; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 9 Sep 2025 20:11:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 09 16:11:50 2025
Received: from localhost ([127.0.0.1]:33537 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uw4gv-0006jL-FE
for submit <at> debbugs.gnu.org; Tue, 09 Sep 2025 16:11:50 -0400
Received: from lists.gnu.org ([2001:470:142::17]:33838)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <da_vid@HIDDEN>) id 1uw4gf-0006iu-Rv
for submit <at> debbugs.gnu.org; Tue, 09 Sep 2025 16:11:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <da_vid@HIDDEN>) id 1uw4gZ-00012i-Ud
for bug-gnu-emacs@HIDDEN; Tue, 09 Sep 2025 16:11:27 -0400
Received: from smtp-76.smtpout.orange.fr ([80.12.242.76]
helo=smtp.smtpout.orange.fr)
by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <da_vid@HIDDEN>) id 1uw4gR-0003lq-Cm
for bug-gnu-emacs@HIDDEN; Tue, 09 Sep 2025 16:11:27 -0400
Received: from [192.168.1.21] ([90.112.40.65]) by smtp.orange.fr with ESMTPA
id w4gJuBDIMzvvrw4gJuGHvR; Tue, 09 Sep 2025 22:11:11 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr;
s=t20230301; t=1757448671;
bh=HWG9GSeSoZM2zHfTmdHeGRDS92veVzOG1hdh5It3WTg=;
h=Message-ID:Date:MIME-Version:To:From:Subject;
b=SCPfMkc7Ie6HTU8g3LsJeC7uoLxwGUcs/elr6ksa0BHv9+idTeH1cZK8nXrV42Xv5
O69PqQTW6ZayKrAasg84raTDFQBCqbujypFQtSpt1PxAQBqNT7yLwSjAIycvgDyY6u
6Pm444l6vuhFvD+KUwnKmrxpgGc7xf6bPuEPnx8gD1YRVf/DFw+GiSzCHfAQjVCzuu
XZ8R2Lix6TM+Ss47EgSXuwuKmnm8iknaRuMO5Sx2ayy8D15/aD/TQ6rvZrh94RrQzr
d9sHZCXRqSMaPng7CpPyCn33MvmGVSOxpb78m7+1NkW4tPR+QF3D4UjH7ImyRgK8xO
moqcZWGphQaFw==
X-ME-Helo: [192.168.1.21]
X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI=
X-ME-Date: Tue, 09 Sep 2025 22:11:11 +0200
X-ME-IP: 90.112.40.65
Content-Type: multipart/mixed; boundary="------------tivySJrTxQJ1uZMuNCSROGKD"
Message-ID: <47cb5083-e631-4ac8-aaea-5f4d42bf1bb5@HIDDEN>
Date: Tue, 9 Sep 2025 22:11:10 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: fr
To: bug-gnu-emacs@HIDDEN
From: David Ponce <da_vid@HIDDEN>
Subject: 31.0.50; current value of `macro-declarations-alist' not from
definition in byte-run.el
Received-SPF: pass client-ip=80.12.242.76; envelope-from=da_vid@HIDDEN;
helo=smtp.smtpout.orange.fr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
This is a multi-part message in MIME format.
--------------tivySJrTxQJ1uZMuNCSROGKD
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Hello,
I found that the value of the variable `macro-declarations-alist', as
defined in byte-run.el, is not the value used in emacs. To illustrate,
start emacs -Q and evaluate macro-declarations-alist, the result is
something like:
'((cl-optimize cl--optimize)
(gv-expander gv--expander-defun-declaration)
(debug byte-run--set-debug)
(autoload-macro byte-run--set-autoload-macro)
(no-font-lock-keyword byte-run--set-no-font-lock-keyword)
(advertised-calling-convention
byte-run--set-advertised-calling-convention)
(obsolete byte-run--set-obsolete)
(interactive-only byte-run--set-interactive-only)
(pure byte-run--set-pure
"If non-nil, the compiler can replace calls with their return value.\nThis may shift errors from run-time to compile-time.")
(side-effect-free byte-run--set-side-effect-free
"If non-nil, calls can be ignored if their value is unused.\nIf `error-free', drop calls even if `byte-compile-delete-errors' is nil.")
(important-return-value byte-run--set-important-return-value
"If non-nil, warn about calls not using the returned value.")
(compiler-macro byte-run--set-compiler-macro)
(doc-string byte-run--set-doc-string) (indent byte-run--set-indent)
(speed byte-run--set-speed) (safety byte-run--set-safety)
(completion byte-run--set-completion) (modes byte-run--set-modes)
(interactive-args byte-run--set-interactive-args)
(ftype byte-run--set-function-type))
From the definition in byte-run.el the value is:
((debug byte-run--set-debug)
(autoload-macro byte-run--set-autoload-macro)
(no-font-lock-keyword byte-run--set-no-font-lock-keyword)
(cl-optimize cl--optimize) (gv-setter gv--setter-defun-declaration)
(gv-expander gv--expander-defun-declaration)
(advertised-calling-convention
byte-run--set-advertised-calling-convention)
(obsolete byte-run--set-obsolete)
(interactive-only byte-run--set-interactive-only)
(pure byte-run--set-pure
"If non-nil, the compiler can replace calls with their return value.\nThis may shift errors from run-time to compile-time.")
(side-effect-free byte-run--set-side-effect-free
"If non-nil, calls can be ignored if their value is unused.\nIf `error-free', drop calls even if `byte-compile-delete-errors' is nil.")
(important-return-value byte-run--set-important-return-value
"If non-nil, warn about calls not using the returned value.")
(compiler-macro byte-run--set-compiler-macro)
(doc-string byte-run--set-doc-string) (indent byte-run--set-indent)
(speed byte-run--set-speed) (safety byte-run--set-safety)
(completion byte-run--set-completion) (modes byte-run--set-modes)
(interactive-args byte-run--set-interactive-args)
(ftype byte-run--set-function-type))
Compared to the version in byte-run.el, the current version is
missing the declaration: '(gv-setter gv--setter-defun-declaration)
This leads to this warning when byte-compiling or loading the attached
test file code.el, after starting emacs -Q: Warning: Unknown macro
property ‘gv-setter’. And running the small test at the end of
code.el signal the error (void-function \(setf\ my--get-v\)).
If the value of `macro-declarations-alist' is then refreshed from the
definition in byte-run.el, the same file is byte-compiled without
warning, and the small test returns the expected result.
Maybe the issue is in gv.el that doesn't autoload the gv-setter
declaration for macros. The attached V0 patch seems to have fixed the
problem for me.
Can you please confirm the issue and maybe fix it, if my patch is
correct?
Thanks
In GNU Emacs 31.0.50 (build 8, x86_64-pc-linux-gnu, GTK+ Version
3.24.49, cairo version 1.18.2) of 2025-09-08
Repository revision: 5be32aa047d18b578412e8b249bb4f128a0dc207
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101018
System Description: Fedora Linux 42 (KDE Plasma Desktop Edition)
Configured using:
'configure --with-native-compilation=no
--with-tree-sitter=no'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM XRANDR GTK3
ZLIB
Important settings:
value of $LC_TIME: fr_FR.utf8
value of $LANG: fr_FR.UTF-8
locale-coding-system: utf-8-unix
--------------tivySJrTxQJ1uZMuNCSROGKD
Content-Type: text/x-patch; charset=UTF-8;
name="gv-fix-macro-decl-alist-autoload-V0.patch"
Content-Disposition: attachment;
filename="gv-fix-macro-decl-alist-autoload-V0.patch"
Content-Transfer-Encoding: base64
ZGlmZiAtLWdpdCBhL2xpc3AvZW1hY3MtbGlzcC9ndi5lbCBiL2xpc3AvZW1hY3MtbGlzcC9n
di5lbAppbmRleCBiNmMxZjJjOWY5Zi4uMWIzOWRkZDU0MTMgMTAwNjQ0Ci0tLSBhL2xpc3Av
ZW1hY3MtbGlzcC9ndi5lbAorKysgYi9saXNwL2VtYWNzLWxpc3AvZ3YuZWwKQEAgLTIwMyw4
ICsyMDMsOSBAQCBndi0tc2V0dGVyLWRlZnVuLWRlY2xhcmF0aW9uCiAgICAgICAocHVzaCB4
IGRlZnVuLWRlY2xhcmF0aW9ucy1hbGlzdCkpKQogOzs7IyMjYXV0b2xvYWQKIChvciAoYXNz
cSAnZ3Ytc2V0dGVyIGRlZnVuLWRlY2xhcmF0aW9ucy1hbGlzdCkKLSAgICAocHVzaCAobGlz
dCAnZ3Ytc2V0dGVyICMnZ3YtLXNldHRlci1kZWZ1bi1kZWNsYXJhdGlvbikKLQkgIGRlZnVu
LWRlY2xhcmF0aW9ucy1hbGlzdCkpCisgICAgKGxldCAoKHggKGxpc3QgJ2d2LXNldHRlciAj
J2d2LS1zZXR0ZXItZGVmdW4tZGVjbGFyYXRpb24pKSkKKyAgICAgIChwdXNoIHggbWFjcm8t
ZGVjbGFyYXRpb25zLWFsaXN0KQorICAgICAgKHB1c2ggeCBkZWZ1bi1kZWNsYXJhdGlvbnMt
YWxpc3QpKSkKIAogOzs7IyMjYXV0b2xvYWQKIChsZXQgKChzcGVjIChnZXQgJ2NvbXBpbGVy
LW1hY3JvICdlZGVidWctZGVjbGFyYXRpb24tc3BlYykpKQo=
--------------tivySJrTxQJ1uZMuNCSROGKD
Content-Type: text/x-emacs-lisp; charset=UTF-8; name="code.el"
Content-Disposition: attachment; filename="code.el"
Content-Transfer-Encoding: base64
OzsgLSotIGxleGljYWwtYmluZGluZzogdDsgLSotCihkZWZ1biBteS0tc2V0LXYgKHYgaSB2
YWx1ZSkKICAoYXNldCB2IGkgdmFsdWUpKQoKKGRlZnVuIG15LS1nZXQtdiAodiBpKQogIChh
cmVmIHYgaSkpCgooZGVmdW4gbXktZ2V0LXYxICh2IGkpCiAgKGRlY2xhcmUgKGd2LXNldHRl
cgogICAgICAgICAgICAobGFtYmRhICh2YWx1ZSkKICAgICAgICAgICAgICBgKG15LS1zZXQt
diAsdiAsaSAsdmFsdWUpKSkpCiAgKG15LS1nZXQtdiB2IGkpKQoKKGRlZm1hY3JvIG15LWdl
dC12MiAodiBpKQogIChkZWNsYXJlIChndi1zZXR0ZXIKICAgICAgICAgICAgKGxhbWJkYSAo
dmFsdWUpCiAgICAgICAgICAgICAgYChteS0tc2V0LXYgLHYgLGkgLHZhbHVlKSkpKQogIGAo
bXktLWdldC12ICx2ICxpKSkKCjs7IFNpbXBsZSB0ZXN0IC0gZXZhbCB0aGUgdW5xdW90ZWQg
bGV0IHNleHAgLSBleHBlY3RlZCByZXN1bHQgaXM6Cjs7ICh0d28gdGhyZWUpCicobGV0ICgo
diAodmVjdG9yIDAgMSAyIDMgNCkpCiAgICAgIChpIDIpCiAgICAgIChqIDMpKQogIChzZXRm
IChteS1nZXQtdjEgdiBpKSAndHdvKQogIChzZXRmIChteS1nZXQtdjIgdiBqKSAndGhyZWUp
CiAgKGxpc3QgKG15LWdldC12MSB2IGkpCiAgICAgICAgKG15LWdldC12MiB2IGopKSkKCg==
--------------tivySJrTxQJ1uZMuNCSROGKD--
David Ponce <da_vid@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#79416; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.