GNU bug report logs - #54901
28.1; cl-concatenate void-function error

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Wed, 13 Apr 2022 04:04:02 UTC

Severity: normal

Found in version 28.1

Fixed in version 28.2

Done: Lars Ingebrigtsen <larsi <at> gnus.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 54901 in the body.
You can then email your comments to 54901 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#54901; Package emacs. (Wed, 13 Apr 2022 04:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Liu <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Apr 2022 04:04:02 GMT) Full text and rfc822 format available.

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

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.1; cl-concatenate void-function error
Date: Wed, 13 Apr 2022 12:02:56 +0800
Sadly the defun of cl-concatenate is changed to defalias and the bug is
now showing up again in 28.1. Calling cl-concatenate no longer triggers
loading cl-extra.el and its dependency seq.el aka
https://debbugs.gnu.org/45610

The simplest fix is to revert defalias back to defun and put a comment
there.

A further fix can be considered for autoload to handle defalias as
defun, not defvar.

Autoload cookies on defalias forms are tricky. For example (defalias 'a
'b), one needs to make sure B is also available at runtime. We can catch
such a bug if one compiles the generated loaddefs file (I think). But
since they never do it is easy to get wrong.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54901; Package emacs. (Wed, 13 Apr 2022 04:11:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 54901 <at> debbugs.gnu.org
Subject: Re: bug#54901: 28.1; cl-concatenate void-function error
Date: Wed, 13 Apr 2022 06:10:02 +0200
Leo Liu <sdl.web <at> gmail.com> writes:

> Sadly the defun of cl-concatenate is changed to defalias and the bug is
> now showing up again in 28.1. Calling cl-concatenate no longer triggers
> loading cl-extra.el and its dependency seq.el aka
> https://debbugs.gnu.org/45610
>
> The simplest fix is to revert defalias back to defun and put a comment
> there.

Yup.  I've now done this on the emacs-28 branch.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.2, send any further explanations to 54901 <at> debbugs.gnu.org and Leo Liu <sdl.web <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 13 Apr 2022 04:11:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 11 May 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 35 days ago.

Previous Next


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