GNU bug report logs - #69533
30.0.50; Wrong byte compilation of a certain apply syntax

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 4 Mar 2024 01:52:02 UTC

Severity: normal

Found in version 30.0.50

Done: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <basil <at> contovou.net>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 69533 <at> debbugs.gnu.org, Mattias EngdegÄrd <mattiase <at> acm.org>
Subject: bug#69533: 30.0.50; Wrong byte compilation of a certain apply syntax
Date: Mon, 04 Mar 2024 09:47:11 +0100
Michael Heerdegen [2024-03-04 09:10 +0100] wrote:

> "Basil L. Contovounesios" <basil <at> contovou.net> writes:
>
>> Just curious: which convention are you referring to, and why do you
>> say it's new?
>
> The convention that (apply (F . ARGS)) == (apply F . ARGS).
>
>>  AFAICT the only recent Emacs version which accepted
>> (apply '(+ 1 2)) without any complaint is Emacs 28.
>
> So it is quite new.

Depends: in interpreted code, it's worked since at least as far back as
Emacs 24.  Emacs 28 is the only version in which it successfully
byte-compiles, and doesn't emit any warnings.  Emacs 29 and 30 choke.

-- 
Basil




This bug report was last modified 1 year and 162 days ago.

Previous Next


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