ERC: miscompiled macros
james at xemacs.org
Sun Mar 14 12:44:18 EST 2004
Adrian Aichner <adrian at xemacs.org> wrote:
> there are absolutely no diffs between
> so this has been around for a while.
It has. Actually, I've reported it at least twice before, but I think I
caught you on vacation or something. At least, I remember getting a
"mailbox is full" back from your account on one of those occasions.
> However, I would like to fix these.
> Is there a cookbook style documentation for fixing miscompiled macros?
Well, the problem is that erc.el has not been evaluated when
erc-members.el is compiled, so the macro definitions are not available.
The fix is probably just to put
(eval-when-compile (require 'erc))
at the top of erc-members.el somewhere.
> Is the basic idea that defining features need to be required inside
> (eval-when-compile ...) or autoloads modified to specify when
> autoloaded "function" is really a macro?
> BTW: What about keymaps not autoloaded with the 'keymap argument?
Errrmmmm.... I don't know.
More information about the XEmacs-Beta