Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 50

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.

5 votes
Accepted

Dependencies of installed packages

You can see what dependencies a package has by opening the *Packages* menu with M-x list-packages. Then navigate to your package of interest and hit RET. … This will display a buffer describing the package, which includes a list of dependencies. …
Malabarba's user avatar
  • 23.3k
17 votes
Accepted

Automatically update packages and delete old versions

(interactive) (save-window-excursion (list-packages) (package-menu-mark-upgrades) (package-menu-execute 'no-query))) Just check which function is called by each of the steps you enumerated … Normally, the (y or n) prompts would be an issue, but package-menu-execute conveniently takes a NO-QUERY argument. …
Malabarba's user avatar
  • 23.3k
7 votes
Accepted

Manually installing a multifile package to “elpa/”

From the NEWS file: ** package-install-from-buffer and package-install-file work on directories. This follows the same rules as installing from a .tar file, except the -pkg.el file is optional. … Just issue package-install-from-buffer from a dired buffer, or invoke package-install-file and give a directory. …
Malabarba's user avatar
  • 23.3k
4 votes
Accepted

How does package.el handle changes in macros when updating?

As of the next version, when package.el upgrades a package that has been loaded in this session, it will reload a package after installing it. … You know you'll be affected by this if your package is about to make use of a newly released feature of a pre-existing macro that's on another file (or another package). …
Malabarba's user avatar
  • 23.3k
4 votes

Is there a way to use AUCTeX'S HEAD from package.el?

If you're using emacs 25 already, you can visit the directory and use package-install-from-buffer. …
Malabarba's user avatar
  • 23.3k
0 votes

Package manager encoding error

Do you have a line like this in your init file? (set-language-environment "Latin-1") If so, try removing it.
Malabarba's user avatar
  • 23.3k
3 votes
Accepted

Unable to find projectile in the package list

How can I install this package? You said you added this configuration to a file called ~/.emacs.d/package_init.el, but Emacs will do nothing to load this file by itself. …
Malabarba's user avatar
  • 23.3k
8 votes
Accepted

Why is Emacs asking me to save changed buffers, when I install a package?

It's more of a feature of the compilation process that really doesn't apply to package management but nobody has bothered to fix it yet. … And one of the steps of installing a package is to byte compile it. When this happens, Emacs will do its usual routine of asking you to save stuff, even though it doesn't really matter here. …
Malabarba's user avatar
  • 23.3k
12 votes
Accepted

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

(with-)eval-after-load is used for things you want to do after a package is loaded. package-initialize doesn't load the packages, it only “prepares” them (loads their autoloads). … on the package being loaded. …
Malabarba's user avatar
  • 23.3k
8 votes
3 answers
2k views

Manually installing a multifile package to “elpa/”

When I'm writing a new package, it's great that I can test its installation by just issuing M-x package-install-from-buffer. … What is the procedure for installing all .el files in the current directory as a single multifile package? …
Malabarba's user avatar
  • 23.3k
2 votes

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

Would it help to simply set package-user-dir before installing the packages? … (setq package-user-dir "/usr/share/emacs/24.3/site-lisp/elpa") Assuming you have write access, package.el will install the packages there. …
Malabarba's user avatar
  • 23.3k
4 votes
Accepted

"Unable to activate package" when starting Emacs

This is happening during package activation, so it's not your init file's fault. … What to do Either install the missing package or delete elpy. …
Malabarba's user avatar
  • 23.3k
1 vote
Accepted

"Cannot open load file", "/Users/home/.emacs.d/elpa/archives/-pkg" emacs 22.1

It looks like this issue will be fixed if you delete the archives directory inside ~/.emacs.d/elpa/. You may also have problems with the archive-contents and builtin-packages directories. Just to be s …
Malabarba's user avatar
  • 23.3k