From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Keeping run-time code from running at compile-time
Date: Mon, 10 Oct 2005 23:48:07 -0400 [thread overview]
Message-ID: <87wtkklnsh.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.10195.1128661802.20277.help-gnu-emacs@gnu.org
> I'm having some compiling trouble. File B which requires file A fails to
> compile because file A contains code that should not be run at
> compile-time, just run-time.
Basically you're saying that the compiler should either not load file A when
compiling file B, or load it be "weakly".
Such issues is one of the reasons why toplevel expressions in .el files
should do as little as possible. So most likely the problem is that your
toplevel expressions in file A should be moved to a function that is called
explicitly from elsewhere (e.g. from a major mode function).
Stefan
prev parent reply other threads:[~2005-10-11 3:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4951.1128644991@olgas.newt.com>
2005-10-07 5:09 ` Keeping run-time code from running at compile-time Bill Wohler
[not found] ` <mailman.10195.1128661802.20277.help-gnu-emacs@gnu.org>
2005-10-07 16:45 ` rgb
2005-10-11 3:48 ` Stefan Monnier [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wtkklnsh.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).