Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvment prelude for emacs 26.1 #1408

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RastaDill
Copy link

@RastaDill RastaDill commented Aug 16, 2023

Hello. I tryed install prelude-mode in emacs 26.1 and it's not working the out of box.
Many packages in MELPA required emcas 27.1.
I read "Pinning packages" from documentation, but i don't understand how correct enabled via variables.

What i do:

  1. copy prelude-pinned-packages.el in emacs.d/ (root folder) because prelude-packages.el automatically load this file if have.
  2. disabled melpa reposilory because after added pinned packages the stable melpa not have priority over melpa
  3. refresh packages before install use-packages, otherwise package not installed
  4. changed vertico by default on ivy for emacs < 27.1 because vertico in stable melpa required 27.1
  5. (*) added SSH_AUTH_SOCK in exec-path-from-shell for situation if somebody can't use ssh for magit (disabled by default)

As a result the prelude not working in emacs 25.1 the out of box. Many packages minimum requre 27.1 or 26.1.
To maintain backward compatibility, I see quelpa.

If my solution will be right, I updated changelog and documentation


Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):

  • The commits are consistent with our contribution guidelines
  • You've updated the changelog (if adding/changing user-visible functionality)
  • You've updated the user manual (if adding/changing user-visible functionality like modules, commands, configuration options, etc)

Thanks!

Rpository melpa have fresh packages unlike stable melpa
If use gnome-keyring, but magit not can connect to repository
this property help you
If emacs < 27.1 vartico can't install.
vertico in stable melpa require emacs 27.1
@RastaDill
Copy link
Author

RastaDill commented Aug 18, 2023

I tryed use helm but faced with problem. Pckage wfname don't installed - error message: unavailable. For solved it i added nongnu repository http://elpa.nongnu.org/ in prelude-pinned-packages.el

@RastaDill RastaDill changed the title Improvment prelude for emacs 26 Improvment prelude for emacs 26.1 Sep 2, 2023
@bbatsov
Copy link
Owner

bbatsov commented Nov 20, 2023

I've normally aimed to support the last 3 major Emacs releases, so now that Emacs 29 is out I guess it'd be best to target Emacs 27 directly. (especially given how many packages don't support Emacs 26 anymore)

@RastaDill
Copy link
Author

I understand, so I guess this PR may be closed. But I have one question. This problem generation of impossible the package.el to freeze extension to Emacs version and not provided rollback package.
Thanks for your article "Package Management in Emacs: The Good, the Bad and the Ugly". It has been more than 10 years, but nothing changes. Now I see nobody set tags in the Emacs add-on community. All your constraints in the article I guess are solved the straight.el. Why don't Prelude use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants