all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: csantosb@inventati.org
Cc: guix-devel@gnu.org
Subject: Re: emacs packaging: do we need to pull existing dependencies ?
Date: Sun, 05 Feb 2023 20:46:13 +0100	[thread overview]
Message-ID: <de0e0b4cabb6fbf2490bc11a527bddd63f18781a.camel@gmail.com> (raw)
In-Reply-To: <87h6w08jeg.fsf@inventati.org>

Am Sonntag, dem 05.02.2023 um 11:50 +0100 schrieb Cayetano Santos:
> 
> 
> > > Say for example emacs-org-roam@2.2.2: it requires emacs-org 9.4,
> > > which is not specified in the package definition, meaning we
> > > always pull the latest available. Do we have to, provided that
> > > emacs releases with org? Maybe there is already a clear rule
> > > about this topic, but to me this is not clear. We have package
> > > definitions with both criteria.
> 
> > I think it's important to think about this in terms of forward
> > compatibility.  Is org-roam guaranteed to always work with "the
> > current version of Emacs, whatever that may happen to be"?  In that
> > case, you could currently drop emacs-org.  If it requires bleeding
> > edge symbols on the other hand, or may freely decide that it will
> > need them, adding emacs-org to the inputs is a good idea.
> 
> I don’t see your point. This is exactly the responsibility of the
> package, declare its dependencies today, regardless of what the
> dependencies will be in the future. This is what the ’package-
> requires’ field is for, including the version number of the
> dependencies.
Still, there's typically a tendency of things going one way or the
other.

> If the dependencies of a given package are already there in emacs
> (say org-9.2), why do we need to pull org-latest ? If in the future
> this changes, an author decides he needs bleeding edge org features,
> and changes the version number of org in the ’package-requires’
> field, the new package definition will propagage-require org-latest.
> All in all, we may not predict future package needs, pulling
> dependencies just in case.
> 
> In any case, and whatever the decission, I think we should clearly
> state the way to proceed somewhere, as currently we have a mix of
> both.
Because people tend to be lazy.  If org-whatever used to require
bleeding edge org sometime in the past, we won't change it back to the
one shipped with emacs because 29.1 is out.  If it only ever used the
emacs stuff and is backwards-compatible with 25, we might not notice
that it even declares the dependency.

I gave you both a purist and a pragmatic solution, so you can choose
which to follow.  I won't press you one way or the other.

Cheers


  reply	other threads:[~2023-02-05 19:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01  7:44 emacs packaging: do we need to pull existing dependencies ? Cayetano Santos
2023-02-04 17:58 ` Liliana Marie Prikler
2023-02-05 10:50   ` Cayetano Santos
2023-02-05 19:46     ` Liliana Marie Prikler [this message]
2023-02-06 16:53 ` Simon Tournier
  -- strict thread matches above, loose matches on Subject: below --
2023-01-31  8:13 Emacs " Cayetano Santos
2023-01-29 18:27 Cayetano Santos

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=de0e0b4cabb6fbf2490bc11a527bddd63f18781a.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=csantosb@inventati.org \
    --cc=guix-devel@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/guix.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.