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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20517: closed (define-modify-macro: void function:
 cl--arglist-args)
Date: Wed, 06 May 2015 21:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 06 May 2015 17:47:25 -0400
with message-id <jwv38398k0q.fsf-monnier+emacsbugs <at> gnu.org>
and subject line Re: bug#20517: define-modify-macro: void function: cl--arglist-args
has caused the debbugs.gnu.org bug report #20517,
regarding define-modify-macro: void function: cl--arglist-args
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
20517: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20517
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.


[Message part 3 (message/rfc822, inline)]
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


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.