Update elpa




















As this implies, there was nothing concrete at that point. And so eventually, the idea became a Git repository, nongnu. It took until August for more packages to be added, some by their respective authors, such as Magit and Projectile, but most by contributors such as myself.

As of recording, the archive has around 70 packages, with more pending to be out soon. These include popular applications such as the previously-mentioned Magit, SLIME, or wgrep, major modes like php-mode, rust-mode, go-mode, clojure-mode, lua-mode, markdown-mode You get my point.

And a number of visual themes, among other things. For Emacs 28 and newer, one might have to watch out that you're not setting package-archives directly, and if you are doing so, to update the value. Emacs 28 only updates the default value and will not manipulate the user's configuration. Most packages up until now haven't been added by their maintainers. For the most part, I have been collecting and reviewing the packages which have been added, which takes time and is one of the main reasons why we're still at only 70 packages.

This is of course not a permanent solution. The intention here is to bootstrap, so to say, the interest in NonGNU ELPA by making it more interesting to you and thus more interesting to contribute to. MELPA is needed for auto-complete since obviously none bothered to make auto-complete available on Marmalade.

Do not bother, but rather clean up your package-archives. Get rid of the ELPA archive, which is not maintained anymore, and of the marmalade archive, which is a mess of out-dated and duplicated packages without clear guidance and maintenance. Thanks lunaryorn!

That's very helpful. Do you know how I could stay informed on things like this? You should setq package-enable-at-startup nil if you're going to call package-initialize yourself.

Thanks phils - Why is that needed? Show 2 more comments. Active Oldest Votes. All of the package repos work the same, you just add them to your package-archives.

Here is the relevant section of my init. Useful for cleaning out unwanted packages. Improve this answer. What does when not package-archive-contents check? The conditional prevents refreshing every time I start emacs I usually only want it to check when I tell it to. It only checks if there are no package archives, which should only be the case the first time I clone my config to a new machine.

Just letting you know of Brandy Trainor's answer, which seems to complement your answer - in case it is helpful. I think this needs to call refresh-package-contents unconditionally before downloading new packages, as otherwise Emacs may try downloading an old package version which is by then a , fail, and stop loading. What is the best way to understand which package is unwanted? Show 1 more comment. That's S-u to be more precise. I mean Shift-u by that.

FWIW, S- means "super key" gnu. Add a comment. This is more of an extended comment on jpkotta's answer. The package-list was not refreshing sufficiently often enough for my use-case. Brady Trainor Brady Trainor 1, 18 18 silver badges 16 16 bronze badges. In my answer, package-archive-contents is refreshed only if it doesn't exist.

The idea is that you copy your. I try to update about once every two weeks. I'm guessing you added a package to your list, but your package-archive-contents was too old to have it? Generally the best way to solve the problem is by installing the package gnu-elpa-keyring-update. The package is available via ELPA and all you need to do is M-x package-install gnu-elpa-keyring-update.

Easy, right? Well, not so quickly.



0コメント

  • 1000 / 1000