all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Boris <d12frosted@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Runtime package dependencies and compilation order
Date: Tue, 31 May 2016 16:47:09 +0200	[thread overview]
Message-ID: <87bn3mi8sy.fsf@web.de> (raw)
In-Reply-To: <CACY1KR3_D1WPPv84VurMVX8A-ZoeamuJX-8SpyeX9VuA0BN3RQ@mail.gmail.com> (Boris's message of "Mon, 30 May 2016 09:05:00 +0000")

Boris <d12frosted@gmail.com> writes:

> Recently I've faced following problem. I have a package A that might
> depend on package B or (disjunction) package C.

Is this an exclusive "or"?  If not, why not just depend on B _and_ C?

In the other case I cannot suggest anything better than what you already
did.  Since AFACT, Emacs package management doesn't (yet?) allow
dependencies of type "X or Y" (unlike some OS).  But I wonder...

> The problem comes when someone wants to use the part of package A that
> depends on package B - if package A is byte compiled before B, then some
> functionality doesn't work and you have to manually recompile A.

...is really the compilation order a problem, or the fact that A had
been compiled without B being _loaded_?  Doesn't make much a difference
from the end user's view, though.


Regards,

Michael.



  reply	other threads:[~2016-05-31 14:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30  9:05 Runtime package dependencies and compilation order Boris
2016-05-31 14:47 ` Michael Heerdegen [this message]
2016-06-01 14:19   ` Boris
     [not found]   ` <mailman.624.1464790782.1216.help-gnu-emacs@gnu.org>
2016-06-01 15:32     ` Emanuel Berg
2016-06-01 14:38 ` Stefan Monnier
     [not found] <mailman.513.1464614585.1216.help-gnu-emacs@gnu.org>
2016-05-30 13:40 ` Emanuel Berg

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=87bn3mi8sy.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=d12frosted@gmail.com \
    --cc=help-gnu-emacs@gnu.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.