all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Joe Riel <jriel@maplesoft.com>, Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: RE: package not needed to byte-compile
Date: Sun, 22 Feb 2015 20:00:49 -0800 (PST)	[thread overview]
Message-ID: <74832ae1-3ae9-4c33-8db6-ed4faea079b9@default> (raw)
In-Reply-To: <20150222185751.5e3f9e2c@gauss>

> Is there a way to tell Emacs that package B
> is required to run package A, but not to
> compile package A?   Using (require B)
> causes an error during byte-compilation because the
> package is not available then.

It's not clear (to me) what you're asking.  `require' does not
byte-compile anything.  If A needs B then putting (require 'B)
in A loads B.  That compiles neither A nor B.

If you don't want to compile A, don't compile it.  Likewise, B.

Causes an error during byte compilation of what?  You said
that you do not want to compile A.  What error?

Your question is completely unclear to me.  I suggest that
you start over.  Tell us (a) what you did, specifically,
(b) what happened, specifically, including what error you
saw, and (c) what you expected to happen instead.



  reply	other threads:[~2015-02-23  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23  2:57 package not needed to byte-compile Joe Riel
2015-02-23  4:00 ` Drew Adams [this message]
2015-02-23  4:35 ` Stefan Monnier
2015-02-23 23:11   ` Michael Heerdegen
2015-02-24  2:36     ` Stefan Monnier
2015-02-24  3:35       ` Michael Heerdegen
  -- strict thread matches above, loose matches on Subject: below --
2015-02-23  3:07 Joe Riel
2015-02-23  3:31 ` Joe Riel
2015-02-23  4:15 ` Michael Heerdegen

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=74832ae1-3ae9-4c33-8db6-ed4faea079b9@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jriel@maplesoft.com \
    /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.