GNU bug report logs - #20517
define-modify-macro: void function: cl--arglist-args

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 6 May 2015 18:59:02 UTC

Severity: normal

Found in version 24.3

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 20517 in the body.
You can then email your comments to 20517 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#20517; Package emacs. (Wed, 06 May 2015 18:59:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: define-modify-macro: void function: cl--arglist-args
Date: Wed, 06 May 2015 14:58:10 -0400
Package: emacs
Version: 24.3

Byte-compiling the following works fine in Emacs 24.2, but in 24.3
and later it fails with:

  foo.el:3:1:Error: Symbol's function definition is void: cl--arglist-args

;; foo.el:
(eval-when-compile (require 'cl))
(define-modify-macro foo (&optional (n 1)) +)


As warned by the compiler:

  emacs-lisp/cl.el:724:1:Warning: the function `cl--arglist-args' is not
    known to be defined.




Added indication that bug 20517 blocks19759 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 May 2015 19:09:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20517; Package emacs. (Wed, 06 May 2015 21:09:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20517 <at> debbugs.gnu.org
Subject: Re: bug#20517: define-modify-macro: void function: cl--arglist-args
Date: Wed, 06 May 2015 17:08:31 -0400
> Byte-compiling the following works fine in Emacs 24.2, but in 24.3
> and later it fails with:

>   foo.el:3:1:Error: Symbol's function definition is void: cl--arglist-args

> ;; foo.el:
> (eval-when-compile (require 'cl))
> (define-modify-macro foo (&optional (n 1)) +)

Looks like I messed up this part when switching to gv.el.
But since noone noticed until now, I guess we should simply remove
define-modify-macro.


        Stefan




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Wed, 06 May 2015 21:48:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Wed, 06 May 2015 21:48:03 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20517-done <at> debbugs.gnu.org
Subject: Re: bug#20517: define-modify-macro: void function: cl--arglist-args
Date: Wed, 06 May 2015 17:47:25 -0400
>> foo.el:3:1:Error: Symbol's function definition is void: cl--arglist-args
>> ;; foo.el:
>> (eval-when-compile (require 'cl))
>> (define-modify-macro foo (&optional (n 1)) +)

> Looks like I messed up this part when switching to gv.el.
> But since noone noticed until now, I guess we should simply remove
> define-modify-macro.

Oh, wait, no, it looks like the problem is just that cl--arglist-args
is not autoloaded from cl-macs.el.  So the compilation will succeed if
you use a CL macro before wetting to the define-modify-macro.

Should be fixed now,


        Stefan




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

This bug report was last modified 10 years and 21 days ago.

Previous Next


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