GNU bug report logs - #12669
24.2.50; invalid function when starting erc

Previous Next

Package: emacs;

Reported by: Ivan Kanis <ivan.kanis <at> googlemail.com>

Date: Thu, 18 Oct 2012 08:43:02 UTC

Severity: normal

Found in version 24.2.50

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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12669-done <at> debbugs.gnu.org
Subject: bug#12669: 24.2.50; invalid function when starting erc
Date: Thu, 18 Oct 2012 11:53:12 -0400
>> Indeed, 110553 uncovered this problem.  Should be fixed now, thank you.
> That's not enough, you have the same problem with
> erc-with-all-buffers-of-server.  Basically what the autoload of erc-log
> used to achieve was to load erc early enough so that the remaining macro
> uses are known to the byte compiler (and that autoload is useless now
> that erc-log isn't a macro any more).  Unfortunately there is a circular
> dependency between erc and erc-backend, so we cannot just require erc
> early.  When I try (eval-when-compile (provide 'erc-backend) (require
> 'erc)) I get a lot of "might not be defined at runtime" warnings, but
> all macros are expanded (including the erc-log defsubst).  Not sure
> what's the lesser poison.

I think I found an acceptable solution (taking your lesser poison and
removing the eval-when-compile).  It also fixes the "Eager
macro-expansion" warning.  Thanks,


        Stefan




This bug report was last modified 12 years and 274 days ago.

Previous Next


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