From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 12669-done@debbugs.gnu.org
Subject: bug#12669: 24.2.50; invalid function when starting erc
Date: Thu, 18 Oct 2012 11:53:12 -0400 [thread overview]
Message-ID: <jwvfw5bg4mw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m2k3unx63m.fsf@igel.home> (Andreas Schwab's message of "Thu, 18 Oct 2012 15:27:57 +0200")
>> 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
next prev parent reply other threads:[~2012-10-18 15:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 8:40 bug#12669: 24.2.50; invalid function when starting erc Ivan Kanis
2012-10-18 12:50 ` Stefan Monnier
2012-10-18 13:27 ` Andreas Schwab
2012-10-18 15:53 ` Stefan Monnier [this message]
2012-10-18 19:33 ` Ivan Kanis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvfw5bg4mw.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12669-done@debbugs.gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.