Giter VIP home page Giter VIP logo

Comments (3)

tarsius avatar tarsius commented on June 8, 2024 2

Perhaps this change should be reconsidered.

What change? "Improving Transient, even though it is now part of Emacs"? 😁

upgrading built-ins is more complicated than external packages.

That's very unfortunate and the result of a bad default. But it's easily fixed: (setq package-install-upgrade-built-in t), basically.

We have the same issue with seq and I recently added a warning that informs users how to fix the issue. I've now done the same for transient.

⛔ Emergency (magit): Magit requires `transient' >= 0.5.0,
but due to bad defaults, Emacs' package manager, refuses to
upgrade this and other built-in packages to higher releases
from GNU Elpa.

To fix this, you have to add this to your init file:

  (setq package-install-upgrade-built-in t)

Then evaluate that expression by placing the cursor after it
and typing C-x C-e.

Once you have done that, you have to explicitly upgrade `transient':

  M-x package-upgrade transient RET

Then you also must make sure the updated version is loaded,
by evaluating this form:

  (progn (unload-feature 'transient t) (require 'transient))

If you don't use the `package' package manager but still get
this warning, then your chosen package manager likely has a
similar defect.

from magit.

tarsius avatar tarsius commented on June 8, 2024

You have to update Transient. transient-prefix-object is a new function.

Duplicate of #5062 and a few others, I believe. Please use the search feature before opening issues.

from magit.

dpassen avatar dpassen commented on June 8, 2024

Perhaps this change should be reconsidered. emacs-29.1 ships with transient 0.4.1 and upgrading built-ins is more complicated than external packages.

from magit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.