compat
straight.el
compat | straight.el | |
---|---|---|
8 | 70 | |
61 | 2,655 | |
- | 0.3% | |
7.8 | 5.5 | |
10 days ago | 25 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compat
-
Don't make Emacs keymaps -- define them.
With the Compat library you can use define-keymap right away in your packages. See also my post about Compat.
-
Which package manager should I use?
Exactly, I think printing a loud warning is a perfectly acceptable solution. The note should ideally tell the user to ensure that dependencies are met. It makes sense to teach users a little better about the limitations of Straight or Elpaca with respect to dependency handling since I've seen many reports across the ecosystem where people didn't properly update dependencies. I usually bump dependencies when I really need new functionality. In particular with our Compat package, versions are meaningful and should be respected.
-
The Compat Elisp Library: A Package Maintainer’s Best Friend
Compat co-maintainer here. Thank you for writing this post! One minor correction: Compat supports Emacs 24.4 and newer. Please link to the upstream repository at https://github.com/emacs-compat/compat instead of the Straight mirror, since the mirror does not preserve the Git history.
-
Small elisp question
As /u/usaoc said, ensure-list can be used for this purpose - I use it all the time in my packages. I recommend to take advantage of the Compat package from GNU ELPA, such that you can use all new Emacs APIs even in packages targeting older Emacs versions. I am the maintainer of Compat. See also https://www.reddit.com/r/emacs/comments/10iep0o/compat_29130/ for more background.
- compat: Compatibility Library for Emacs Lisp
-
Compat 29.1.3.0
I released version 29.1.3.0 of Compat, the Elisp forwards-compatibility library on GNU ELPA. This library may be interesting for you, if you want to use newer Emacs developments in your packages without breaking backward compatibility with older Emacs versions.
-
compat--inhibit-prefixed error in Org-Roam
I updated some packages which included updating the dependency compat.el to 28.1.2.0
straight.el
-
Alternative to LSP for C/C++ that doesn’t require installing extra packages on the system
Very dated and next to useless on large complex CPP codebases. Use a language server. I recommend the straight package manager. https://github.com/radian-software/straight.el
-
Package contribution workflow
Have you tried using straight.el or the heir-apparent Elpaca? These package managers will check out the git repo of said packages, and you can easily fork them with magit and forge. That's that I do to contribute to packages.
-
Help install simple package (htmlz-mode)
Thank you for your time addressing all those issues and sorry if questions were misinformed - I found your advices invaluable to understand design goals of package managers in emacs.
- Which package manager should I use?
-
How do you guys install some pkgs ain't hosted on melpa?
I used straight.el, now I use Elpaca.
-
doom emacs
Doom Emacs is not a package manager. It has a package manager, which is based on Straight.el.
-
Boilerplate config
I have been crafting my emacs config for about 10 years. I started with vanilla and intentionally stayed away from frameworks. About two years ago I declared config bankruptcy and went down for a rewrite using use-package and straight.
-
Please help me!..
First install straight.el (https://github.com/radian-software/straight.el)
-
what is basic alghoritm/logic of installation packages to emacs?
ref: https://github.com/radian-software/straight.el https://github.com/jwiegley/use-package
-
How can I speed up my start up times?
If you use straight and override package, you'll get a lot of your desired functionality for free. Straight's docs are excellent. I started banging away on my own setup from scratch, and while not perfect, it does what I want and the total startup time is about 1.5 seconds without doing anything to try to optimize it. If you want to see it, check it out here. Like I said, there is lots of room for improvement, but it does work for me.
What are some alternatives?
package-lint - A linting library for elisp package metadata
use-package - A use-package declaration for simplifying your .emacs
exec-path-from-shell - Make Emacs use the $PATH set up by the user's shell
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
melpa - Recipes and build machinery for the biggest Emacs package repo
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
.emacs.d - Centaur Emacs - A Fancy and Fast Emacs Configuration
corfu - :desert_island: corfu.el - COmpletion in Region FUnction
prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
consult - :mag: consult.el - Consulting completing-read
dap-mode - Emacs :heart: Debug Adapter Protocol