Skip to main content

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.

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,232
70 votes
9 answers
38k 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
63 votes
12 answers
9k views

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 ...
El Diego Efe's user avatar
  • 1,631
44 votes
6 answers
15k views

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 ...
Ryan White's 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
11k views

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) (...
lazarus's user avatar
  • 463
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
35 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
31 votes
6 answers
10k views

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 ...
lukas.pukenis's user avatar
28 votes
1 answer
17k views

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-...
Chakravarthy Raghunandan's user avatar
25 votes
2 answers
9k views

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 ...
Sibi's user avatar
  • 3,733
22 votes
3 answers
7k views

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 ...
JacksGT's user avatar
  • 393
22 votes
2 answers
5k views

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 ...
GDP2's user avatar
  • 1,350
20 votes
2 answers
11k views

When should I use with-eval-after-load in my configuration files?

I went over my configuration files and wanted to do some cleanup. My understanding of with-eval-after-load was that its body would be evaluated right after the related package is loaded. While ...
Mathieu Marques's user avatar
19 votes
3 answers
9k views

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/...
Nick's user avatar
  • 4,513
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
18 votes
3 answers
13k views

How to navigate quickly to my installed packages?

When I'm in the package manager (M-x package-list-packages), I'd like to quickly navigate to my installed packages. There are literally thousands of packages marked as available, installed, or built-...
Jeffrey Bauer's user avatar
18 votes
2 answers
12k views

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)...
Leo Ufimtsev's user avatar
  • 4,568
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
16 votes
2 answers
5k views

Using package.el to install and update but use-package for loading and configuring

After recently learning about use-package I decided to port my configuration to it but found myself reluctant to give up the convenience of using package.el to install packages and keep them updated. ...
Omar's user avatar
  • 4,842
16 votes
3 answers
2k views

Noninteractively upgrade all packages

I want my emacs to automatically upgrade all packages under certain conditions. What's the best way of doing this?
PythonNut's user avatar
  • 10.4k
16 votes
1 answer
7k views

How does package-autoremove decide which packages to remove?

I am frequently prompted when updating my current packages to run package-autoremove which claims to remove outdated or unnecessary packages. However it always seems to remove (along with those ...
tannart's user avatar
  • 263
14 votes
2 answers
10k views

How to automate installation of packages with .emacs file?

My ~/.emacs (which you can find on GitHub) file loads several different Emacs packages and I would like them to be automatically installed as soon as Emacs starts up, if they are not already installed....
Josh Pinto's user avatar
14 votes
4 answers
2k views

How to load only a subset of installed packages

I ran into a bug that involved an interaction between several packages. In order to report the bug, I need to provide a reproducible recipe illustrating the problem. This requires loading the ...
Tyler's user avatar
  • 22.4k
14 votes
1 answer
4k views

after-init-hook vs eval-after-load/with-eval-after-load

I've found the rather useful How Packages work in Emacs 24, however, I'd like a definitive answer from an experienced user or a core developer as to which of these is actually preferred in the typical ...
Erik Kaplun's user avatar
14 votes
2 answers
6k views

How can I see which version of a package I'm using? [duplicate]

I'm curious to see which version of a package I'm using to see if it is out of date. I don't see a package- function that looks applicable.
Steven Shaw's user avatar
13 votes
2 answers
625 views

Why does emacs come packaged with games and amusements?

This question has confounded me ever since I was a freshman in college trying to subtly bludgeon my way through Dunnet in the lab without my professor noticing. Why in the world does emacs come with ...
clockwork's user avatar
  • 233
13 votes
2 answers
2k views

I have package X installed as a dependency. How can I discover which package pulls it in? ie Reverse Dependency

I tried to delete package X (in order to try an older built-in version). But when I restart emacs, it's automatically re-installed. package-list-packages lists it as a dependency so that behaviour ...
wef's user avatar
  • 452
13 votes
1 answer
2k views

Unload a whole package or library tree

Sometimes I want to call unload-feature to unload a library… and it a library depends on it… and another library depends on that library… How can I unload a library and all the libraries that depends ...
Gilles 'SO- stop being evil''s user avatar
12 votes
3 answers
2k views

Automatically update packages and delete old versions

I'm a bit compulsive about updating packages for all of my systems, so I find myself running list-packages -> U -> x -> y -> y pretty much daily to update my packages and delete old versions once the ...
Ryan's user avatar
  • 4,049
12 votes
2 answers
435 views

What are some built-in packages with nice source code? [closed]

I'm trying to get familiar with Emacs Lisp, its syntax, data structures etc, so I was wondering what are some built-in packages whose source could help me better understand how to use the language and ...
caisah's user avatar
  • 4,096
12 votes
2 answers
236 views

Proper approach to providing external programs along with packages?

I maintain a number of elisp packages (e.g. codesearch, emacs-ycmd, traad) that would benefit from being able to install the external programs that they use, saving time and effort for some users. For ...
abingham's user avatar
  • 927
11 votes
3 answers
5k views

org-plus-contrib and org with `require` or `use-package`

How can I ensure I'm downloading and using org-plus-contrib from the org-mode repository using require or use-package? Package.el downloads the package, compiles everything and then says it can't load ...
wdkrnls's user avatar
  • 3,707
11 votes
1 answer
1k views

A non-free package in Emacs?

A while ago, I installed Emacs from the Ubuntu repositories, and have been using it occasionally. Recently, just for fun, I installed vrms, a tool designed to detect non-free software according to the ...
SE - stop firing the good guys's user avatar
11 votes
1 answer
1k views

When to specify a package name in use-package's :ensure tag?

use-package lets you automatically install packages by using the :ensure tag. You can do that as follows (use-package <package> :ensure t) But for some packages that doesn't work, such as ...
LinFelix's user avatar
  • 259
11 votes
1 answer
1k views

Getting started `use-package` question

I was reading the use-package documentation, which says, "Here is the simplest use-package declaration:" ;; This is only needed once, near the top of the file (eval-when-compile ;; Following line ...
SparedWhisle's user avatar
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
2 answers
658 views

How to determine the package version to require in your package?

I have a couple packages now, and in the PackageRequires section I would like to put all the packages I require in it, put it seems like it requires the name and version. Where do you determine the ...
user78810's user avatar
  • 111
10 votes
2 answers
775 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
6k views

problem of loading a package at emacs startup [duplicate]

According to Emacs Eclim, I added the following to ~/.emacs.d/init.d for emacs-eclim: (require 'eclim) (global-eclim-mode) ; If you want to control eclimd from emacs, also add: (require 'eclimd) ...
Tim's user avatar
  • 5,027
10 votes
3 answers
1k views

Export Emacs installed packages?

I am using emacs 24.4. I have added a large number of installed packages via the M-x list-packages directive over about a year of usage. I would love to export my installed packages list for use ...
sanimalp's user avatar
  • 236
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
3 answers
2k views

Package manager encoding error

Upon running package-list-packages, I get the following error. These default coding systems were tried to encode text in the buffer ` *temp*': (iso-latin-1-dos (3242 . 37326) (3243 . 40165)) ...
Matthew Piziak's user avatar
10 votes
4 answers
6k views

How do I see which packages are loaded?

After quite some hacking I now longer get a warning from a package, did I have success? How do I list all loaded packages? (NOT INSTALLED, installation was not the problem, loading was, eg require).
Jappie Kerk'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
3 answers
16k views

package-install reports "no match"

From the Emacs Eclim github page: Install emacs-eclim. You have two options: Installation from the MELPA package archive. Just add the archive to package-archives if you haven't already, and then ...
Tim's user avatar
  • 5,027
9 votes
4 answers
7k 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
2 answers
1k views

How does emacs manage its packages?

I installed auctex from Ubuntu's software center, and then I installed a newer version of auctex from emacs. I then uninstalled the auctex installed by Ubuntu's software center. I found that it didn'...
Tim's user avatar
  • 5,027
9 votes
1 answer
6k views

How to install a package manually

I would like to install the projectile package manually since the repository is blocked by a firewall. I have downloaded the file projectile.el from the [package homepage][1] put it together with ...
Beginner's user avatar
  • 2,741
9 votes
1 answer
6k views

package-selected-packages. What is it useful for?

What is the usefulness of setting (setq package-selected-packages '(auctex ; jedi ; magit ; etc)) Doesn't emacs set the user-installed ...
Emmanuel Goldstein's user avatar

1
2 3 4 5
10