[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8712: 24.0.50; getting the "Forgot to expand macro XXXX" error - pro
bug#8712: 24.0.50; getting the "Forgot to expand macro XXXX" error - problem? solution?
Sat, 21 May 2011 14:00:49 -0700
When byte-compiling I'm getting the famous "Forgot to expand macro XXXX"
AFAICT, the email threads about that error just said, in effect:
1. Stefan thinks he found a bug that caused this, and fixed it, but he
2. Concerning Emacs sources, just do a make -k clean and then try again.
But I'm seeing this for my own code. I guess I need to understand the
solution (what to do) and, preferably, the cause of the problem.
I put the source files in a new directory, load the file with the
defmacros, and try to byte-compile a file that uses them. I get the
above error, with XXXX = `push'.
These are the files: icicles-mac.el has the macros; icicles-cmd1.el is
the file whose byte-compiling raises the error.
With the source files (only) in new directory foo, cd to foo,
(add-to-list 'load-path "."), then M-x load-library icicles.
Then try to byte-compile icicles-cmd1.el.
The files you will need are here:
You will need these files, in order to load library `icicles':
To reproduce, after loading those source files try to byte-compile
icicles-cmd1.el. You'll get this error:
icicles-cmd1.el:3066:91:Error: Wrong type argument: listp, "Forgot to
expand macro push"
I really don't understand. Please advise. Is this an Emacs bug that
has been fixed or will be fixed? Is there something that I need to do
to make the code compatible with lexbind? What's the story? Thx.
In GNU Emacs 188.8.131.52 (i386-mingw-nt5.1.2600)
of 2011-05-16 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
- bug#8712: 24.0.50; getting the "Forgot to expand macro XXXX" error - problem? solution?,
Drew Adams <=