all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Boris <d12frosted@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Runtime package dependencies and compilation order
Date: Wed, 01 Jun 2016 14:19:27 +0000	[thread overview]
Message-ID: <CACY1KR1jsV2184e7y=i0FTRGrgK2ETGbTkj8CPCr1EZtOXPYHw@mail.gmail.com> (raw)
In-Reply-To: <87bn3mi8sy.fsf@web.de>

Hey Michael,

Thanks for your reply.

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

It's not exclusive, it's disjunction. I don't want to depend on both of
them because they are huge. And some people would not like having orphan
package to be installed as dependency.

> ...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.

Good question. And I am not sure. I'll look into it. Just out of curiosity.

> In the other case I cannot suggest anything better than what you already
> did.

Alright, then I'll just implement my solution. In any case, I like it. Just
wanted to hear others opinion.

Thanks again and best regards,
Boris

On Tue, May 31, 2016 at 5:47 PM Michael Heerdegen <michael_heerdegen@web.de>
wrote:

> 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-06-01 14:19 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
2016-06-01 14:19   ` Boris [this message]
     [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='CACY1KR1jsV2184e7y=i0FTRGrgK2ETGbTkj8CPCr1EZtOXPYHw@mail.gmail.com' \
    --to=d12frosted@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.