Tag Archives: package

how to list emacs package dependencies

Table of Contents 1. how to see one-level dependencies of a package 2. how to programmatically collect the names of all the required packages for a given set of packages For now there is no command or function that recursively … Continue reading

Posted in Emacs, Lisp | Tagged , | 3 Comments

How to choose Emacs Lisp package namespace prefix

1. background Since Emacs Lisp doesn’t provide namespaces yet, Emacs Lisp packages use prefixes as substitute for namespaces. For example, the cl-lib library uses cl as its common prefix for all of its function names (and variable names), the rx … Continue reading

Posted in Emacs | Tagged , , | Leave a comment

how to install just one package from MELPA and not others

Table of Contents 1. background 2. installing or updating one package from MELPA 3. checking if the package is installed correctly 1. background There are two well known Emacs package archives: GNU ELPA and MELPA (well, there’s also Marmalade). The … Continue reading

Posted in Emacs | Tagged , | Leave a comment

how to install autopair from emacs package system

Table of Contents 1 how to install autopair 2 how to enable autopair without using require 3 how to disable autopair in some modes while keeping autopair globally on 4 further customization of autopair how to install autopair autopair is … Continue reading

Posted in Emacs | Tagged , | 2 Comments

how to know which archive an emacs ELPA package is from

The buffer from M-x list-packages doesn’t display which archive each package is from. M-x describe-package doesn’t either. But there is a function for it. The function is package-archive-base. For example, I use two additional ELPA archives: (require ‘package) (add-to-list ‘package-archives … Continue reading

Posted in Emacs | Tagged , , | 2 Comments