Questions tagged [package]

Emacs includes a facility that lets you easily download and install packages that implement additional features. Each package is a separate Emacs Lisp program, sometimes including other components such as an Info manual.

Emacs includes a facility that lets you easily download and install packages that implement additional features. Each package is a separate Emacs Lisp program, sometimes including other components such as an Info manual.


M-xlist-packages brings up a buffer named Packages with a list of all packages. You can install or uninstall packages via this buffer. See Package Menu below.

The command C-hP (describe-package) prompts for the name of a package, and displays a help buffer describing the attributes of the package and the features that it implements.

By default, Emacs downloads packages from a package archive maintained by the Emacs developers and hosted by the GNU project. Optionally, you can also download packages from archives maintained by third parties. See Package Installation below.

477 questions
135
votes
4 answers

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 contain all the packages that I want, is it a…
Eric Brown
  • 3,212
  • 4
  • 16
  • 20
64
votes
9 answers

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 ascii-art-to-unicode-1.9.el.sig: ("No public key …
Tom Regner
  • 904
  • 1
  • 9
  • 13
63
votes
12 answers

Synchronize packages between different machines

I use emacs in different places and I want to have a similar setup and packages installed everywhere. I guess I can use a version control repository for the setup files. Since I use Prelude, that would be ~/.emacs.d/personal/. I don't know how to…
El Diego Efe
  • 1,601
  • 1
  • 19
  • 24
43
votes
6 answers

How to test REST API with Emacs?

I'm putting together an app, and want to be able to test the api end points. I figured Emacs would be a cool way to go - especially if JSON responses could be parsed and the return data used in subsequent tests. Any ideas on how to go about this, or…
Ryan White
  • 671
  • 1
  • 5
  • 8
39
votes
2 answers

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 reason why I'm asking is that I'm experimenting with my…
Jakub Arnold
  • 493
  • 1
  • 4
  • 6
36
votes
2 answers

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-stable, but use melpa for a specific subset of…
Timo Geusch
  • 508
  • 4
  • 7
35
votes
2 answers

package-initialize: wrong type argument : arrayp , nil

while going through the emacs as a c/c++ editor , I came across the following lines of code to include in my ~/.emacs file, to connect to melpa archives for package installation (require 'package) (add-to-list 'package-archives '("melpa" .…
lazarus
  • 453
  • 1
  • 4
  • 8
33
votes
5 answers

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 ways: I've set emacs to delete files by moving to…
Chakravarthy Raghunandan
  • 3,132
  • 2
  • 18
  • 42
30
votes
6 answers

Switching between window layouts

When I configure a custom layout and then just need to temporary look into one file fullscreen and once I want that layout back - I need manually to reflow it. I would like a plugin/elisp code to save my layouts and to be able to switch between…
lukas.pukenis
  • 677
  • 6
  • 11
26
votes
1 answer

What does (require 'package) mean for emacs and how does it differ from load-file?

I just began using emacs a few days ago and I read somewhere that (require 'package-name) is not needed when the said package is installed using package-install. But why, what does (require 'package-name) actually do and how does it differ from…
Chakravarthy Raghunandan
  • 3,132
  • 2
  • 18
  • 42
24
votes
2 answers

Difference between init and config in use-package

I have a configuration like this: (use-package html-mode :mode "\\.html\\'" :config (progn (add-hook 'html-mode-hook 'turn-off-auto-fill))) Now when I go and visit an HTML file, I observe that auto-fill is not turned off. But if I use…
Sibi
  • 3,603
  • 2
  • 22
  • 35
22
votes
2 answers

How can I improve startup time despite many packages?

TL;DR I have such a huge amount of packages that it's hurting my startup time. If you don't believe that could be the case, read on. My Emacs startup time is quite small. I don't use use-package, I just set tons of hooks and autoloads so that…
GDP2
  • 1,340
  • 9
  • 25
22
votes
3 answers

How to use skewer-mode?

I am currently struggling to use skewer-mode in Emacs. I downloaded and installed skewer-mode via MELPA, so all the dependencies should be inplace. For testing purposes I even downloaded the boidsjs demo. I'll open up boids.js, then type…
JacksGT
  • 393
  • 2
  • 9
19
votes
3 answers

Why do I have to add each package to load-path? (or Problem with require 'package in my init file)

Each time I install a package from the Package Menu, if I try to require it in my init file I get an error unless I manually add it to the load-path: (add-to-list 'load-path "/home/nick/.emacs.d/elpa/use-package-20141220.1645") (require…
Nick
  • 4,423
  • 4
  • 24
  • 41
18
votes
2 answers

how to use org-plus-contrib?

I would like to use org-mode's contributed packages: http://orgmode.org/worg/org-contrib/ [EDIT] SOLUTION: As per answer below: 1) First one should have the elpa packages added. (require 'package) ... (add-to-list 'package-archives '("org" .…
Leo Ufimtsev
  • 4,488
  • 3
  • 22
  • 45
1
2 3
31 32