Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
137 votes
4 answers
21k views

What are the practical differences between the various Emacs Package Repositories?

I notice that there are several different repositories that often contain the same software. Why would I want to prefer: GNU ELPA Marmalade MELPA over the others? Since any one repository does not ...
Eric Brown's user avatar
  • 3,242
73 votes
10 answers
43k views

How to proceed on package.el signature check failure

I just tried to install ascii-art-to-unicode from the gnu repository (http://elpa.gnu.org/) via list-packages. I get the following error: package--check-signature: Failed to verify signature ...
user avatar
38 votes
2 answers
13k views

Do I still need GNU ELPA if I have MELPA?

This has always confused me, since people are saying that MELPA does have newer versions of packages, but it's not really clear, if GNU ELPA is just a subset of MELPA, or if I do need both? The ...
Jakub Arnold's user avatar
36 votes
2 answers
7k views

Is it possible to use both MELPA and MELPA-stable at the same time?

I use melpa-stable as an additional package repository, but one of the packages I like to use (icicles) isn't available on melpa-stable. Is there any way to configure package.el to normally use melpa-...
Timo Geusch's user avatar
36 votes
5 answers
6k views

Easiest way to downgrade a package installed via MELPA

Sometimes, package updates from MELPA can break some part of emacs and when that happens I'd like to be able to revert back to using an older version of the package. Right now, I can do it in two ...
Chakravarthy Raghunandan's user avatar
18 votes
3 answers
5k views

Dired+ missing from MELPA

I am trying to install dired+ from MELPA but it seems that it no longer is listed. I also checked here: https://melpa.org/ Is this normal?
Tohiko's user avatar
  • 1,679
18 votes
4 answers
2k views

What are the use cases of alternative package managers vis-à-vis `package.el`?

Background I use emacs daily, but mostly to get things done. I don't really like customising it more than adding packages and I don't like troubleshooting. I want emacs to fade into the background ...
snth's user avatar
  • 201
17 votes
3 answers
12k views

Failed to download 'gnu' archive

I tried to install emacs and in an attempt to install MELPA, tried: (this is my init.el file) (package-initialize) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-...
bobbob's user avatar
  • 171
17 votes
2 answers
1k views

How can I set up an ELPA server?

A buddy and I are wanting to start writing emacs packages specific for use in our company. (Trust me, nothing we write will be of much interest to anyone outside -- it's integration with internal ...
Sean Allred's user avatar
  • 7,051
17 votes
2 answers
10k views

The TLS connection was non-properly terminated

When running package-list-packages I get the following errors: Failed to download `gnu' archive. gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. I am running Emacs ...
Matthew Piziak's user avatar
16 votes
3 answers
6k views

TLS connection to marmalade-repo.org:443 is insecure after updating to Emacs 25

When I run M-x list-packages I get the following error with Marmalade after updating to Emacs 25. Certificate information Issued by: COMODO RSA Domain Validation Secure Server CA Issued to: ...
marcanuy's user avatar
  • 828
14 votes
1 answer
2k views

How do I fix "incomprehensible buffer" error when running list-packages?

When running list-packages in emacs on an up-to-date Debian Buster (10.6) I get the following error: error in process sentinel: Error retrieving: https://stable.melpa.org/packages/archive-contents &...
markshep's user avatar
  • 243
11 votes
2 answers
6k views

How to deal with this message : IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6

This message occur when I open an org file. I've put this in my init file : (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/...
gigiair's user avatar
  • 2,273
11 votes
3 answers
3k views

How to generate and activate autoloads for local packages?

It is clear that not all local/custom/personal packages should be officially released, and it would be silly to do so just to benefit from built-in package management support. I'm wondering how to ...
Alexander Shukaev's user avatar
11 votes
3 answers
2k views

How to setup a private package repository?

I've written several packages for GNU Emacs, but they are useless outside of my company's environment. I want to be able to share the packages with other developers from my company. I also want the ...
roman-kashitsyn's user avatar
10 votes
2 answers
780 views

Technical considerations for package maintainers to not use the Emacs package manager?

I am noticing some notable package maintainers are choosing to not use the Emacs package management system (ESS?) or complaining about its limitations (Helm). Quoting from Helm's README.md: ...
Amelio Vazquez-Reina's user avatar
10 votes
2 answers
3k views

Error retrieving: https://elpa.gnu.org/packages/archive-contents (error http 400)

I am on this version of GNU Emacs on a Windows 10 computer: GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 For the past many weeks, Emacs report this error accessing GNU Elpa when I run &...
mobatemacs's user avatar
10 votes
2 answers
1k views

Install packages globallly

Is this something that can / should be done? For example, often I use emacs in my user account and sometimes root account. When using the package manager (i.e marmalade or something) do I have to ...
user2237076's user avatar
10 votes
2 answers
6k views

How do I work out what the problem is with the emacs package system?

I am trying to set up emacs (on cygwin / Win10) to handle JSON. I started with joshwnj/json-mode and was stoked to discover that emacs will now install its own dependencies from online repos. Fab ...
Adam's user avatar
  • 241
9 votes
4 answers
8k views

How to install a specific version of package?

When I do M-x package-install RET magit it installs the latest version of magit which is 2.1.0. I want to install magit 1.4.2. I don't want to do it manually by downloading and loading package. ...
Chillar Anand's user avatar
9 votes
6 answers
5k views

gpg fails to find key to elpa archive

I'm getting this error while trying download a package from ELPA: Failed to verify signature archive-contents.sig: No public key for 474F05837FBDEF9B created at 2018-11-28T14:10:03-0800 using DSA ...
AndyJ's user avatar
  • 369
9 votes
1 answer
1k views

Error retrieving: https://elpa.gnu.org/packages/archive-contents

This is with the latest Emacs Version 27.2 (9.0) for Mac OS X: error in process sentinel: Error retrieving: https://elpa.gnu.org/packages/archive-contents (error connection-failed "connect" :...
clay's user avatar
  • 193
8 votes
1 answer
3k views

Is there a package manager for emacs that can use git repositories directly?

Is there a way to manage packages in emacs where I can point to a git repository directly? (like vim-plug for eg).
ideasman42's user avatar
  • 9,157
8 votes
1 answer
4k views

How to add org-babel-execute function for plantuml?

I installed "PlantUML Mode for Emacs" using Melpa successfully, and I am able to switch to Plantuml-mode. However, when I try to evaluate code with C-c C-c, inside of org-mode, I get the error: org-...
David J.'s user avatar
  • 163
7 votes
2 answers
437 views

How to view package Full Description (commentary section) inside Emacs

I'm looking for a way to visualize inside Emacs the Full Description of a package as shown in Elpa index page. For example the undo-tree package has a nice and comprehensive help page/description ...
Alexandro de Oliveira's user avatar
7 votes
1 answer
3k views

How can I change the installation folder for Melpa packages?

I have just started using Melpa, and I installed the first package. The package though goes to the folder ~/Library/Preferences/Aquamacs Emacs/Pakcages/elpa/ but I would prefer if it went to my ....
Vivi's user avatar
  • 371
6 votes
1 answer
689 views

list-packages hangs when contacting melpa

I'm running Emacs 26.3 on Linux Mint 20. I am using paradox, but this also happens when I use the vanilla Emacs packages interface. When I call list-packages, the Paradox Menu section of the mode line ...
MTS's user avatar
  • 377
6 votes
1 answer
1k views

How do I set use-package-always-pin?

Emacs noob here, I want to use melpa-stable whenever possible for my packages. use-package has an option for this, use-package-always-pin. By default package.el prefers melpa over melpa-stable due ...
Dean's user avatar
  • 203
5 votes
3 answers
10k views

How to update Org to latest version using package repo's / git clone in Ubuntu

See the image below. . I want to update my org from Version: 2016071 to Version 20161003. It does not give me an option to upgrade when I use the package-list-packages command. An ...
Prasanna's user avatar
  • 1,590
5 votes
1 answer
1k views

Is ELPA broken?

Emacs 26.1 as packaged in Debian buster. After doing M-x package-list-packages I can select any package from the MELPA repo https://melpa.org/packages/ and then install it. But when I try to get any ...
q.undertow's user avatar
5 votes
1 answer
707 views

Trying to install auctex via package-install

I am trying to install auctex via M-x package-install RET auctex. Unfortunately after a brief splash of Contacting host: elpa.gnu.org:443, I end up with the message https://elpa.gnu.org/packages/...
nonreligious's user avatar
5 votes
3 answers
320 views

How to migrate snippets of scripts into my own packages?

While there are many docs on how to write packages, mirror your own package git repo's ... etc. This seems quite a heavy solution. What would be a good approach to having some local packages which ...
ideasman42's user avatar
  • 9,157
5 votes
2 answers
4k views

Emacs 27 MELPA connection failure on macOS

I have been trying to install packages ivy, counsel, and swiper on Emacs 27 prelude. Starting Emacs results in the following error: Warning (initialization): An error occurred while loading ‘/Users/...
american-ninja-warrior's user avatar
5 votes
2 answers
2k views

"Failed to download ‘melpa’ archive" when I run package-refresh-contents

Have started seeing this error after I installed a new version of Emacs. My package code in init file is (require 'package) (setq package-archives '(("gnu" . "http://elpa.gnu.org/...
Andrew's user avatar
  • 591
5 votes
1 answer
2k views

How to use a theme installed with melpa?

I want to use this theme: https://github.com/jonnay/emagicians-starter-kit/blob/master/themes/org-beautify-theme.org I installed it via list-package successfully. I tried loading it via load-theme ...
Certainly's user avatar
  • 117
4 votes
2 answers
889 views

Is .emacs.d portable across platforms?

I'm trying to use spacemacs (basically a thin layer with nice defaults around emacs) at work, but it wants to connect to elpa and melpa to download stuff - and is basically unusable without getting ...
Aaron Hall's user avatar
  • 434
4 votes
2 answers
767 views

Fresh install of emacs 24.5.1 and Prelude not working because melpa wont download on OS X 10.11.2

I have a fresh install of Emacs 24.5.1 on OS X 10.11.2 and when I install prelude (https://github.com/bbatsov/prelude) via the recommended auto-magic way (curl -L https://git.io/epre | sh) then open ...
sbditto85's user avatar
  • 143
4 votes
1 answer
1k views

use-package ensure not working: package downloaded but gives warning and skips config [duplicate]

I have the following code in my init.el file: (use-package org-plus-contrib :ensure t :config (progn (require 'ox-extra) (ox-extras-activate '(ignore-headlines)))) The :ensure t ...
Guilherme Salome's user avatar
4 votes
2 answers
1k views

Keep spacemacs from retrieving package archives at startup

I'm trying to figure out a way to speed up my spacemacs start time. The main offender at the moment is the refreshing of package archives at start. I was hoping that setting dotspacemacs-check-for-...
flooose's user avatar
  • 521
4 votes
3 answers
6k views

How do I get MELPA working on my Windows 8 laptop

In my init file ~\AppData\Roaming\.emacs.d that I created using C-x C-f ~/.emacs.d/init.el RET I tried: (require 'package) ;; You might already have this line (add-to-list 'package-archives ...
quazoosl's user avatar
  • 201
4 votes
3 answers
4k views

Cannot run melpa package refresh due to gpg errors

Root task: trying to install R mode for emacs (ESS following - https://stackoverflow.com/questions/1422987/emacs-mode-for-r) OS: Ubuntu 18.04 Problem: When I run M-x package-refresh-contents RET I get ...
R. Mitchell's user avatar
4 votes
1 answer
1k views

`org-bullets` - No longer needed

For a while, I've been getting the message Package menu: Operationfinished. 1 package no longer needed, type 'M-x package-autoremove' to remove them The package is org-bullets, very spread package ...
Dox's user avatar
  • 995
4 votes
2 answers
847 views

Problems installing packages via elpa that require cl-lib-1.0

I'm having problems installing package from (m)elpa which require cl-lib-1.0. My emacs version is 24.3, hence I have a builtin copy of cl-lib-1.0, however, the only version available via elpa is 0.5. ...
elemakil's user avatar
  • 2,567
4 votes
1 answer
2k views

How do I solve `Lisp error: (void-function -compose)` when using lsp-dart?

When I load a Dart file with GNU Emacs 27.1-1 for OS X I get the following little error novel. Debugger entered--Lisp error: (void-function -compose) (-compose #'lsp--client-path->uri-fn #'lsp--...
Sam7919's user avatar
  • 431
4 votes
1 answer
1k views

My init.el gets stuck on trying to install "spinner", a sub-dependency of cider

I've installed emacs on a new machine (macos) brew cask install emacs. My init.el file gets stuck installing cider (clojure ide) because it requires "spinner". When I do: M-x package-refresh-contents, ...
Jake_Howard's user avatar
4 votes
1 answer
183 views

Automatically move installed packages to site-lisp to benefit all user accounts

I have scripts to setup virtual machine images, where emacs packages are installed for the root account. Currently, I manually copy them to the appropriate site-lisp directory, i.e. one of those ...
Ben Hyde's user avatar
  • 594
4 votes
1 answer
3k views

Getting error "Failed to download 'gnu' archive" on Emacs 26.3

I'm currently using Ubuntu 18.04, and trying out Emacs for the first time. However, whenever I run the command package-refresh-contents, I get the the follow error: Failed to download 'gnu' archive ...
gjvatsalya's user avatar
3 votes
1 answer
1k views

What is the standard way to install packages for Emacs?

There are several methods to install and manage packages for Emacs: package.el el-get use-package What is the easiest way to install package? It seems package.el ships with the default Emacs ...
Nick's user avatar
  • 4,563
3 votes
2 answers
3k views

How do I install company-mode via `ensure-packages-installed`?

I use a function, ensure-packages-installed to "bootstrap" packages in my .emacs file. This ensures that if the package isn't already install. The follow is at the top of my .emacs: ; ; Set up Emacs ...
Steven Shaw's user avatar
3 votes
2 answers
330 views

How can I find the path of files in an (m)elpa package?

I wrote a minor mode for automatically detecting the language in which the user is typing. For this to work, I have to load some files containing language statistics. These files are in a ...
tmalsburg's user avatar
  • 2,592

1
2 3 4 5