GNU bug report logs -
#71356
use-package doesn't load org from elpa
Previous Next
Full log
Message #70 received at 71356 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
We don't want to change what :pin means, IMHO we need it to obey
`package-install-upgrade-built-in`.
That wouldn't be incompatible, right?
So the sketch that actually loads org from elpa would be
(let ((package-install-upgrade-built-in t))
(use-package org
:ensure t :pin gnu))
whereas
(use-package org
:ensure t :pin gnu)
would keep the original org packaged with emacs (called with emacs -Q)
Best, /PA
On Mon, 10 Jun 2024 at 18:12, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > From: Philip Kaludercic <philipk <at> posteo.net>
> > Cc: Andrea Corallo <acorallo <at> gnu.org>, paaguti <at> gmail.com,
> > 71356 <at> debbugs.gnu.org
> > Date: Mon, 10 Jun 2024 15:40:58 +0000
> >
> > >> > To me :pin would make perfect sense, as it explicitly expresses what
> > >> > archive we want to follow for package upgrades.
> > >>
> > >> +1, also use-package interface is very declarative and I'm not sure
> > >> having it influenced by a dynamic var would match user expected
> > >> behavior.
> > >
> > > If you prefer, we could add a new :foo keyword to mean this. But
> > > unconditionally changing what :pin means in these cases is out of the
> > > question.
> >
> > We wouldn't change what :pin means directly, but just have
> > package-install respect `package-pinned-packages'.
>
> How is that different? It's an incompatible change of behavior, and I
> cannot agree to that, sorry.
>
--
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
[Message part 2 (text/html, inline)]
This bug report was last modified 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.